pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/openmotif Fix build for SunOS modular x11 (PR#36132)



details:   https://anonhg.NetBSD.org/pkgsrc/rev/714189d4de49
branches:  trunk
changeset: 400439:714189d4de49
user:      tez <tez%pkgsrc.org@localhost>
date:      Mon Oct 19 21:47:22 2009 +0000

description:
Fix build for SunOS modular x11 (PR#36132)

diffstat:

 x11/openmotif/Makefile         |   4 +++-
 x11/openmotif/distinfo         |   3 ++-
 x11/openmotif/patches/patch-bn |  11 +++++++++++
 3 files changed, 16 insertions(+), 2 deletions(-)

diffs (47 lines):

diff -r ad16b2a8b5cb -r 714189d4de49 x11/openmotif/Makefile
--- a/x11/openmotif/Makefile    Mon Oct 19 21:38:46 2009 +0000
+++ b/x11/openmotif/Makefile    Mon Oct 19 21:47:22 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.60 2009/06/30 00:42:01 joerg Exp $
+# $NetBSD: Makefile,v 1.61 2009/10/19 21:47:22 tez Exp $
 
 PKGVER=                2.3.1
 DISTNAME=      openmotif-${PKGVER}
@@ -55,6 +55,8 @@
 .if ${OPSYS} == "NetBSD"
 CONFIGURE_ENV+=                ac_cv_func_setpgrp_void=no
 .endif
+CONFIGURE_ARGS+=       --enable-xft
+CFLAGS.SunOS+=         -D_POSIX_PTHREAD_SEMANTICS
 
 .if !empty(USE_CROSS_COMPILE:M[yY][eE][sS])
 MAKE_FLAGS+=   CROSS_COMPILING=yes CC_FOR_BUILD=${NATIVE_CC:Q} \
diff -r ad16b2a8b5cb -r 714189d4de49 x11/openmotif/distinfo
--- a/x11/openmotif/distinfo    Mon Oct 19 21:38:46 2009 +0000
+++ b/x11/openmotif/distinfo    Mon Oct 19 21:47:22 2009 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.26 2008/07/14 23:01:32 christos Exp $
+$NetBSD: distinfo,v 1.27 2009/10/19 21:47:22 tez Exp $
 
 SHA1 (openmotif-2.3.1.tar.gz) = 7132493712111e6846deda241137f28a957b5878
 RMD160 (openmotif-2.3.1.tar.gz) = 8fe6f41a8b75636d9211d34cae96d47a7ed10ade
@@ -16,3 +16,4 @@
 SHA1 (patch-bj) = 87abfdc6593d3b4ba3c7a76c84c54522ad7a044b
 SHA1 (patch-bl) = 905bec86af6d8d139faa2ca185adf3e8b58c1dea
 SHA1 (patch-bm) = 0e1aaf8b9a474a43e1382caa09b2ac9050f3505c
+SHA1 (patch-bn) = c794756e1d113dd8d77054837764052b2696214c
diff -r ad16b2a8b5cb -r 714189d4de49 x11/openmotif/patches/patch-bn
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/openmotif/patches/patch-bn    Mon Oct 19 21:47:22 2009 +0000
@@ -0,0 +1,11 @@
+--- lib/Xm/XmIm.c.orig Tue Dec 16 11:40:22 2008
++++ lib/Xm/XmIm.c      Tue Dec 16 11:43:36 2008
+@@ -79,7 +79,7 @@
+     work quite right/or is poorly documented and i cant get it to
+     work.
+ */
+-#if defined(sun)
++#if defined(sun) && !defined(XlibSpecificationRelease)
+ typedef Bool (*XICProc)( XIC, XPointer, XPointer);
+ #endif
+ 



Home | Main Index | Thread Index | Old Index