From e89f8d0a7d88f0f63b715a74aedbff3b83898ffb Mon Sep 17 00:00:00 2001 From: espie Date: Wed, 31 Aug 2005 22:01:09 +0000 Subject: [PATCH] fix qdns, from Greg Estabrooks okay pvalchev@ --- x11/qt3/Makefile | 4 ++-- x11/qt3/patches/patch-src_network_qdns_cpp | 12 ++++++++++++ 2 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 x11/qt3/patches/patch-src_network_qdns_cpp diff --git a/x11/qt3/Makefile b/x11/qt3/Makefile index 3df6f249716..ec56195e022 100644 --- a/x11/qt3/Makefile +++ b/x11/qt3/Makefile @@ -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 diff --git a/x11/qt3/patches/patch-src_network_qdns_cpp b/x11/qt3/patches/patch-src_network_qdns_cpp new file mode 100644 index 00000000000..f36cbbb46f1 --- /dev/null +++ b/x11/qt3/patches/patch-src_network_qdns_cpp @@ -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 )