Magellan Linux

Contents of /trunk/transfig/patches/transfig-3.2.5.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 224 - (show annotations) (download)
Sat Jun 23 13:53:28 2007 UTC (16 years, 10 months ago) by niro
File size: 1455 byte(s)
-new fixes

1 --- transfig.3.2.5/fig2dev/Imakefile.org 2007-06-17 00:15:58.000000000 +0200
2 +++ transfig.3.2.5/fig2dev/Imakefile 2007-06-17 00:21:18.000000000 +0200
3 @@ -34,7 +34,7 @@
4 XCOMM You should point XFIGLIBDIR to the same directory you did when you compiled
5 XCOMM and installed xfig.
6
7 -XFIGLIBDIR = /usr/local/lib/X11/xfig
8 +XFIGLIBDIR = $(LIBDIR)/xfig
9
10 XCOMM ******
11 XCOMM If your system doesn't have the strerror() function (has sys_errlist) then
12 @@ -53,7 +53,7 @@
13 XCOMM inline functions. With the "INLINE" keyword, you should notice that
14 XCOMM the display will be a bit faster in complex figures
15
16 -XCOMM USEINLINE = -DUSE_INLINE
17 +USEINLINE = -DUSE_INLINE
18
19 XCOMM ****************
20 XCOMM Change RGB if necessary, to point to your rgb.txt color database
21 @@ -74,9 +74,9 @@
22 XCOMM file are in different places
23
24 #ifdef USEPNG
25 -PNGLIBDIR = $(USRLIBDIR)
26 -ZLIBDIR = $(USRLIBDIR)
27 -PNGINC = -I/usr/include/X11
28 +PNGLIBDIR = $(SYSTEMUSRLIBDIR)
29 +ZLIBDIR = $(SYSTEMUSRLIBDIR)
30 +PNGINC = -I$(SYSTEMUSRINCDIR)/libpng
31 #endif
32
33 XCOMM ****************
34 @@ -92,7 +92,7 @@
35
36 #ifdef USEXPM
37 XPMLIBDIR = $(USRLIBDIR)
38 -XPMINC = -I/usr/include/X11
39 +XPMINC = -I$(INCDIR)/X11
40 #endif
41
42 XCOMM ****************
43 @@ -141,7 +141,7 @@
44
45 #ifdef I18N
46 I18N_DEFS = -DI18N
47 -FIG2DEV_LIBDIR = /usr/local/lib/fig2dev
48 +FIG2DEV_LIBDIR = $(LIBDIR)/fig2dev
49 I18N_DEV_DEFS = $(I18N_DEFS) -DFIG2DEV_LIBDIR=$(FIG2DEV_LIBDIR) -DFIG2DEV_LIBDIR_STR=\\\"$(FIG2DEV_LIBDIR)\\\"
50
51 #endif /* I18N */