summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-libs/libXrandr/files/fix_shadow_manpages.patch')
-rw-r--r--x11-libs/libXrandr/files/fix_shadow_manpages.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/x11-libs/libXrandr/files/fix_shadow_manpages.patch b/x11-libs/libXrandr/files/fix_shadow_manpages.patch
new file mode 100644
index 000000000000..c1c556a02b68
--- /dev/null
+++ b/x11-libs/libXrandr/files/fix_shadow_manpages.patch
@@ -0,0 +1,19 @@
+diff -u -r1.7 -r1.8
+--- man/Makefile.am 2005/12/06 22:48:44 1.7
++++ man/Makefile.am 2006/02/12 18:19:22 1.8
+@@ -27,6 +27,8 @@
+
+ libmandir = $(LIB_MAN_DIR)
+
++LIB_MAN_DIR_SUFFIX = $(LIB_MAN_DIR:@mandir@/man%=%)
++
+ libman_PRE = Xrandr.man
+
+ libman_DATA = $(libman_PRE:man=@LIB_MAN_SUFFIX@) \
+@@ -76,5 +78,5 @@
+ shadows.DONE:
+ -rm -f $(Xrandr_shadows:=.@LIB_MAN_SUFFIX@)
+ (for i in $(Xrandr_shadows:=.@LIB_MAN_SUFFIX@) ; do \
+- echo .so man$(LIB_MAN_SUFFIX)/Xrandr.$(LIB_MAN_SUFFIX) > $$i; \
++ echo .so man$(LIB_MAN_DIR_SUFFIX)/Xrandr.$(LIB_MAN_SUFFIX) > $$i; \
+ done)