diff options
Diffstat (limited to 'app-text/ttf2pt1/files')
5 files changed, 174 insertions, 0 deletions
diff --git a/app-text/ttf2pt1/files/ttf2pt1-3.4.0-man-pages.diff b/app-text/ttf2pt1/files/ttf2pt1-3.4.0-man-pages.diff new file mode 100644 index 000000000000..2d301244272c --- /dev/null +++ b/app-text/ttf2pt1/files/ttf2pt1-3.4.0-man-pages.diff @@ -0,0 +1,39 @@ +diff -ur ttf2pt1-3.4.0.orig/ttf2pt1.1 ttf2pt1-3.4.0/ttf2pt1.1 +--- ttf2pt1-3.4.0.orig/ttf2pt1.1 2001-11-25 00:58:11.000000000 +0000 ++++ ttf2pt1-3.4.0/ttf2pt1.1 2006-08-15 19:15:37.129672839 +0000 +@@ -109,7 +109,8 @@ + .. + .\" @(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2 + . \" AM - accent mark definitions +-.bd B 3 ++''' Next line commented because it garbles bold font when viewed with man-1.6 ++'''.bd B 3 + . \" fudge factors for nroff and troff + .if n \{\ + . ds #H 0 +diff -ur ttf2pt1-3.4.0.orig/ttf2pt1_convert.1 ttf2pt1-3.4.0/ttf2pt1_convert.1 +--- ttf2pt1-3.4.0.orig/ttf2pt1_convert.1 2001-11-25 00:58:13.000000000 +0000 ++++ ttf2pt1-3.4.0/ttf2pt1_convert.1 2006-08-15 19:16:14.369517359 +0000 +@@ -109,7 +109,8 @@ + .. + .\" @(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2 + . \" AM - accent mark definitions +-.bd B 3 ++''' Next line commented because it garbles bold font when viewed with man-1.6 ++'''.bd B 3 + . \" fudge factors for nroff and troff + .if n \{\ + . ds #H 0 +diff -ur ttf2pt1-3.4.0.orig/ttf2pt1_x2gs.1 ttf2pt1-3.4.0/ttf2pt1_x2gs.1 +--- ttf2pt1-3.4.0.orig/ttf2pt1_x2gs.1 2001-11-25 00:58:13.000000000 +0000 ++++ ttf2pt1-3.4.0/ttf2pt1_x2gs.1 2006-08-15 19:16:30.770568473 +0000 +@@ -109,7 +109,8 @@ + .. + .\" @(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2 + . \" AM - accent mark definitions +-.bd B 3 ++''' Next line commented because it garbles bold font when viewed with man-1.6 ++'''.bd B 3 + . \" fudge factors for nroff and troff + .if n \{\ + . ds #H 0 diff --git a/app-text/ttf2pt1/files/ttf2pt1-3.4.4-LDFLAGS.patch b/app-text/ttf2pt1/files/ttf2pt1-3.4.4-LDFLAGS.patch new file mode 100644 index 000000000000..3d03e03e14ca --- /dev/null +++ b/app-text/ttf2pt1/files/ttf2pt1-3.4.4-LDFLAGS.patch @@ -0,0 +1,22 @@ +diff --git a/Makefile b/Makefile +index 2616d46..cf72cba 100644 +--- a/Makefile ++++ b/Makefile +@@ -179,7 +179,7 @@ app/RPM/ttf2pt1.spec: app/RPM/ttf2pt1.spec.src version.h + sed 's/^Version:.*/Version: '`grep TTF2PT1_VERSION version.h| cut -d\" -f2`'/' <app/RPM/ttf2pt1.spec.src >$@ + + t1asm: t1asm.c +- $(CC) $(CFLAGS) -o t1asm -DSTANDALONE t1asm.c $(LIBS) ++ $(CC) $(CFLAGS) -o t1asm -DSTANDALONE t1asm.c $(LDFLAGS) $(LIBS) + + ttf2pt1.o: ttf2pt1.c ttf.h pt1.h global.h version.h + $(CC) $(CFLAGS) -c ttf2pt1.c +@@ -203,7 +203,7 @@ runt1asm.o: runt1asm.c global.h + $(CC) $(CFLAGS) $(CFLAGS_EXTT1ASM) -c runt1asm.c + + ttf2pt1: ttf2pt1.o pt1.o runt1asm.o ttf.o ft.o bdf.o bitmap.o +- $(CC) $(CFLAGS) -o ttf2pt1 ttf2pt1.o pt1.o runt1asm.o ttf.o ft.o bdf.o bitmap.o $(LIBS) ++ $(CC) $(CFLAGS) -o ttf2pt1 ttf2pt1.o pt1.o runt1asm.o ttf.o ft.o bdf.o bitmap.o $(LDFLAGS) $(LIBS) + + CHANGES: CHANGES.html + scripts/unhtml <CHANGES.html >CHANGES diff --git a/app-text/ttf2pt1/files/ttf2pt1-3.4.4-Makefile.patch b/app-text/ttf2pt1/files/ttf2pt1-3.4.4-Makefile.patch new file mode 100644 index 000000000000..6c760f43dd21 --- /dev/null +++ b/app-text/ttf2pt1/files/ttf2pt1-3.4.4-Makefile.patch @@ -0,0 +1,82 @@ +diff -Naur ttf2pt1-3.4.4-orig/Makefile ttf2pt1-3.4.4/Makefile +--- ttf2pt1-3.4.4-orig/Makefile 2007-07-15 20:06:50.000000000 -0600 ++++ ttf2pt1-3.4.4/Makefile 2007-07-15 20:12:40.000000000 -0600 +@@ -9,7 +9,7 @@ + # + # Use GNU C even if it's not the default compiler + # +-#CC=gcc ++CC=gcc + # + # Use the standard ANSI C compiler on HP-UX even if it's not default + # +@@ -60,18 +60,18 @@ + # (if the include and lib directory do not match your installation, + # modify them), also uncomment LIBS_FT + # +-#CFLAGS_FT = -DUSE_FREETYPE -I/usr/local/include/freetype2 -I/usr/local/include ++CFLAGS_FT = -DUSE_FREETYPE -I/usr/include/freetype2 -I/usr/include + + # + # The FreeType-2 library flags (disabled by default) + +-LIBS_FT= ++#LIBS_FT= + + # To enable use of the FreeType-2 library + # (if the include and lib directory do not match your installation, + # modify them), also uncomment CFLAGS_FT + # +-#LIBS_FT= -L/usr/local/lib -lfreetype ++LIBS_FT= -L/usr/lib -lfreetype + + # + # The flags for C compiler for the Autotrace library (disabled by default). +@@ -120,18 +120,18 @@ + # Installation-related stuff + # + # The base dir for installation and subdirs in it +-INSTDIR = /usr/local ++INSTDIR = /usr + # for binaries + BINDIR = $(INSTDIR)/bin + # for binaries of little general interest + LIBXDIR = $(INSTDIR)/libexec/ttf2pt1 + # for scripts, maps/encodings etc. + SHAREDIR = $(INSTDIR)/share/ttf2pt1 +-MANDIR = $(INSTDIR)/man ++MANDIR = $(INSTDIR)/share/man + + # owner and group of installed files + OWNER = root +-GROUP = bin ++GROUP = root + + # After you have configured the Makefile, comment out the following + # definition: +@@ -244,17 +244,19 @@ + chmod -R go-w $(SHAREDIR) + scripts/inst_file ttf2pt1 $(BINDIR)/ttf2pt1 $(OWNER) $(GROUP) 0755 + [ -f $(BINDIR)/t1asm ] || scripts/inst_file t1asm $(LIBXDIR)/t1asm $(OWNER) $(GROUP) 0755 +- sed 's|^TTF2PT1_BINDIR=$$|TTF2PT1_BINDIR=$(BINDIR)|;\ +- s|^TTF2PT1_LIBXDIR=$$|TTF2PT1_LIBXDIR=$(LIBXDIR)|;\ +- s|^TTF2PT1_SHAREDIR=$$|TTF2PT1_SHAREDIR=$(SHAREDIR)|;' <scripts/convert >cvt.tmp ++ sed -e 's|^TTF2PT1_BINDIR=$$|TTF2PT1_BINDIR=$(BINDIR)|' \ ++ -e 's|^TTF2PT1_LIBXDIR=$$|TTF2PT1_LIBXDIR=$(LIBXDIR)|' \ ++ -e 's|^TTF2PT1_SHAREDIR=$$|TTF2PT1_SHAREDIR=$(SHAREDIR)|' \ ++ <scripts/convert >cvt.tmp + scripts/inst_file cvt.tmp $(BINDIR)/ttf2pt1_convert $(OWNER) $(GROUP) 0755 + scripts/inst_file cvt.tmp $(SHAREDIR)/scripts/convert $(OWNER) $(GROUP) 0755 + rm cvt.tmp + scripts/inst_file scripts/x2gs $(BINDIR)/ttf2pt1_x2gs $(OWNER) $(GROUP) 0755 + for i in $(MANS1); do { \ +- sed 's|TTF2PT1_BINDIR|$(BINDIR)|;\ +- s|TTF2PT1_LIBXDIR|$(LIBXDIR)|;\ +- s|TTF2PT1_SHAREDIR|$(SHAREDIR)|;' <$$i >$(MANDIR)/man1/$$i \ ++ sed -e 's|TTF2PT1_BINDIR|$(BINDIR)|' \ ++ -e 's|TTF2PT1_LIBXDIR|$(LIBXDIR)|' \ ++ -e 's|TTF2PT1_SHAREDIR|$(SHAREDIR)|' \ ++ <$$i >$(MANDIR)/man1/$$i \ + && chown $(OWNER) $(MANDIR)/man1/$$i \ + && chgrp $(GROUP) $(MANDIR)/man1/$$i \ + && chmod 0644 $(MANDIR)/man1/$$i \ diff --git a/app-text/ttf2pt1/files/ttf2pt1-3.4.4-freetype-2.5.patch b/app-text/ttf2pt1/files/ttf2pt1-3.4.4-freetype-2.5.patch new file mode 100644 index 000000000000..613da6c7339b --- /dev/null +++ b/app-text/ttf2pt1/files/ttf2pt1-3.4.4-freetype-2.5.patch @@ -0,0 +1,20 @@ +diff -Naur ttf2pt1-3.4.4-orig/ft.c ttf2pt1-3.4.4/ft.c +--- ttf2pt1-3.4.4.orig/ft.c 2014-07-02 14:19:32.000000000 -0700 ++++ ttf2pt1-3.4.4/ft.c 2014-07-02 14:20:22.794538869 -0700 +@@ -13,11 +13,11 @@ + #include <ctype.h> + #include <sys/types.h> + #include <ft2build.h> +-#include <freetype/freetype.h> +-#include <freetype/ftglyph.h> +-#include <freetype/ftsnames.h> +-#include <freetype/ttnameid.h> +-#include <freetype/ftoutln.h> ++#include <freetype2/freetype.h> ++#include <freetype2/ftglyph.h> ++#include <freetype2/ftsnames.h> ++#include <freetype2/ttnameid.h> ++#include <freetype2/ftoutln.h> + #include "pt1.h" + #include "global.h" + diff --git a/app-text/ttf2pt1/files/ttf2pt1-3.4.4-freetype.patch b/app-text/ttf2pt1/files/ttf2pt1-3.4.4-freetype.patch new file mode 100644 index 000000000000..8257742ebe59 --- /dev/null +++ b/app-text/ttf2pt1/files/ttf2pt1-3.4.4-freetype.patch @@ -0,0 +1,11 @@ +diff -Naur ttf2pt1-3.4.4-orig/ft.c ttf2pt1-3.4.4/ft.c +--- ttf2pt1-3.4.4-orig/ft.c 2007-07-15 20:23:43.000000000 -0600 ++++ ttf2pt1-3.4.4/ft.c 2007-07-15 20:24:02.000000000 -0600 +@@ -12,6 +12,7 @@ + #include <stdlib.h> + #include <ctype.h> + #include <sys/types.h> ++#include <ft2build.h> + #include <freetype/freetype.h> + #include <freetype/ftglyph.h> + #include <freetype/ftsnames.h> |