pkgsrc/graphics/libwmf/patches/patch-ad
adam dd1335caf2 Changes 0.2.8.4:
* 3 patches from Caolan at RedHat: remove unnecessary extra linked
	  libs; remove some warnings; rh154813 which (same redhat issuzilla
	  bug id) I theorize fixes some upsidedown wmfs.
2006-01-18 22:04:58 +00:00

22 lines
797 B
Text

$NetBSD: patch-ad,v 1.5 2006/01/18 22:04:58 adam Exp $
--- configure.orig 2005-07-27 23:47:12.000000000 +0200
+++ configure
@@ -21916,7 +21916,7 @@ else
# It would also be nice to do this for all -L options, not just this one.
if test -n "$x_libraries"; then
- X_LIBS="$X_LIBS -L$x_libraries"
+ X_LIBS="$X_LIBS -L$x_libraries -Wl,-R$x_libraries"
# For Solaris; some versions of Sun CC require a space after -R and
# others require no space. Words are not sufficient . . . .
case `(uname -sr) 2>/dev/null` in
@@ -26007,7 +26007,7 @@ echo "${ECHO_T}$GDK_PIXBUF_LIBS" >&6
GTK_VERSION=`$PKG_CONFIG --variable=gtk_binary_version gtk+-2.0`
GDK_PIXBUF_DIR="gtk-2.0/$GTK_VERSION/loaders"
- wmf_gdk_pixbuf=yes
+ wmf_gdk_pixbuf=no
else
wmf_gdk_pixbuf=no