[84618] trunk/dports/net/baresip

ryandesign at macports.org ryandesign at macports.org
Wed Sep 28 20:33:07 PDT 2011


Revision: 84618
          http://trac.macports.org/changeset/84618
Author:   ryandesign at macports.org
Date:     2011-09-28 20:33:07 -0700 (Wed, 28 Sep 2011)
Log Message:
-----------
baresip: change how the opengl module is linked to fix build on Lion; see #31440

Modified Paths:
--------------
    trunk/dports/net/baresip/Portfile

Added Paths:
-----------
    trunk/dports/net/baresip/files/
    trunk/dports/net/baresip/files/patch-modules-opengl.diff

Modified: trunk/dports/net/baresip/Portfile
===================================================================
--- trunk/dports/net/baresip/Portfile	2011-09-29 03:27:42 UTC (rev 84617)
+++ trunk/dports/net/baresip/Portfile	2011-09-29 03:33:07 UTC (rev 84618)
@@ -6,6 +6,7 @@
 
 name                baresip
 version             0.3.0
+revision            1
 categories          net
 platforms           darwin
 maintainers         db.org:aeh
@@ -59,3 +60,5 @@
     build.env-append    CC='${configure.cc} ${configure.cc_archflags}'
     destroot.env-append CC='${configure.cc} ${configure.cc_archflags}'
 }
+
+patchfiles          patch-modules-opengl.diff

Added: trunk/dports/net/baresip/files/patch-modules-opengl.diff
===================================================================
--- trunk/dports/net/baresip/files/patch-modules-opengl.diff	                        (rev 0)
+++ trunk/dports/net/baresip/files/patch-modules-opengl.diff	2011-09-29 03:33:07 UTC (rev 84618)
@@ -0,0 +1,25 @@
+Index: modules/opengl/opengl.m
+===================================================================
+--- modules/opengl/opengl.m
++++ modules/opengl/opengl.m
+@@ -4,6 +4,8 @@
+  * Copyright (C) 2010 Creytiv.com
+  */
+ #include <Cocoa/Cocoa.h>
++#include <OpenGL/gl.h>
++#include <OpenGL/glext.h>
+ #include <re.h>
+ #include <baresip.h>
+ 
+Index: modules/opengl/module.mk
+===================================================================
+--- modules/opengl/module.mk
++++ modules/opengl/module.mk
+@@ -6,6 +6,6 @@
+ 
+ MOD		:= opengl
+ $(MOD)_SRCS	+= opengl.m
+-$(MOD)_LFLAGS	+= -framework QTKit -framework CoreVideo
++$(MOD)_LFLAGS	+= -framework OpenGL -framework Cocoa -lobjc
+ 
+ include mk/mod.mk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110928/e9b4ae18/attachment.html>


More information about the macports-changes mailing list