fix qdns, from Greg Estabrooks
okay pvalchev@
This commit is contained in:
parent
0d88196840
commit
e89f8d0a7d
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.49 2005/05/18 14:24:32 espie Exp $
|
||||
# $OpenBSD: Makefile,v 1.50 2005/08/31 22:01:09 espie Exp $
|
||||
# $FreeBSD: Makefile,v 1.33 1999/02/27 03:09:57 andreas Exp $
|
||||
|
||||
COMMENT= "C++ X11 GUI toolkit"
|
||||
@ -11,7 +11,7 @@ PKGNAME= qt3-${VERSION}
|
||||
PKGNAME-mysql= qt3-mysql-${VERSION}
|
||||
PKGNAME-postgresql= qt3-postgresql-${VERSION}
|
||||
PKGNAME-examples= qt3-examples-${VERSION}
|
||||
FULLPKGNAME= qt3-mt-${VERSION}${PKGDEBUG}p2
|
||||
FULLPKGNAME= qt3-mt-${VERSION}${PKGDEBUG}p3
|
||||
FULLPKGNAME-html= qt3-html-${VERSION}
|
||||
|
||||
VERSION= 3.4
|
||||
|
12
x11/qt3/patches/patch-src_network_qdns_cpp
Normal file
12
x11/qt3/patches/patch-src_network_qdns_cpp
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-src_network_qdns_cpp,v 1.1 2005/08/31 22:01:09 espie Exp $
|
||||
--- src/network/qdns.cpp.orig Tue Aug 30 22:22:45 2005
|
||||
+++ src/network/qdns.cpp Tue Aug 30 22:23:20 2005
|
||||
@@ -2559,7 +2559,7 @@ void QDns::doResInit()
|
||||
|
||||
if ( type == "nameserver" ) {
|
||||
QHostAddress *address = new QHostAddress();
|
||||
- if ( address->setAddress( QString(line[1]) ) ) {
|
||||
+ if ( address->setAddress( QString(list[1]) ) ) {
|
||||
// only add ipv6 addresses from resolv.conf if
|
||||
// this host supports ipv6.
|
||||
if ( address->isIPv4Address() || ipv6support )
|
Loading…
Reference in New Issue
Block a user