summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormaya <maya>2016-09-17 19:32:37 +0000
committermaya <maya>2016-09-17 19:32:37 +0000
commit9f45e8e6474be9f1cc5457f5c7471c5f5c91d69a (patch)
treeacba7d5456b3f5fe4cb207b44ebd5b1aec5010b5
parentb55441ebaa8df7c234c013cb784fe0e402884f59 (diff)
downloadpkgsrc-9f45e8e6474be9f1cc5457f5c7471c5f5c91d69a.tar.gz
wine-devel: fix networking under netbsd
NetBSD has gethostbyname_r in libc, and it's incorrectly detected as being sufficiently linux-like by wine, but it likely returns different errors. force fail the configure test for linux-like gethostbyname_r, which already allows use of alternative networking functions. fixes wine bug #40865: Steam does not connect to internet bump PKGREVISION
-rw-r--r--emulators/wine-devel/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/emulators/wine-devel/Makefile b/emulators/wine-devel/Makefile
index d861e32a686..82c2780b870 100644
--- a/emulators/wine-devel/Makefile
+++ b/emulators/wine-devel/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.58 2016/09/15 09:25:53 maya Exp $
+# $NetBSD: Makefile,v 1.59 2016/09/17 19:32:37 maya Exp $
DISTNAME= wine-1.9.18
+PKGREVISION= 1
CATEGORIES= emulators
MASTER_SITES= http://ibiblio.org/pub/linux/system/emulators/wine/ \
${MASTER_SITE_SOURCEFORGE:=wine/}
@@ -53,7 +54,7 @@ PLIST_SRC= PLIST.wine32
NOT_PAX_MPROTECT_SAFE+= bin/wine
#PLIST.wine32= yes
.endif
-# Needs GCC >= 4.4; Experimental
+CONFIGURE_ARGS.NetBSD+= wine_cv_linux_gethostbyname_r_6=no
.if !empty(MACHINE_ARCH:Mx86_64)
CONFIGURE_ARGS+= --enable-win64 --libdir=${PREFIX}/lib
NOT_PAX_MPROTECT_SAFE+= bin/wine64