pkgsrc-Bugs archive

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

pkg/36132: x11/openmotif Solaris Xorg modular



>Number:         36132
>Category:       pkg
>Synopsis:       x11/openmotif Solaris Xorg modular
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Apr 10 14:10:00 +0000 2007
>Originator:     Gilles Dauphin
>Release:        SunOS 5.10 i86pc
>Organization:
ENST 
>Environment:


System: SunOS bi.enst.fr 5.10 Generic_118855-19 i86pc


>Description:


you can't compile openmotif in solaris
neither with X11_TYPE native or modular.
at least the suggested patch compile openmotif for X11_TYPE=modular


>How-To-Repeat:


bmake


>Fix:


two patches:
--- /usr/pkgsrc/x11/openmotif/Makefile.orig     Mon Dec 18 12:27:09 2006
+++ /usr/pkgsrc/x11/openmotif/Makefile  Tue Apr 10 15:20:13 2007
@@ -41,6 +41,7 @@
 USE_LIBTOOL=           yes
 USE_TOOLS+=            flex gmake tbl
 GNU_CONFIGURE=         yes
+CFLAGS.SunOS+=         -D_POSIX_PTHREAD_SEMANTICS
 
 SUBST_CLASSES+=                        man_rename
 SUBST_STAGE.man_rename=                pre-configure
--- lib/Xm/XmIm.c.orig  Fri Aug 15 10:59:39 2003
+++ lib/Xm/XmIm.c       Tue Apr 10 15:48:36 2007
@@ -79,9 +79,11 @@
     work quite right/or is poorly documented and i cant get it to
     work.
 */
-#if defined(sun)
-typedef Bool (*XICProc)( XIC, XPointer, XPointer);
-#endif
+/* compiling with pkgsrc and X11R7.0 that's right */
+/* #if defined(sun)
+/* typedef Bool (*XICProc)( XIC, XPointer, XPointer);
+/* #endif
+ */
 
 /* Data structures:
  *     While multiple XIMs are not currently supported, some thought






Home | Main Index | Thread Index | Old Index