summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2008-05-11 12:04:31 +0000
committerPeter Volkov <pva@gentoo.org>2008-05-11 12:04:31 +0000
commit6169ad2c256874e09a1f45c310906e360f0556ec (patch)
tree9a072ae1d138211a67a157580f608dd72226f150 /media-gfx/transfig/files
parentStable on amd64, bug #221309 (diff)
downloadgentoo-2-6169ad2c256874e09a1f45c310906e360f0556ec.tar.gz
gentoo-2-6169ad2c256874e09a1f45c310906e360f0556ec.tar.bz2
gentoo-2-6169ad2c256874e09a1f45c310906e360f0556ec.zip
Removed executalbe permission and fixed location of misc files which are installed into XFIGLIBDIR, bug #221243 thank Volkmar Glauche for report.
(Portage version: 2.1.4.4)
Diffstat (limited to 'media-gfx/transfig/files')
-rw-r--r--media-gfx/transfig/files/transfig-3.2.4-gcc-3.3.patch37
-rw-r--r--media-gfx/transfig/files/transfig-3.2.4.patch66
2 files changed, 0 insertions, 103 deletions
diff --git a/media-gfx/transfig/files/transfig-3.2.4-gcc-3.3.patch b/media-gfx/transfig/files/transfig-3.2.4-gcc-3.3.patch
deleted file mode 100644
index dd9f00a7e5f9..000000000000
--- a/media-gfx/transfig/files/transfig-3.2.4-gcc-3.3.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-diff -ruN transfig.3.2.4.orig/fig2dev/dev/gensvg.c transfig.3.2.4/fig2dev/dev/gensvg.c
---- transfig.3.2.4.orig/fig2dev/dev/gensvg.c 2003-06-24 23:13:43.000000000 +0200
-+++ transfig.3.2.4/fig2dev/dev/gensvg.c 2003-06-24 23:18:55.000000000 +0200
-@@ -692,16 +692,17 @@
- if (t->angle != 0) {
- fprintf (tfp, "<g transform=\"translate(%d,%d) rotate(%d)\" >\n",
- (int) (t->base_x * mag), (int) (t->base_y * mag), degrees (t->angle));
-- fprintf (tfp, "<text x=\"0\" y=\"0\" fill=\"#%6.6x\" font-family=\"%s\"
-- font-style=\"%s\" font-weight=\"%s\" font-size=\"%d\" text-anchor=\"%s\" >\n",
-+ fprintf (tfp, "<text x=\"0\" y=\"0\" fill=\"#%6.6x\" "
-+ "font-family=\"%s\" font-style=\"%s\" font-weight=\"%s\" "
-+ "font-size=\"%d\" text-anchor=\"%s\" >\n",
- rgbColorVal (t->color), family[(int) ceil ((t->font + 1) / 4)],
- (t->font % 2 == 0 ? "normal" : "italic"),
- (t->font % 4 < 2 ? "normal" : "bold"), (int) (ceil (t->size * 12 * mag)),
- anchor[t->type]);
- }
- else
-- fprintf (tfp, "<text x=\"%d\" y=\"%d\" fill=\"#%6.6x\" font-family=\"%s\"
-- font-style=\"%s\" font-weight=\"%s\" font-size=\"%d\" text-anchor=\"%s\" >\n",
-+ fprintf (tfp, "<text x=\"%d\" y=\"%d\" fill=\"#%6.6x\" font-family=\"%s\" "
-+ "font-style=\"%s\" font-weight=\"%s\" font-size=\"%d\" text-anchor=\"%s\" >\n",
- (int) (t->base_x * mag), (int) (t->base_y * mag), rgbColorVal (t->color),
- family[(int) ceil ((t->font + 1) / 4)],
- (t->font % 2 == 0 ? "normal" : "italic"),
-diff -ruN transfig.3.2.4.orig/fig2dev/fig2dev.h transfig.3.2.4/fig2dev/fig2dev.h
---- transfig.3.2.4.orig/fig2dev/fig2dev.h 2003-06-24 23:13:43.000000000 +0200
-+++ transfig.3.2.4/fig2dev/fig2dev.h 2003-06-24 23:14:31.000000000 +0200
-@@ -22,7 +22,7 @@
- #include <sys/file.h>
- #include <signal.h>
- #include <string.h>
--#include <varargs.h>
-+#include <stdarg.h>
- #include <pwd.h>
- #include <errno.h>
- #include <time.h>
diff --git a/media-gfx/transfig/files/transfig-3.2.4.patch b/media-gfx/transfig/files/transfig-3.2.4.patch
deleted file mode 100644
index fa33aa30689a..000000000000
--- a/media-gfx/transfig/files/transfig-3.2.4.patch
+++ /dev/null
@@ -1,66 +0,0 @@
---- fig2dev/Imakefile.orig 2002-12-19 12:33:44.000000000 -0500
-+++ fig2dev/Imakefile 2003-07-22 13:38:50.000000000 -0500
-@@ -20,13 +20,13 @@
- XCOMM You should point XFIGLIBDIR to the same directory you did when you compiled
- XCOMM and installed xfig.
-
--XFIGLIBDIR = /usr/local/lib/X11/xfig
-+XFIGLIBDIR = $(LIBDIR)/xfig
-
- XCOMM ******
- XCOMM If your system has the strerror() function (doesn't have sys_errlist) then
- XCOMM comment out NEED_STRERROR with an XCOMM comment.
-
--NEED_STRERROR = -DNEED_STRERROR
-+XCOMM NEED_STRERROR = -DNEED_STRERROR
-
- XCOMM The following probably only applies to Windows 9x/NT:
- XCOMM If your system can open files in text and binary modes and has the
-@@ -39,7 +39,7 @@
- XCOMM inline functions. With the "INLINE" keyword, you should notice that
- XCOMM the display will be a bit faster in complex figures
-
--XCOMM USEINLINE = -DUSE_INLINE
-+USEINLINE = -DUSE_INLINE
-
- XCOMM ****************
- XCOMM Change RGB if necessary, to point to your rgb.txt color database
-@@ -60,8 +60,8 @@
- XCOMM are in different places
-
- #ifdef USEPNG
--PNGLIBDIR = $(USRLIBDIR)
--PNGINC = -I/usr/include/X11
-+PNGLIBDIR = $(SYSTEMUSRLIBDIR)
-+PNGINC = -I$(SYSTEMUSRINCDIR)/libpng
- #endif
-
- XCOMM ****************
-@@ -73,11 +73,11 @@
- XCOMM Change XPMINC if necessary to point to the include file for xpm (xpm.h)
- XCOMM
-
--XCOMM #define USEXPM
-+#define USEXPM
-
- #ifdef USEXPM
- XPMLIBDIR = $(USRLIBDIR)
--XPMINC = -I/usr/include/X11
-+XPMINC = -I$(INCDIR)/X11
- #endif
-
- XCOMM ****************
-@@ -126,11 +126,11 @@
-
- #ifdef I18N
- I18N_DEFS = -DI18N
--FIG2DEV_LIBDIR = /usr/local/lib/fig2dev
-+FIG2DEV_LIBDIR = $(LIBDIR)/fig2dev
- I18N_DEV_DEFS = $(I18N_DEFS) -DFIG2DEV_LIBDIR=\\\"$(FIG2DEV_LIBDIR)\\\"
-
- install::
-- [ -d $(DESTDIR)$(FIG2DEV_LIBDIR) ] || mkdir $(DESTDIR)$(FIG2DEV_LIBDIR)
-+ [ -d $(DESTDIR)$(FIG2DEV_LIBDIR) ] || $(MKDIRHIER) $(DESTDIR)$(FIG2DEV_LIBDIR)
- $(INSTALL) -c dev/japanese.ps $(DESTDIR)$(FIG2DEV_LIBDIR)
- ( cd $(DESTDIR)$(FIG2DEV_LIBDIR); \
- rm -f ja.ps ja_JP.ps ja_JP.ujis.ps ja_JP.eucJP.ps ja_JP.EUC.ps; \