summaryrefslogtreecommitdiff
path: root/wm/metacity/patches
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2004-02-12 11:13:39 +0000
committerjmmv <jmmv@pkgsrc.org>2004-02-12 11:13:39 +0000
commit367b3555915fb66c429a1d1a8294297f9678aba0 (patch)
tree1df1907bd538c67a9d3cf2791463f208e84c6e14 /wm/metacity/patches
parent3ad808cdbf578f596718766079e5e58250b9ad44 (diff)
downloadpkgsrc-367b3555915fb66c429a1d1a8294297f9678aba0.tar.gz
Only use Xinerama if it is available as a shared library. Using only the
static one means that libnautilus-private won't be built, breaking this (and other) packages. Patch tested by wiz@.
Diffstat (limited to 'wm/metacity/patches')
-rw-r--r--wm/metacity/patches/patch-aa20
1 files changed, 20 insertions, 0 deletions
diff --git a/wm/metacity/patches/patch-aa b/wm/metacity/patches/patch-aa
new file mode 100644
index 00000000000..f04f1c95b24
--- /dev/null
+++ b/wm/metacity/patches/patch-aa
@@ -0,0 +1,20 @@
+$NetBSD: patch-aa,v 1.3 2004/02/12 11:13:39 jmmv Exp $
+
+--- configure.orig 2003-10-28 01:38:32.000000000 +0100
++++ configure
+@@ -24482,6 +24482,7 @@ ALL_X_LIBS="$X_LIBS $X_PRE_LIBS -lX11 $X
+ metacity_save_cppflags="$CPPFLAGS"
+ CPPFLAGS="$CPPFLAGS $X_CFLAGS"
+
++if test "${USE_XINERAMA}" != no; then
+ use_solaris_xinerama=no
+ use_xfree_xinerama=no
+ case "$host" in
+@@ -24740,6 +24741,7 @@ echo $ECHO_N "checking for Xinerama supp
+ echo "${ECHO_T}$use_xfree_xinerama" >&6;
+ ;;
+ esac
++fi
+
+ CPPFLAGS="$metacity_save_cppflags"
+