Gentoo Archives: gentoo-commits

From: "Christian Faulhammer (opfer)" <opfer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-visualization/gnuplot/files: gnuplot-4.2.3-app-defaults.patch
Date: Mon, 28 Apr 2008 23:42:58
Message-Id: E1Jqczn-0002bC-GN@stork.gentoo.org
1 opfer 08/04/28 23:42:55
2
3 Added: gnuplot-4.2.3-app-defaults.patch
4 Log:
5 Install resource file into non-deprecated location, patch provided by ulm in bug 219323
6 (Portage version: 2.1.4.4)
7
8 Revision Changes Path
9 1.1 sci-visualization/gnuplot/files/gnuplot-4.2.3-app-defaults.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/gnuplot/files/gnuplot-4.2.3-app-defaults.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/gnuplot/files/gnuplot-4.2.3-app-defaults.patch?rev=1.1&content-type=text/plain
13
14 Index: gnuplot-4.2.3-app-defaults.patch
15 ===================================================================
16 --- gnuplot-4.2.3-orig/share/Makefile.am 2008-03-05 04:38:59.000000000 +0100
17 +++ gnuplot-4.2.3/share/Makefile.am 2008-04-26 11:44:59.000000000 +0200
18 @@ -5,7 +5,7 @@
19
20 SUBDIRS = LaTeX
21
22 -appdefaultdir = $(libdir)/X11/app-defaults
23 +appdefaultdir = /etc/X11/app-defaults
24
25 APPDEFAULTFILES = Gnuplot
26
27 --- gnuplot-4.2.3-orig/share/Makefile.in 2008-03-08 21:06:28.000000000 +0100
28 +++ gnuplot-4.2.3/share/Makefile.in 2008-04-26 11:45:11.000000000 +0200
29 @@ -190,7 +190,7 @@
30 AUTOMAKE_OPTIONS = foreign 1.2h
31 EXTRA_DIST = Gnuplot.app-defaults
32 SUBDIRS = LaTeX
33 -appdefaultdir = $(libdir)/X11/app-defaults
34 +appdefaultdir = /etc/X11/app-defaults
35 APPDEFAULTFILES = Gnuplot
36 appdefault_DATA = $(APPDEFAULTFILES)
37 CLEANFILES = $(APPDEFAULTFILES)
38 --- gnuplot-4.2.3-orig/src/gplt_x11.c 2007-12-10 00:55:27.000000000 +0100
39 +++ gnuplot-4.2.3/src/gplt_x11.c 2008-04-26 11:45:18.000000000 +0200
40 @@ -4787,7 +4787,7 @@
41 */
42 #define On(v) ( !strncasecmp(v, "on", 2) || !strncasecmp(v, "true", 4) )
43
44 -#define AppDefDir "/usr/lib/X11/app-defaults"
45 +#define AppDefDir "/etc/X11/app-defaults"
46 #ifndef MAXHOSTNAMELEN
47 #define MAXHOSTNAMELEN 64
48 #endif
49
50
51
52 --
53 gentoo-commits@l.g.o mailing list