aboutsummaryrefslogtreecommitdiffstats
path: root/packages/feh/feh-1.2.6/cross.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/feh/feh-1.2.6/cross.patch')
-rw-r--r--packages/feh/feh-1.2.6/cross.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/packages/feh/feh-1.2.6/cross.patch b/packages/feh/feh-1.2.6/cross.patch
index e69de29bb2..0117ced81d 100644
--- a/packages/feh/feh-1.2.6/cross.patch
+++ b/packages/feh/feh-1.2.6/cross.patch
@@ -0,0 +1,31 @@
+
+#
+# Patch managed by http://www.holgerschurig.de/patcher.html
+#
+
+--- feh-1.2.6/./src/Makefile.am~cross
++++ feh-1.2.6/./src/Makefile.am
+@@ -2,8 +2,7 @@
+ MAINTAINERCLEANFILES = Makefile.in
+
+ LDFLAGS = -L/usr/X11R6/lib
+-INCLUDES = -I/usr/X11R6/include $(X_CFLAGS) \
+- -I$(prefix)/include -I$(includedir) \
++INCLUDES = $(X_CFLAGS) \
+ -I. -I$(top_srcdir)/src \
+ -DPREFIX=\""$(prefix)"\" \
+ @IMLIB_CFLAGS@ @GIBLIB_CFLAGS@
+--- feh-1.2.6/./Makefile.am~cross
++++ feh-1.2.6/./Makefile.am
+@@ -5,9 +5,8 @@
+ # A list of all the files in the current directory which can be regenerated
+ MAINTAINERCLEANFILES = Makefile.in feh.spec
+
+-LDFLAGS = -L/usr/X11R6/lib -L/usr/lib -L/usr/local/lib
+-INCLUDES = -I/usr/X11R6/include \
+-$(X_CFLAGS) -I$(prefix)/include -I$(includedir) -I.
++LDFLAGS = -L/usr/X11R6/lib
++INCLUDES = $(X_CFLAGS) -I.
+
+ man_MANS = feh.1
+