summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-libs/gtk-canvas/files/0.1.1-as-needed.patch')
-rw-r--r--x11-libs/gtk-canvas/files/0.1.1-as-needed.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/x11-libs/gtk-canvas/files/0.1.1-as-needed.patch b/x11-libs/gtk-canvas/files/0.1.1-as-needed.patch
new file mode 100644
index 000000000000..61bbe766eb46
--- /dev/null
+++ b/x11-libs/gtk-canvas/files/0.1.1-as-needed.patch
@@ -0,0 +1,22 @@
+diff -urN gtk-canvas-0.1.1.orig/configure.in gtk-canvas-0.1.1/configure.in
+--- gtk-canvas-0.1.1.orig/configure.in 2007-05-28 23:15:22.000000000 -0700
++++ gtk-canvas-0.1.1/configure.in 2007-05-29 00:15:22.000000000 -0700
+@@ -236,6 +236,7 @@
+ dnl Substitutions
+ dnl
+
++AC_SUBST(ART_LIBS)
+ AC_SUBST(GTK_LIBS)
+ AC_SUBST(GTK_CANVAS_LIBS)
+ AC_SUBST(GTK_CANVAS_LIBDIR)
+diff -urN gtk-canvas-0.1.1.orig/gtk-canvas/Makefile.am gtk-canvas-0.1.1/gtk-canvas/Makefile.am
+--- gtk-canvas-0.1.1.orig/gtk-canvas/Makefile.am 2007-05-28 23:15:22.000000000 -0700
++++ gtk-canvas-0.1.1/gtk-canvas/Makefile.am 2007-05-28 23:15:43.000000000 -0700
+@@ -98,5 +98,5 @@
+ gtk-canvastypebuiltins_evals.c
+
+ libgtk_canvas_la_LDFLAGS = -version-info 1:1:0 -rpath $(libdir)
+-libgtk_canvas_la_LIBADD = $(LIBGTK_CANVAS_LIBS)
+-
++libgtk_canvas_la_LIBADD = $(LIBGTK_CANVAS_LIBS) \
++ $(ART_LIBS)