summaryrefslogtreecommitdiff
path: root/x11-plugins/fsviewer/files/fsviewer-0.2.6-configure.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /x11-plugins/fsviewer/files/fsviewer-0.2.6-configure.patch
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-plugins/fsviewer/files/fsviewer-0.2.6-configure.patch')
-rw-r--r--x11-plugins/fsviewer/files/fsviewer-0.2.6-configure.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/x11-plugins/fsviewer/files/fsviewer-0.2.6-configure.patch b/x11-plugins/fsviewer/files/fsviewer-0.2.6-configure.patch
new file mode 100644
index 000000000000..2d1759fefce5
--- /dev/null
+++ b/x11-plugins/fsviewer/files/fsviewer-0.2.6-configure.patch
@@ -0,0 +1,21 @@
+--- fsviewer-app-0.2.6.orig/configure.ac 2007-10-13 23:54:47.000000000 +0200
++++ fsviewer-app-0.2.6/configure.ac 2015-09-02 21:10:40.829519545 +0200
+@@ -26,15 +26,15 @@
+ dnl look for X windows first so further libs check
+ AC_PATH_X
+
+-if test "$x_includes" != "NONE"; then
++if test "$x_includes" != "NONE" && test -n "$x_includes"; then
+ CFLAGS="$CFLAGS -I$x_includes"
+ fi
+-if test "$x_libraries" != "NONE"; then
++if test "$x_libraries" != "NONE" && test -n "$x_libraries"; then
+ LDFLAGS="$LDFLAGS -L$x_libraries"
+ fi
+
+ dnl Additional "default" items
+-#LIBS="$LIBS -lX11"
++LIBS="$LIBS -lm -lX11 -lXpm"
+ #CFLAGS="$CFLAGS -I/usr/X11/include"
+ #LDFLAGS="$LDFLAGS -L/usr/X11/lib"
+