summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKacper Kowalik <xarthisius@gentoo.org>2012-02-04 12:33:59 +0000
committerKacper Kowalik <xarthisius@gentoo.org>2012-02-04 12:33:59 +0000
commit07ac99a3001ce4fa8de750740b51d9bfafc923b6 (patch)
treeb5693608a137fa77714e5d44e9d04c20227649af /x11-misc/xosview/files
parentDrop opencl use flag and install OpenCL unconditionally (diff)
downloadhistorical-07ac99a3001ce4fa8de750740b51d9bfafc923b6.tar.gz
historical-07ac99a3001ce4fa8de750740b51d9bfafc923b6.tar.bz2
historical-07ac99a3001ce4fa8de750740b51d9bfafc923b6.zip
Version bump, fixes bug 382077 by needle <qui_wan_chong@yahoo.de>
Package-Manager: portage-2.2.0_alpha84/cvs/Linux x86_64
Diffstat (limited to 'x11-misc/xosview/files')
-rw-r--r--x11-misc/xosview/files/xosview-1.9.2-emptyxpaths.patch46
1 files changed, 46 insertions, 0 deletions
diff --git a/x11-misc/xosview/files/xosview-1.9.2-emptyxpaths.patch b/x11-misc/xosview/files/xosview-1.9.2-emptyxpaths.patch
new file mode 100644
index 000000000000..9044bb1f708b
--- /dev/null
+++ b/x11-misc/xosview/files/xosview-1.9.2-emptyxpaths.patch
@@ -0,0 +1,46 @@
+--- config/configure.in.orig 2012-02-04 13:20:17.730436149 +0100
++++ config/configure.in 2012-02-04 13:21:05.333936874 +0100
+@@ -12,6 +12,20 @@
+ CXXFLAGS="$CXXFLAGS -I$x_includes"
+ fi
+
++#
++# On hpux10 both x_includes and x_libraries seem to be set to ""
++# This causes compiler options like '-I' and '-L', which break
++# the build. So, we avoid empty strings here.
++#
++if test -z "$x_includes"
++then
++ x_includes=.
++fi
++if test -z "$x_libraries"
++then
++ x_libraries=.
++fi
++
+ dnl
+ dnl Added a proper check for the snprintf() function
+ dnl
+@@ -381,22 +395,6 @@
+ AC_SUBST(USE_MOD_VERSIONS)
+ dnl Check for usleep(). Currently, only HP-UX doesn't have it.
+ AC_CHECK_FUNCS(usleep)
+-
+-#
+-# On hpux10 both x_includes and x_libraries seem to be set to ""
+-# This causes compiler options like '-I' and '-L', which break
+-# the build. So, we avoid empty strings here.
+-#
+-if test -z "$x_includes"
+-then
+- x_includes=.
+-fi
+-if test -z "$x_libraries"
+-then
+- x_libraries=.
+-fi
+-
+-
+ AC_SUBST(host_dir)
+ AC_OUTPUT(\
+ Makefile:config/Makefile.top.in \