[31451] trunk/dports/gnome/inkscape

takanori at macports.org takanori at macports.org
Sat Nov 24 06:35:56 PST 2007


Revision: 31451
          http://trac.macosforge.org/projects/macports/changeset/31451
Author:   takanori at macports.org
Date:     2007-11-24 06:35:55 -0800 (Sat, 24 Nov 2007)

Log Message:
-----------
inkscape: Allow building on Leopard.
Ticket:	  	#13213
Submitted by:	tomaz.solc at tablix dot org

Modified Paths:
--------------
    trunk/dports/gnome/inkscape/Portfile

Added Paths:
-----------
    trunk/dports/gnome/inkscape/files/patch-configure.diff
    trunk/dports/gnome/inkscape/files/patch-src_conn-avoid-ref.cpp.diff
    trunk/dports/gnome/inkscape/files/patch-src_extension_script_inkscape_py_wrap.cpp.diff

Removed Paths:
-------------
    trunk/dports/gnome/inkscape/files/patch-configure

Modified: trunk/dports/gnome/inkscape/Portfile
===================================================================
--- trunk/dports/gnome/inkscape/Portfile	2007-11-24 13:07:14 UTC (rev 31450)
+++ trunk/dports/gnome/inkscape/Portfile	2007-11-24 14:35:55 UTC (rev 31451)
@@ -34,7 +34,9 @@
 		port:py25-xml \
 		port:libcroco
 
-patchfiles	patch-configure
+patchfiles	patch-configure.diff \
+		patch-src_conn-avoid-ref.cpp.diff \
+		patch-src_extension_script_inkscape_py_wrap.cpp.diff
 
 configure.args	\
 	--mandir=${prefix}/share/man \

Deleted: trunk/dports/gnome/inkscape/files/patch-configure
===================================================================
--- trunk/dports/gnome/inkscape/files/patch-configure	2007-11-24 13:07:14 UTC (rev 31450)
+++ trunk/dports/gnome/inkscape/files/patch-configure	2007-11-24 14:35:55 UTC (rev 31451)
@@ -1,11 +0,0 @@
---- configure.orig	2007-02-19 22:01:46.000000000 -0500
-+++ configure	2007-02-19 22:10:26.000000000 -0500
-@@ -10769,7 +10769,7 @@
-     if test "$?" -gt "0"; then
-         with_python="no"
-     else
--        checkPYTHON_LIBS=`python -c "import distutils.sysconfig ; print '%s/%s %s' % (distutils.sysconfig.get_config_var('LIBPL'),distutils.sysconfig.get_config_var('LDLIBRARY'),distutils.sysconfig.get_config_var('LIBS'))" 2>/dev/null`
-+        checkPYTHON_LIBS="-lpython"
-         if test "$?" -gt "0"; then
-             with_python="no"
-         else

Copied: trunk/dports/gnome/inkscape/files/patch-configure.diff (from rev 31281, trunk/dports/gnome/inkscape/files/patch-configure)
===================================================================
--- trunk/dports/gnome/inkscape/files/patch-configure.diff	                        (rev 0)
+++ trunk/dports/gnome/inkscape/files/patch-configure.diff	2007-11-24 14:35:55 UTC (rev 31451)
@@ -0,0 +1,11 @@
+--- configure.orig	2007-02-19 22:01:46.000000000 -0500
++++ configure	2007-02-19 22:10:26.000000000 -0500
+@@ -10769,7 +10769,7 @@
+     if test "$?" -gt "0"; then
+         with_python="no"
+     else
+-        checkPYTHON_LIBS=`python -c "import distutils.sysconfig ; print '%s/%s %s' % (distutils.sysconfig.get_config_var('LIBPL'),distutils.sysconfig.get_config_var('LDLIBRARY'),distutils.sysconfig.get_config_var('LIBS'))" 2>/dev/null`
++        checkPYTHON_LIBS="-lpython"
+         if test "$?" -gt "0"; then
+             with_python="no"
+         else

Added: trunk/dports/gnome/inkscape/files/patch-src_conn-avoid-ref.cpp.diff
===================================================================
--- trunk/dports/gnome/inkscape/files/patch-src_conn-avoid-ref.cpp.diff	                        (rev 0)
+++ trunk/dports/gnome/inkscape/files/patch-src_conn-avoid-ref.cpp.diff	2007-11-24 14:35:55 UTC (rev 31451)
@@ -0,0 +1,11 @@
+--- src/conn-avoid-ref.cpp.orig	2007-11-17 15:44:39.000000000 +0000
++++ src/conn-avoid-ref.cpp	2007-11-17 15:44:50.000000000 +0000
+@@ -17,7 +17,7 @@
+ #include "libavoid/polyutil.h"
+ #include "libavoid/router.h"
+ #include "libavoid/connector.h"
+-#include "xml/simple-node.cpp"
++#include "xml/simple-node.h"
+ #include "document.h"
+ #include "prefs-utils.h"
+ 

Added: trunk/dports/gnome/inkscape/files/patch-src_extension_script_inkscape_py_wrap.cpp.diff
===================================================================
--- trunk/dports/gnome/inkscape/files/patch-src_extension_script_inkscape_py_wrap.cpp.diff	                        (rev 0)
+++ trunk/dports/gnome/inkscape/files/patch-src_extension_script_inkscape_py_wrap.cpp.diff	2007-11-24 14:35:55 UTC (rev 31451)
@@ -0,0 +1,20 @@
+--- src/extension/script/inkscape_py_wrap.cpp.orig	2007-11-17 14:23:29.000000000 +0000
++++ src/extension/script/inkscape_py_wrap.cpp	2007-01-16 02:45:24.000000000 +0000
+@@ -802,7 +802,7 @@
+     obj = pyobj;
+     if (PyCFunction_Check(obj)) {
+       /* here we get the method pointer for callbacks */
+-      char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
++      char *doc = (char *) (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
+       c = doc ? strstr(doc, "swig_ptr: ") : 0;
+       if (c) {
+ 	c += 10;
+@@ -977,7 +977,7 @@
+ 		       swig_type_info **types_initial) {
+   int i;
+   for (i = 0; methods[i].ml_name; ++i) {
+-    char *c = methods[i].ml_doc;
++    char *c = (char *) methods[i].ml_doc;
+     if (c && (c = strstr(c, "swig_ptr: "))) {
+       int j;
+       swig_const_info *ci = 0;

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071124/8296cc14/attachment.html


More information about the macports-changes mailing list