Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/10.4-EOL/x11 In directory vz-cvs-3.sog:/tmp/cvs-serv24359/10.4-EOL/x11
Modified Files: openmotif4.info openmotif4.patch Log Message: updates/patch to build on Lion, still validates on 10.4 Index: openmotif4.info =================================================================== RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/10.4-EOL/x11/openmotif4.info,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- openmotif4.info 11 Jul 2011 04:05:51 -0000 1.1 +++ openmotif4.info 15 Jul 2011 17:48:15 -0000 1.2 @@ -1,11 +1,11 @@ Package: openmotif4 Version: 2.3.2 -Revision: 2 +Revision: 3 #Source: ftp://ftp.ics.com/openmotif/2.3/%v/openmotif-%v.tar.gz Source: http://www.motifzone.net/files/public_downloads/openmotif/2.3/%v/openmotif-%v.tar.gz Source-MD5: bf5479d52bc114d299200ec20e463e96 PatchFile: %n.patch -PatchFile-MD5: c6f0feb0b5d8ddb90b38cbb149fc9d41 +PatchFile-MD5: 717492a63f8ad51d716f08d46a756a9b PatchScript: << patch -p1 < %{PatchFile} perl -pi.bak -e 's,-flat_namespace -undefined suppress,-undefined dynamic_lookup,g' configure @@ -106,4 +106,4 @@ << License: Restrictive/Distributable Homepage: http://www.opengroup.org/openmotif/ -Maintainer: None <fink-de...@lists.sourceforge.net> +Maintainer: Jack Howarth <howa...@bromo.med.uc.edu> Index: openmotif4.patch =================================================================== RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/10.4-EOL/x11/openmotif4.patch,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- openmotif4.patch 11 Jul 2011 04:05:51 -0000 1.1 +++ openmotif4.patch 15 Jul 2011 17:48:15 -0000 1.2 @@ -725,3 +725,24 @@ xim_info->current_xics = XUniqueContext(); (void) XSaveContext(XtDisplay(widget), (XID) widget, xim_info->current_xics, (XPointer) xic_info); +--- openmotif-2.3.2/lib/Xm/XmP.h 2005-11-14 09:38:28.000000000 -0500 ++++ openmotif-2.3.2.patched/lib/Xm/XmP.h 2011-07-15 12:08:06.000000000 -0400 +@@ -1455,12 +1455,15 @@ + + #endif /* NO_XM_1_2_BC */ + +-#if __GNUC__ ++#ifdef __GNUC__ + # define XM_DEPRECATED __attribute__((__deprecated__)) +-# define XM_ALIAS(sym) __attribute__((__weak__,alias(#sym))) ++# ifndef __APPLE__ ++# define XM_ALIAS(sym) __attribute__((__weak__,alias(#sym))) ++# else ++# define XM_ALIAS(sym) ++# endif + #else + # define XM_DEPRECATED +-# define XM_ALIAS(sym) + #endif + + #endif /* _XmP_h */ ------------------------------------------------------------------------------ AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on "Lean Startup Secrets Revealed." This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.cvs