diff options
author | Chris Larson <clarson@kergoth.com> | 2004-11-25 10:19:50 +0000 |
---|---|---|
committer | Chris Larson <clarson@kergoth.com> | 2004-11-25 10:19:50 +0000 |
commit | 119b59cd0df00269bfe51d906657193217b8c884 (patch) | |
tree | be4bc7f812a9df2c6b3f17e6c3cc9bfafad07253 /t1lib/t1lib-5.0.2 | |
parent | c985a77fad25302d576fbcf92149c983887bc0b9 (diff) |
Remove the EOLN_NATIVE flag from a ton of files (patches & the like for which line ending conversions can break things).
BKrev: 41a5b1c6eA2OPeQrDQEgEwAmKXvQJg
Diffstat (limited to 't1lib/t1lib-5.0.2')
-rw-r--r-- | t1lib/t1lib-5.0.2/configure.patch | 122 | ||||
-rw-r--r-- | t1lib/t1lib-5.0.2/install.patch | 163 | ||||
-rw-r--r-- | t1lib/t1lib-5.0.2/libtool.patch | 116 |
3 files changed, 401 insertions, 0 deletions
diff --git a/t1lib/t1lib-5.0.2/configure.patch b/t1lib/t1lib-5.0.2/configure.patch index e69de29bb2..f2405c6bc7 100644 --- a/t1lib/t1lib-5.0.2/configure.patch +++ b/t1lib/t1lib-5.0.2/configure.patch @@ -0,0 +1,122 @@ + +# +# Patch managed by http://www.holgerschurig.de/patcher.html +# + +--- t1lib-5.0.2/configure.in~configure.patch ++++ t1lib-5.0.2/configure.in +@@ -75,9 +75,9 @@ + T1LIB_VERSIONSTRING=\"MACRO_T1LIB_IDENTIFIER\" + + +-dnl We use this file by Andreas Zeller to check for libXaw +-builtin(include, ac-tools/ice_find_athena.m4) +-builtin(include, ac-tools/aclocal.m4) ++#dnl We use this file by Andreas Zeller to check for libXaw ++#builtin(include, ac-tools/ice_find_athena.m4) ++#builtin(include, ac-tools/aclocal.m4) + + dnl We want these before the checks, so the checks can modify their values. + test -z "$LDLIBS" && LDLIBS=-lm AC_SUBST(LDLIBS) +@@ -161,6 +161,7 @@ + + dnl **** Check for underscore on external symbols **** + ++AH_TEMPLATE([NEED_UNDERSCORE_PREFIX], [Define if external symbols need an underscore prefix]) + AC_CACHE_CHECK("whether external symbols need an underscore prefix", + ac_cv_c_extern_prefix, + [saved_libs=$LIBS +@@ -178,64 +179,46 @@ + AC_DEFINE(NEED_UNDERSCORE_PREFIX) + fi + +-dnl **** Check which ANSI integer type is 16 bit ++dnl **** Check which ANSI integer type is 16 bit ++T1_AA_TYPE16="" ++for type in short int; do ++ if test x"`eval echo \\$ac_cv_sizeof_$type`" = "x2"; then ++ T1_AA_TYPE16="-DT1_AA_TYPE16=$type" ++ break ++ fi ++done + +-AC_CACHE_CHECK( "which ANSI integer type is 16 bit", ac_16bit_type, +- AC_TRY_RUN([ +-int main(void) { +- if (sizeof(short)==2) +- return(0); +- else if (sizeof(int)==2) +- return(1); +- else +- return(2); +-}], ac_16bit_type="short", ac_16bit_type="int", ac_16bit_type=)) +-if test "$ac_16bit_type" = "short" +-then +- T1_AA_TYPE16="-DT1_AA_TYPE16=short" +-else +- T1_AA_TYPE16="-DT1_AA_TYPE16=int" ++if test x"$T1_AA_TYPE16" = "x"; then ++ AC_MSG_ERROR("Unable to determine which integer type is 16 bit.") + fi + +- + dnl **** Check which ANSI integer type is 32 bit ++T1_AA_TYPE32="" ++for type in int long; do ++ if test x"`eval echo \\$ac_cv_sizeof_$type`" = "x4"; then ++ T1_AA_TYPE32="-DT1_AA_TYPE32=$type" ++ break ++ fi ++done + +-AC_CACHE_CHECK( "which ANSI integer type is 32 bit", ac_32bit_type, +- AC_TRY_RUN([ +-int main(void) { +- if (sizeof(int)==4) +- return(0); +- else if (sizeof(long)==4) +- return(1); +- else +- return(2); +-}], ac_32bit_type="int", ac_32bit_type="long", ac_32bit_type=)) +-if test "$ac_32bit_type" = "int" +-then +- T1_AA_TYPE32="-DT1_AA_TYPE32=int" +-else +- T1_AA_TYPE32="-DT1_AA_TYPE32=long" ++if test x"$T1_AA_TYPE32" = "x"; then ++ AC_MSG_ERROR("Unable to determine which integer type is 32 bit.") + fi + +- + dnl **** Check which ANSI integer type is 64 bit ++T1_AA_TYPE64="" ++for type in long long_long; do ++ if test x"`eval echo \\$ac_cv_sizeof_$type`" = "x8"; then ++ AC_MSG_WARN("$type is 64 bit") ++ T1_AA_TYPE64="-DT1_AA_TYPE64=\"`echo $type|tr '_' ' '`\"" ++ break ++ fi ++done + +-AC_CACHE_CHECK( "which ANSI integer type is 64 bit", ac_64bit_type, +- AC_TRY_RUN([ +-int main(void) { +- if (sizeof(long)==8) +- return(0); +- else +- return(1); +-}], ac_64bit_type="long", ac_64bit_type="<none>")) +-if test "$ac_64bit_type" = "long" +-then +- T1_AA_TYPE64="-DT1_AA_TYPE64=long" +-else +- T1_AA_TYPE64= ++if test x"$T1_AA_TYPE64" = "x"; then ++ AC_MSG_ERROR("Unable to determine which integer type is 64 bit.") + fi + +- + CFLAGS="${CFLAGS} -DT1LIB_IDENT=\"\\\"${T1LIB_IDENTIFIER}\\\"\" -DGLOBAL_CONFIG_DIR=\"\\\"${T1LIB_DATA_DIR}\\\"\"" + + dnl **** Check for functions and header files **** diff --git a/t1lib/t1lib-5.0.2/install.patch b/t1lib/t1lib-5.0.2/install.patch index e69de29bb2..3d8843861c 100644 --- a/t1lib/t1lib-5.0.2/install.patch +++ b/t1lib/t1lib-5.0.2/install.patch @@ -0,0 +1,163 @@ + +# +# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher +# + +--- t1lib-5.0.1/Makefile.in~install 2001-01-15 17:37:11.000000000 -0500 ++++ t1lib-5.0.1/Makefile.in 2004-02-13 12:29:21.000000000 -0500 +@@ -44,6 +44,7 @@ + INSTALL_PROGRAM = @INSTALL_PROGRAM@ + INSTALL_DATA = @INSTALL_DATA@ + MKINSTALLDIRS = @top_srcdir@/ac-tools/mkinstalldirs ++DESTDIR = @DESTDIR@ + prefix = @prefix@ + exec_prefix = @exec_prefix@ + includedir = @includedir@ +--- t1lib-5.0.1/doc/Makefile.in~install 2001-12-15 14:10:46.000000000 -0500 ++++ t1lib-5.0.1/doc/Makefile.in 2004-02-13 12:29:28.000000000 -0500 +@@ -43,6 +43,7 @@ + INSTALL_PROGRAM = @INSTALL_PROGRAM@ + INSTALL_DATA = @INSTALL_DATA@ + MKINSTALLDIRS = @top_srcdir@/ac-tools/mkinstalldirs ++DESTDIR = @DESTDIR@ + prefix = @prefix@ + exec_prefix = @exec_prefix@ + includedir = @includedir@ +@@ -91,18 +92,18 @@ + install: dummy + if (test -f t1lib_doc.ps) \ + then \ +- $(MKINSTALLDIRS) @T1LIB_DATA_DIR@/doc; \ +- $(INSTALL_DATA) t1lib_doc.ps @T1LIB_DATA_DIR@/doc; \ ++ $(MKINSTALLDIRS) $(DESTDIR)@T1LIB_DATA_DIR@/doc; \ ++ $(INSTALL_DATA) t1lib_doc.ps $(DESTDIR)@T1LIB_DATA_DIR@/doc; \ + fi; + if (test -f t1lib_doc.pdf) \ + then \ +- $(MKINSTALLDIRS) @T1LIB_DATA_DIR@/doc; \ +- $(INSTALL_DATA) t1lib_doc.pdf @T1LIB_DATA_DIR@/doc; \ ++ $(MKINSTALLDIRS) $(DESTDIR)@T1LIB_DATA_DIR@/doc; \ ++ $(INSTALL_DATA) t1lib_doc.pdf $(DESTDIR)@T1LIB_DATA_DIR@/doc; \ + fi; + + + uninstall: dummy +- $(RM) -R @T1LIB_DATA_DIR@/doc ++ $(RM) -R $(DESTDIR)@T1LIB_DATA_DIR@/doc + + + dummy: +--- t1lib-5.0.1/examples/Makefile.in~install 2001-01-15 17:11:47.000000000 -0500 ++++ t1lib-5.0.1/examples/Makefile.in 2004-02-13 12:29:33.000000000 -0500 +@@ -40,6 +40,7 @@ + INSTALL_PROGRAM = @INSTALL_PROGRAM@ + INSTALL_DATA = @INSTALL_DATA@ + MKINSTALLDIRS = @top_srcdir@/ac-tools/mkinstalldirs ++DESTDIR = @DESTDIR@ + prefix = @prefix@ + exec_prefix = @exec_prefix@ + includedir = @includedir@ +--- t1lib-5.0.1/lib/Makefile.in~install 2002-06-24 22:15:30.000000000 -0400 ++++ t1lib-5.0.1/lib/Makefile.in 2004-02-13 12:29:35.000000000 -0500 +@@ -40,6 +40,7 @@ + INSTALL_PROGRAM = @INSTALL_PROGRAM@ + INSTALL_DATA = @INSTALL_DATA@ + MKINSTALLDIRS = @top_srcdir@/ac-tools/mkinstalldirs ++DESTDIR = @DESTDIR@ + prefix = @prefix@ + exec_prefix = @exec_prefix@ + includedir = @includedir@ +@@ -160,27 +161,27 @@ + + + install: dummy +- $(MKINSTALLDIRS) $(libdir) +- $(MKINSTALLDIRS) $(includedir) +- $(MKINSTALLDIRS) @T1LIB_DATA_DIR@ ++ $(MKINSTALLDIRS) $(DESTDIR)$(libdir) ++ $(MKINSTALLDIRS) $(DESTDIR)$(includedir) ++ $(MKINSTALLDIRS) $(DESTDIR)@T1LIB_DATA_DIR@ + $(LIBTOOL) --mode=install \ +- $(INSTALL_DATA) $(MAIN_TARGET) $(libdir) ++ $(INSTALL_DATA) $(MAIN_TARGET) $(DESTDIR)$(libdir) + $(LIBTOOL) --mode=install \ +- $(INSTALL_DATA) $(MAIN_HEADER) $(includedir) +- if (test -f @T1LIB_DATA_DIR@/t1lib.config) \ ++ $(INSTALL_DATA) $(MAIN_HEADER) $(DESTDIR)$(includedir) ++ if (test -f $(DESTDIR)@T1LIB_DATA_DIR@/t1lib.config) \ + then \ + echo "Alert: Global configuration file exists, installation skipped!"; \ + else \ +- $(LIBTOOL) --mode=install $(INSTALL_DATA) t1lib.config @T1LIB_DATA_DIR@; \ ++ $(LIBTOOL) --mode=install $(INSTALL_DATA) t1lib.config $(DESTDIR)@T1LIB_DATA_DIR@; \ + fi; + + + uninstall: dummy +- -$(LIBTOOL) --mode=uninstall $(RM) $(libdir)/libt1.la +- -$(LIBTOOL) --mode=uninstall $(RM) $(libdir)/libt1x.la +- -$(LIBTOOL) --mode=uninstall $(RM) $(includedir)/t1lib.h +- -$(LIBTOOL) --mode=uninstall $(RM) $(includedir)/t1libx.h +- -$(LIBTOOL) --mode=uninstall $(RM) @T1LIB_DATA_DIR@/t1lib.config ++ -$(LIBTOOL) --mode=uninstall $(RM) $(DESTDIR)$(libdir)/libt1.la ++ -$(LIBTOOL) --mode=uninstall $(RM) $(DESTDIR)$(libdir)/libt1x.la ++ -$(LIBTOOL) --mode=uninstall $(RM) $(DESTDIR)$(includedir)/t1lib.h ++ -$(LIBTOOL) --mode=uninstall $(RM) $(DESTDIR)$(includedir)/t1libx.h ++ -$(LIBTOOL) --mode=uninstall $(RM) $(DESTDIR)@T1LIB_DATA_DIR@/t1lib.config + + + dummy: +--- t1lib-5.0.1/type1afm/Makefile.in~install 2001-01-15 17:08:23.000000000 -0500 ++++ t1lib-5.0.1/type1afm/Makefile.in 2004-02-13 12:29:40.000000000 -0500 +@@ -42,6 +42,7 @@ + INSTALL_PROGRAM = @INSTALL_PROGRAM@ + INSTALL_DATA = @INSTALL_DATA@ + MKINSTALLDIRS = @top_srcdir@/ac-tools/mkinstalldirs ++DESTDIR = @DESTDIR@ + prefix = @prefix@ + exec_prefix = @exec_prefix@ + includedir = @includedir@ +@@ -87,14 +88,14 @@ + -rmdir .libs + + install: dummy +- $(MKINSTALLDIRS) $(bindir) ++ $(MKINSTALLDIRS) $(DESTDIR)$(bindir) + $(LIBTOOL) --mode=install \ +- $(INSTALL_PROGRAM) type1afm $(bindir)/type1afm ++ $(INSTALL_PROGRAM) type1afm $(DESTDIR)$(bindir)/type1afm + + + uninstall: dummy + $(LIBTOOL) --mode=uninstall \ +- $(RM) $(bindir)/type1afm ++ $(RM) $(DESTDIR)$(bindir)/type1afm + + + dummy: +--- t1lib-5.0.1/xglyph/Makefile.in~install 2001-01-15 17:06:53.000000000 -0500 ++++ t1lib-5.0.1/xglyph/Makefile.in 2004-02-13 12:29:44.000000000 -0500 +@@ -42,6 +42,7 @@ + INSTALL_PROGRAM = @INSTALL_PROGRAM@ + INSTALL_DATA = @INSTALL_DATA@ + MKINSTALLDIRS = @top_srcdir@/ac-tools/mkinstalldirs ++DESTDIR = @DESTDIR@ + prefix = @prefix@ + exec_prefix = @exec_prefix@ + includedir = @includedir@ +@@ -94,12 +95,12 @@ + + + install: dummy +- $(MKINSTALLDIRS) $(bindir) +- $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) xglyph $(bindir)/xglyph ++ $(MKINSTALLDIRS) $(DESTDIR)$(bindir) ++ $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) xglyph $(DESTDIR)$(bindir)/xglyph + + + uninstall: dummy +- $(LIBTOOL) --mode=uninstall $(RM) -f $(bindir)/xglyph ++ $(LIBTOOL) --mode=uninstall $(RM) -f $(DESTDIR)$(bindir)/xglyph + + + dummy: diff --git a/t1lib/t1lib-5.0.2/libtool.patch b/t1lib/t1lib-5.0.2/libtool.patch index e69de29bb2..e050025739 100644 --- a/t1lib/t1lib-5.0.2/libtool.patch +++ b/t1lib/t1lib-5.0.2/libtool.patch @@ -0,0 +1,116 @@ + +# +# Patch managed by http://www.holgerschurig.de/patcher.html +# + +--- t1lib-5.0.2/Makefile.in~libtool ++++ t1lib-5.0.2/Makefile.in +@@ -18,7 +18,8 @@ + # Last modified: 2001-04-01 + # + +-SHELL = /bin/sh ++SHELL = @SHELL@ ++LIBTOOL = @LIBTOOL@ + CC = @CC@ + CPP = @CPP@ + CFLAGS = @CFLAGS@ +@@ -150,7 +151,7 @@ + $(RM) examples/Makefile + $(RM) xglyph/Makefile + $(RM) doc/Makefile +- $(RM) libtool ++ $(RM) $(LIBTOOL) + + + # The following two targets are for building and cleaning the python- +--- t1lib-5.0.2/examples/Makefile.in~libtool ++++ t1lib-5.0.2/examples/Makefile.in +@@ -14,9 +14,10 @@ + # Last modified: 2001-04-01 + # + ++top_builddir = @top_builddir@ + +-LIBTOOL = ../libtool +-SHELL = /bin/sh ++LIBTOOL = @LIBTOOL@ ++SHELL = @SHELL@ + CC = @CC@ + CPP = @CPP@ + CFLAGS = @CFLAGS@ +--- t1lib-5.0.2/lib/Makefile.in~libtool ++++ t1lib-5.0.2/lib/Makefile.in +@@ -15,8 +15,10 @@ + # + # Contributions by H.Kakugawa to use libtool! + +-LIBTOOL = ../libtool +-SHELL = /bin/sh ++top_builddir = @top_builddir@ ++ ++LIBTOOL = @LIBTOOL@ ++SHELL = @SHELL@ + CC = @CC@ + CPP = @CPP@ + CFLAGS = @CFLAGS@ +--- t1lib-5.0.2/lib/t1lib/Makefile.in~libtool ++++ t1lib-5.0.2/lib/t1lib/Makefile.in +@@ -14,8 +14,10 @@ + # + # Modified by H.Kakugawa to use libtool + +-LIBTOOL = ../../libtool +-SHELL = /bin/sh ++top_builddir = @top_builddir@ ++ ++LIBTOOL = @LIBTOOL@ ++SHELL = @SHELL@ + CC = @CC@ + CPP = @CPP@ + CFLAGS = @CFLAGS@ +--- t1lib-5.0.2/lib/type1/Makefile.in~libtool ++++ t1lib-5.0.2/lib/type1/Makefile.in +@@ -14,8 +14,10 @@ + # + # Modified by H.Kakugawa to use libtool + +-LIBTOOL = ../../libtool +-SHELL = /bin/sh ++top_builddir = @top_builddir@ ++ ++LIBTOOL = @LIBTOOL@ ++SHELL = @SHELL@ + CC = @CC@ + CPP = @CPP@ + CFLAGS = @CFLAGS@ +--- t1lib-5.0.2/type1afm/Makefile.in~libtool ++++ t1lib-5.0.2/type1afm/Makefile.in +@@ -15,8 +15,10 @@ + # + # Modified by H.Kakugawa to use libtool + +-LIBTOOL = ../libtool +-SHELL = /bin/sh ++top_builddir = @top_builddir@ ++ ++LIBTOOL = @LIBTOOL@ ++SHELL = @SHELL@ + CC = @CC@ + CPP = @CPP@ + CFLAGS = @CFLAGS@ +--- t1lib-5.0.2/xglyph/Makefile.in~libtool ++++ t1lib-5.0.2/xglyph/Makefile.in +@@ -15,8 +15,10 @@ + # + # Modified by H.Kakugawa to use libtool + +-LIBTOOL = ../libtool +-SHELL = /bin/sh ++top_builddir = @top_builddir@ ++ ++LIBTOOL = @LIBTOOL@ ++SHELL = @SHELL@ + CC = @CC@ + CPP = @CPP@ + CFLAGS = @CFLAGS@ |