summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2006-09-26 17:32:18 +0000
committerFabian Groffen <grobian@gentoo.org>2006-09-26 17:32:18 +0000
commitaf104f8d713423b1772e68ce2e67722dd119c597 (patch)
tree5966702efe24cc656f5046a7df53e501caa92873 /media-gfx/graphviz/files
parentMasking sys-devel/gcc-4* on uclibc/hardened/x86. (diff)
downloadgentoo-2-af104f8d713423b1772e68ce2e67722dd119c597.tar.gz
gentoo-2-af104f8d713423b1772e68ce2e67722dd119c597.tar.bz2
gentoo-2-af104f8d713423b1772e68ce2e67722dd119c597.zip
Drop ppc-macos from 2.8 series as we don't have swig keyworded
(Portage version: 2.1.1)
Diffstat (limited to 'media-gfx/graphviz/files')
-rw-r--r--media-gfx/graphviz/files/graphviz-2.6-macos.patch54
1 files changed, 51 insertions, 3 deletions
diff --git a/media-gfx/graphviz/files/graphviz-2.6-macos.patch b/media-gfx/graphviz/files/graphviz-2.6-macos.patch
index e42d31f12170..ad95dd9ba7f4 100644
--- a/media-gfx/graphviz/files/graphviz-2.6-macos.patch
+++ b/media-gfx/graphviz/files/graphviz-2.6-macos.patch
@@ -1,6 +1,5 @@
-diff -Naur graphviz-2.6-orig/lib/ast/pathpath.c graphviz-2.6/lib/ast/pathpath.c
---- graphviz-2.6-orig/lib/ast/pathpath.c 2005-10-30 15:15:30.000000000 +0100
-+++ graphviz-2.6/lib/ast/pathpath.c 2005-10-30 15:16:20.000000000 +0100
+--- lib/ast/pathpath.c
++++ lib/ast/pathpath.c
@@ -33,7 +33,12 @@
#include <unistd.h>
@@ -14,3 +13,52 @@ diff -Naur graphviz-2.6-orig/lib/ast/pathpath.c graphviz-2.6/lib/ast/pathpath.c
char **opt_info_argv;
char *pathpath(register char *path, const char *p, const char *a, int mode)
+--- lib/expr/Makefile.in
++++ lib/expr/Makefile.in
+@@ -362,7 +362,11 @@
+ pkglib_LTLIBRARIES = libexpr.la
+ man_MANS = expr.3
+ pdf_DATA = expr.pdf
++ifeq ($(host_os),darwin)
++libexpr_la_LDFLAGS = -version-info @VERSION_INFO@
++else
+ libexpr_la_LDFLAGS = -version-info @VERSION_INFO@ -no-undefined
++endif
+ libexpr_la_SOURCES = excc.c excontext.c exdata.c exerror.c \
+ exeval.c exexpr.c exlexname.c exopen.c exrewind.c extoken.c \
+ extype.c exzero.c exparse.y
+--- lib/plugin/Makefile.in
++++ lib/plugin/Makefile.in
+@@ -370,7 +370,13 @@
+ libgvplugin_dot_layout.la \
+ libgvplugin_usershape_gd.la
+
+-libgvplugin_neato_layout_la_LDFLAGS = -version-info @VERSION_INFO@ -no-undefined
++ifneq ($(host_os),darwin)
++EXTRALDFLAGS="-no_undefined"
++else
++EXTRALDFLAGS=""
++endif
++
++libgvplugin_neato_layout_la_LDFLAGS = -version-info @VERSION_INFO@ $(EXTRALDFLAGS)
+ libgvplugin_neato_layout_la_SOURCES = \
+ gvplugin_neato_layout.c \
+ gvlayout_neato_layout.c
+@@ -384,7 +390,7 @@
+ $(top_builddir)/lib/pack/libpack.la \
+ $(top_builddir)/lib/gvc/libgvc.la
+
+-libgvplugin_dot_layout_la_LDFLAGS = -version-info @VERSION_INFO@ -no-undefined
++libgvplugin_dot_layout_la_LDFLAGS = -version-info @VERSION_INFO@ $(EXTRALDFLAGS)
+ libgvplugin_dot_layout_la_SOURCES = \
+ gvplugin_dot_layout.c \
+ gvlayout_dot_layout.c
+@@ -394,7 +400,7 @@
+ $(top_builddir)/lib/pathplan/libpathplan.la \
+ $(top_builddir)/lib/gvc/libgvc.la
+
+-libgvplugin_usershape_gd_la_LDFLAGS = -version-info @VERSION_INFO@ -no-undefined
++libgvplugin_usershape_gd_la_LDFLAGS = -version-info @VERSION_INFO@ $(EXTRALDFLAGS)
+ libgvplugin_usershape_gd_la_SOURCES = \
+ gvplugin_usershape_gd.c \
+ gvusershape_gd.c