diff options
author | fhajny <fhajny> | 2016-06-09 15:26:35 +0000 |
---|---|---|
committer | fhajny <fhajny> | 2016-06-09 15:26:35 +0000 |
commit | 19e50423432920ba452cafb3513af6e6c08db1ee (patch) | |
tree | f0e01936ce0011945df28de505cb4edefee6fb91 /emulators | |
parent | e891fa59a6e05eed9ea8ce7857698e3a8d4898b8 (diff) | |
download | pkgsrc-19e50423432920ba452cafb3513af6e6c08db1ee.tar.gz |
Uses isfinite which is C99. Fixes build on SunOS/i386.
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/wine/Makefile | 4 | ||||
-rw-r--r-- | emulators/wine/distinfo | 3 | ||||
-rw-r--r-- | emulators/wine/patches/patch-dlls_ntdll_signal__i386.c | 15 |
3 files changed, 19 insertions, 3 deletions
diff --git a/emulators/wine/Makefile b/emulators/wine/Makefile index 715c5e7adba..f3337beb2e1 100644 --- a/emulators/wine/Makefile +++ b/emulators/wine/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.191 2016/03/05 11:28:28 jperkin Exp $ +# $NetBSD: Makefile,v 1.192 2016/06/09 15:26:35 fhajny Exp $ DISTNAME= wine-1.6.2 PKGREVISION= 10 @@ -18,7 +18,7 @@ ONLY_FOR_PLATFORM+= *-*-i386 #*-*-x86_64 PKG_DESTDIR_SUPPORT= user-destdir -USE_LANGUAGES= c +USE_LANGUAGES= c c99 USE_LIBTOOL= yes USE_NCURSES= yes USE_TOOLS+= bison flex gmake mktemp msgfmt diff --git a/emulators/wine/distinfo b/emulators/wine/distinfo index 1fbe89845f1..bf348c39a67 100644 --- a/emulators/wine/distinfo +++ b/emulators/wine/distinfo @@ -1,9 +1,10 @@ -$NetBSD: distinfo,v 1.90 2015/11/03 20:31:10 agc Exp $ +$NetBSD: distinfo,v 1.91 2016/06/09 15:26:35 fhajny Exp $ SHA1 (wine-1.6.2.tar.bz2) = 574b9ccedbf213622b7ee55f715764673fc27692 RMD160 (wine-1.6.2.tar.bz2) = 7252851af5e9f748750685900c918e4fcb31c1f6 SHA512 (wine-1.6.2.tar.bz2) = 81c83566dc2cab276ab7b9cfb5edc5fbca0f003dcb78044a0197c9a4d9a05a40f9045e5b4981c9219c3c39dab52fe519ef3cb338d79ee01e1fe66e3c056e8397 Size (wine-1.6.2.tar.bz2) = 21252985 bytes SHA1 (patch-configure) = dae045a6c4d3e8a8424567ea058e48e6fa08ed26 +SHA1 (patch-dlls_ntdll_signal__i386.c) = 23028c77cda2611e5fe9c3f78dde55259d0bd6d6 SHA1 (patch-dlls_wbemprox_builtin.c) = a120531c3ac1e5eddc3c82424d96c0afae69cc7a SHA1 (patch-dlls_wineoss.drv_mmdevdrv.c) = 9ea9ad05a32b3f684f22986b227534d87c7dafe7 diff --git a/emulators/wine/patches/patch-dlls_ntdll_signal__i386.c b/emulators/wine/patches/patch-dlls_ntdll_signal__i386.c new file mode 100644 index 00000000000..9033cd8a985 --- /dev/null +++ b/emulators/wine/patches/patch-dlls_ntdll_signal__i386.c @@ -0,0 +1,15 @@ +$NetBSD: patch-dlls_ntdll_signal__i386.c,v 1.1 2016/06/09 15:26:35 fhajny Exp $ + +SunOS needs sys/regset.h for registers too. + +--- dlls/ntdll/signal_i386.c.orig 2014-01-10 20:37:29.000000000 +0000 ++++ dlls/ntdll/signal_i386.c +@@ -269,7 +269,7 @@ typedef struct sigcontext SIGCONTEXT; + + #elif defined(__svr4__) || defined(_SCO_DS) || defined(__sun) + +-#ifdef _SCO_DS ++#if defined(_SCO_DS) || defined(__sun) + #include <sys/regset.h> + #endif + #include <sys/ucontext.h> |