summaryrefslogtreecommitdiff
path: root/x11/liboldXrandr/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'x11/liboldXrandr/patches/patch-aa')
-rw-r--r--x11/liboldXrandr/patches/patch-aa17
1 files changed, 17 insertions, 0 deletions
diff --git a/x11/liboldXrandr/patches/patch-aa b/x11/liboldXrandr/patches/patch-aa
new file mode 100644
index 00000000000..6b1e2f66601
--- /dev/null
+++ b/x11/liboldXrandr/patches/patch-aa
@@ -0,0 +1,17 @@
+$NetBSD: patch-aa,v 1.1 2007/05/30 01:22:13 schmonz Exp $
+
+--- configure.orig 2003-12-04 18:33:43.000000000 +0100
++++ configure
+@@ -19967,9 +19967,9 @@ echo "${ECHO_T}$RANDR_LIBS" >&6
+ if test $succeeded = yes; then
+ :
+ else
+- { { echo "$as_me:$LINENO: error: Library requirements (randr >= $RANDR_VERSION xext xrender) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
+-echo "$as_me: error: Library requirements (randr >= $RANDR_VERSION xext xrender) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
+- { (exit 1); exit 1; }; }
++ RANDR_CFLAGS="$CFLAGS"
++ RANDR_LIBS="$LDFLAGS"
++ X_LIBS="-lXrender -lXext $X_LIBS"
+ fi
+
+