[91180] trunk/dports/devel/glib1
jeremyhu at macports.org
jeremyhu at macports.org
Sun Mar 25 01:13:26 PDT 2012
Revision: 91180
https://trac.macports.org/changeset/91180
Author: jeremyhu at macports.org
Date: 2012-03-25 01:13:25 -0700 (Sun, 25 Mar 2012)
Log Message:
-----------
glib1: Fix G_INLINE_FUNC, #32561
Modified Paths:
--------------
trunk/dports/devel/glib1/Portfile
Added Paths:
-----------
trunk/dports/devel/glib1/files/inline.patch
Modified: trunk/dports/devel/glib1/Portfile
===================================================================
--- trunk/dports/devel/glib1/Portfile 2012-03-25 08:01:20 UTC (rev 91179)
+++ trunk/dports/devel/glib1/Portfile 2012-03-25 08:13:25 UTC (rev 91180)
@@ -5,7 +5,7 @@
name glib1
version 1.2.10
-revision 6
+revision 7
categories devel
license LGPL
maintainers nomaintainer
@@ -54,7 +54,8 @@
patch-gmain.c \
patch-glib.h \
patch-gutils.c \
- patch-glib.m4
+ patch-glib.m4 \
+ inline.patch
post-patch {
file copy -force ${distpath}/ltconfig13 ${worksrcpath}/ltconfig
@@ -63,10 +64,6 @@
system -W ${worksrcpath} "patch -p0 < ${filespath}/patch-ltmain.sh.diff"
}
-if {${configure.compiler} == "clang"} {
- configure.compiler llvm-gcc-4.2
-}
-
configure.ccache no
configure.ldflags-delete -L${prefix}/lib
Added: trunk/dports/devel/glib1/files/inline.patch
===================================================================
--- trunk/dports/devel/glib1/files/inline.patch (rev 0)
+++ trunk/dports/devel/glib1/files/inline.patch 2012-03-25 08:13:25 UTC (rev 91180)
@@ -0,0 +1,11 @@
+--- glib.h.orig 2012-03-25 01:06:36.000000000 -0700
++++ glib.h 2012-03-25 01:11:14.000000000 -0700
+@@ -204,7 +204,7 @@ extern "C" {
+ #ifndef G_INLINE_FUNC
+ # ifdef __GNUC__
+ # ifdef __OPTIMIZE__
+-# define G_INLINE_FUNC extern inline
++# define G_INLINE_FUNC static __inline __attribute__ ((unused))
+ # else
+ # undef G_CAN_INLINE
+ # define G_INLINE_FUNC extern
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120325/ebbf0728/attachment-0001.html>
More information about the macports-changes
mailing list