pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/emulators/wine-devel



Module Name:    pkgsrc
Committed By:   maya
Date:           Sun Sep 18 15:02:43 UTC 2016

Modified Files:
        pkgsrc/emulators/wine-devel: Makefile

Log Message:
wine-devel: don't crash at runtime when multithreaded programs
try to use networking code under NetBSD.

netbsd won't let you manipulate _res in a multithreaded program and
instead calls abort(). avoid the code that does this for now.

it's possible that it broke the ability to resolve domains and I
didn't see this yet - but I'm able to use network programs now.

bump PKGREVISION


To generate a diff of this commit:
cvs rdiff -u -r1.59 -r1.60 pkgsrc/emulators/wine-devel/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/emulators/wine-devel/Makefile
diff -u pkgsrc/emulators/wine-devel/Makefile:1.59 pkgsrc/emulators/wine-devel/Makefile:1.60
--- pkgsrc/emulators/wine-devel/Makefile:1.59   Sat Sep 17 19:32:37 2016
+++ pkgsrc/emulators/wine-devel/Makefile        Sun Sep 18 15:02:43 2016
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.59 2016/09/17 19:32:37 maya Exp $
+# $NetBSD: Makefile,v 1.60 2016/09/18 15:02:43 maya Exp $
 
 DISTNAME=      wine-1.9.18
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    emulators
 MASTER_SITES=  http://ibiblio.org/pub/linux/system/emulators/wine/ \
                ${MASTER_SITE_SOURCEFORGE:=wine/}
@@ -54,7 +54,13 @@ PLIST_SRC=   PLIST.wine32
 NOT_PAX_MPROTECT_SAFE+=        bin/wine
 #PLIST.wine32=         yes
 .endif
+# Avoid using gethostbyname_r in netbsd, it's not
+# linux-like
 CONFIGURE_ARGS.NetBSD+=                wine_cv_linux_gethostbyname_r_6=no
+# NetBSD doesn't allow manipulation of _res by
+# multithreaded programs. avoid its use, networking
+# still works fine.
+CONFIGURE_ARGS.NetBSD+=                ac_cv_header_resolv_h=no
 .if !empty(MACHINE_ARCH:Mx86_64)
 CONFIGURE_ARGS+=       --enable-win64 --libdir=${PREFIX}/lib
 NOT_PAX_MPROTECT_SAFE+=        bin/wine64



Home | Main Index | Thread Index | Old Index