diff options
author | jperkin <jperkin@pkgsrc.org> | 2014-08-21 15:52:00 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2014-08-21 15:52:00 +0000 |
commit | 0cfadd23efdbc70a71cca8ee96c28f827cdbf7a2 (patch) | |
tree | e2149e7f68114c18b987e74a0d0065e6339811b4 /x11/wdm | |
parent | 66a6f45a9db0634975f9c816fa39b8ae55cf1a28 (diff) | |
download | pkgsrc-0cfadd23efdbc70a71cca8ee96c28f827cdbf7a2.tar.gz |
Fix build on SunOS (needs explicit -lintl -lresolv, handle no sigsetmask()).
Diffstat (limited to 'x11/wdm')
-rw-r--r-- | x11/wdm/Makefile | 3 | ||||
-rw-r--r-- | x11/wdm/distinfo | 3 | ||||
-rw-r--r-- | x11/wdm/patches/patch-src_wdm_util.c | 18 |
3 files changed, 22 insertions, 2 deletions
diff --git a/x11/wdm/Makefile b/x11/wdm/Makefile index 0e493e0f78e..206fb2d2825 100644 --- a/x11/wdm/Makefile +++ b/x11/wdm/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.58 2014/05/31 15:56:28 wiz Exp $ +# $NetBSD: Makefile,v 1.59 2014/08/21 15:52:00 jperkin Exp $ DISTNAME= wdm-1.28 PKGREVISION= 18 @@ -15,6 +15,7 @@ USE_PKGLOCALEDIR= YES GNU_CONFIGURE= YES LDFLAGS.DragonFly= -lintl -lfontconfig +LDFLAGS.SunOS+= -lintl -lresolv CONFIGURE_ARGS+= --with-wdmdir=${PKG_SYSCONFDIR:Q} CONFIGURE_ARGS+= --with-nlsdir=${PREFIX}/${PKGLOCALEDIR}/locale diff --git a/x11/wdm/distinfo b/x11/wdm/distinfo index 2aaa4acf519..e9d0c1a18c5 100644 --- a/x11/wdm/distinfo +++ b/x11/wdm/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.9 2008/01/05 20:52:17 rillig Exp $ +$NetBSD: distinfo,v 1.10 2014/08/21 15:52:00 jperkin Exp $ SHA1 (wdm-1.28.tar.gz) = eb806c5057bc69452547e4c78813e00f91bebe3b RMD160 (wdm-1.28.tar.gz) = c64d604e7f2fad68a298fb4fe0e655b1aa3a7b3b Size (wdm-1.28.tar.gz) = 409544 bytes SHA1 (patch-aa) = 7dc96ecf4d8e492bec54c5e6f2b9e5d6ec651103 SHA1 (patch-ab) = 0a63e3b18aa002ece5c9f63ce6dbcdd9e0dbdb03 +SHA1 (patch-src_wdm_util.c) = 51c22f471d6e9cdde1fd4cb1cd06b11974529628 diff --git a/x11/wdm/patches/patch-src_wdm_util.c b/x11/wdm/patches/patch-src_wdm_util.c new file mode 100644 index 00000000000..595bfa84bbf --- /dev/null +++ b/x11/wdm/patches/patch-src_wdm_util.c @@ -0,0 +1,18 @@ +$NetBSD: patch-src_wdm_util.c,v 1.1 2014/08/21 15:52:00 jperkin Exp $ + +Fix build on systems with no sigsetmask(). + +--- src/wdm/util.c.orig 2005-03-26 13:57:04.000000000 +0000 ++++ src/wdm/util.c +@@ -114,7 +114,11 @@ CleanUpChild (void) + setsid(); + #else + setpgid (0, getpid ()); ++# ifndef X_NOT_POSIX ++ sigprocmask(SIG_SETMASK, 0, (sigset_t *)NULL); ++# else + sigsetmask (0); ++# endif + #endif + #ifdef SIGCHLD + (void) Signal (SIGCHLD, SIG_DFL); |