diff options
Diffstat (limited to 'x11/liboldXrandr/patches')
-rw-r--r-- | x11/liboldXrandr/patches/patch-aa | 17 | ||||
-rw-r--r-- | x11/liboldXrandr/patches/patch-ab | 16 |
2 files changed, 33 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 + + diff --git a/x11/liboldXrandr/patches/patch-ab b/x11/liboldXrandr/patches/patch-ab new file mode 100644 index 00000000000..979bf811c46 --- /dev/null +++ b/x11/liboldXrandr/patches/patch-ab @@ -0,0 +1,16 @@ +$NetBSD: patch-ab,v 1.1 2007/05/30 01:22:13 schmonz Exp $ + +--- Xrandr.c.orig 2003-05-28 00:26:42.000000000 +0200 ++++ Xrandr.c +@@ -27,10 +27,9 @@ + #include <stdio.h> + #include <X11/Xlib.h> + /* we need to be able to manipulate the Display structure on events */ +-#include <X11/Xlibint.h> ++#include "Xrandrint.h" + #include <X11/extensions/render.h> + #include <X11/extensions/Xrender.h> +-#include "Xrandrint.h" + + XExtensionInfo XRRExtensionInfo; + char XRRExtensionName[] = RANDR_NAME; |