Gentoo Archives: gentoo-commits

From: "Kacper Kowalik (xarthisius)" <xarthisius@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-misc/xosview/files: xosview-1.9.2-emptyxpaths.patch
Date: Sat, 04 Feb 2012 12:34:09
Message-Id: 20120204123359.94E772004B@flycatcher.gentoo.org
1 xarthisius 12/02/04 12:33:59
2
3 Added: xosview-1.9.2-emptyxpaths.patch
4 Log:
5 Version bump, fixes bug 382077 by needle <qui_wan_chong@×××××.de>
6
7 (Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 x11-misc/xosview/files/xosview-1.9.2-emptyxpaths.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/xosview/files/xosview-1.9.2-emptyxpaths.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/xosview/files/xosview-1.9.2-emptyxpaths.patch?rev=1.1&content-type=text/plain
14
15 Index: xosview-1.9.2-emptyxpaths.patch
16 ===================================================================
17 --- config/configure.in.orig 2012-02-04 13:20:17.730436149 +0100
18 +++ config/configure.in 2012-02-04 13:21:05.333936874 +0100
19 @@ -12,6 +12,20 @@
20 CXXFLAGS="$CXXFLAGS -I$x_includes"
21 fi
22
23 +#
24 +# On hpux10 both x_includes and x_libraries seem to be set to ""
25 +# This causes compiler options like '-I' and '-L', which break
26 +# the build. So, we avoid empty strings here.
27 +#
28 +if test -z "$x_includes"
29 +then
30 + x_includes=.
31 +fi
32 +if test -z "$x_libraries"
33 +then
34 + x_libraries=.
35 +fi
36 +
37 dnl
38 dnl Added a proper check for the snprintf() function
39 dnl
40 @@ -381,22 +395,6 @@
41 AC_SUBST(USE_MOD_VERSIONS)
42 dnl Check for usleep(). Currently, only HP-UX doesn't have it.
43 AC_CHECK_FUNCS(usleep)
44 -
45 -#
46 -# On hpux10 both x_includes and x_libraries seem to be set to ""
47 -# This causes compiler options like '-I' and '-L', which break
48 -# the build. So, we avoid empty strings here.
49 -#
50 -if test -z "$x_includes"
51 -then
52 - x_includes=.
53 -fi
54 -if test -z "$x_libraries"
55 -then
56 - x_libraries=.
57 -fi
58 -
59 -
60 AC_SUBST(host_dir)
61 AC_OUTPUT(\
62 Makefile:config/Makefile.top.in \