fix qdns, from Greg Estabrooks

okay pvalchev@
This commit is contained in:
espie 2005-08-31 22:01:09 +00:00
parent 0d88196840
commit e89f8d0a7d
2 changed files with 14 additions and 2 deletions

View File

@ -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

View 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 )