diff options
Diffstat (limited to 'textproc/source-highlight/files')
5 files changed, 60 insertions, 3 deletions
diff --git a/textproc/source-highlight/files/patch-configure b/textproc/source-highlight/files/patch-configure index 5c45ef6fb813..e121f5998f0f 100644 --- a/textproc/source-highlight/files/patch-configure +++ b/textproc/source-highlight/files/patch-configure @@ -1,6 +1,15 @@ ---- configure.orig 2008-08-19 14:41:57.000000000 +0800 -+++ configure 2008-08-19 14:42:09.000000000 +0800 -@@ -23377,7 +23377,7 @@ +--- configure.orig 2010-01-20 02:17:27.000000000 -0500 ++++ configure 2010-01-20 02:26:25.000000000 -0500 +@@ -3853,7 +3853,7 @@ + source_highlightdatadir=$datadir/source-highlight + source_highlightdocdir=$docdir + source_highlightlibdocdir=$docdir/api +-source_highlightlibexampledir=$docdir/examples ++source_highlightlibexampledir=$datarootdir/examples/source-highlight + bash_completiondir=$sysconfdir/bash_completion.d + + LIBRARY_NAMESPACE=srchilite +@@ -20347,7 +20347,7 @@ fi diff --git a/textproc/source-highlight/files/patch-lib_srchilite_fileutil.h b/textproc/source-highlight/files/patch-lib_srchilite_fileutil.h new file mode 100644 index 000000000000..1ebfb15ebc33 --- /dev/null +++ b/textproc/source-highlight/files/patch-lib_srchilite_fileutil.h @@ -0,0 +1,10 @@ +--- lib/srchilite/fileutil.h.orig 2010-01-19 00:12:06.000000000 -0500 ++++ lib/srchilite/fileutil.h 2010-01-19 00:12:30.000000000 -0500 +@@ -9,6 +9,7 @@ + + #include <iostream> + #include <string> ++#include <cstdio> + #include "ioexception.h" + + using std::istream; diff --git a/textproc/source-highlight/files/patch-m4_Makefile.in b/textproc/source-highlight/files/patch-m4_Makefile.in new file mode 100644 index 000000000000..662c464947a3 --- /dev/null +++ b/textproc/source-highlight/files/patch-m4_Makefile.in @@ -0,0 +1,13 @@ +--- m4/Makefile.in.orig 2010-01-19 18:51:38.000000000 -0500 ++++ m4/Makefile.in 2010-01-19 18:56:21.000000000 -0500 +@@ -841,7 +841,9 @@ + + info-am: + +-install-data-am: install-aclocalDATA ++#if the aclocalDATA files are needed, install the devel/autoconf-archive port ++#install-data-am: install-aclocalDATA ++install-data-am: + + install-dvi: install-dvi-recursive + diff --git a/textproc/source-highlight/files/patch-stdbool.in.h b/textproc/source-highlight/files/patch-stdbool.in.h new file mode 100644 index 000000000000..253cea7828d4 --- /dev/null +++ b/textproc/source-highlight/files/patch-stdbool.in.h @@ -0,0 +1,14 @@ +--- gl/stdbool.in.h.orig 2010-04-19 14:33:17.000000000 +0800 ++++ gl/stdbool.in.h 2010-04-19 14:36:05.000000000 +0800 +@@ -102,11 +102,6 @@ + The only benefit of the enum, debuggability, is not important + with these compilers. So use 'signed char' and no enum. */ + # define _Bool signed char +-# else +- /* With this compiler, trust the _Bool type if the compiler has it. */ +-# if !@HAVE__BOOL@ +-typedef enum { _Bool_must_promote_to_int = -1, false = 0, true = 1 } _Bool; +-# endif + # endif + #endif + #define bool _Bool diff --git a/textproc/source-highlight/files/patch-tests_Makefile.in b/textproc/source-highlight/files/patch-tests_Makefile.in new file mode 100644 index 000000000000..5ec0556bb26e --- /dev/null +++ b/textproc/source-highlight/files/patch-tests_Makefile.in @@ -0,0 +1,11 @@ +--- tests/Makefile.in.orig 2010-01-20 01:24:37.000000000 -0500 ++++ tests/Makefile.in 2010-01-20 01:26:27.000000000 -0500 +@@ -1884,7 +1884,7 @@ + @NO_CTAGS_FALSE@ sed -itesttmp -e 's/\_tmp\.h/\.h/g' test_refs_tmp.h.html test_refs_tmp.cpp.html + @NO_CTAGS_FALSE@ sed -itesttmp -e 's/\_tmp\.cpp/\.cpp/g' test_refs_tmp.h.html test_refs_tmp.cpp.html + @NO_CTAGS_FALSE@ $(CPP2LATEX_WREFS) -i $(srcdir)/test.h -o test_ref.out.tex $(CTAGS_COMMAND_TMP) +-@NO_CTAGS_FALSE@ sed -itesttmp -r 's/([.\/[:alnum:]]+)\/(test\.h\:[[:alnum:]\._]+)/\2/g' test_ref.out.tex # eliminate leading paths ++@NO_CTAGS_FALSE@ sed -itesttmp -E 's/([.\/[:alnum:]]+)\/(test\.h\:[[:alnum:]\._]+)/\2/g' test_ref.out.tex # eliminate leading paths + @NO_CTAGS_FALSE@ $(CPP2LATEX_WREFSPOST) -i $(srcdir)/test.h -o test_ref_post.out.tex $(CTAGS_COMMAND_TMP) + @NO_CTAGS_FALSE@ sed -itesttmp -f $(srcdir)/erasedir3.sed test_ref_post.out.tex # eliminate leading paths + @NO_CTAGS_FALSE@ $(CPP2TEXINFO_WREFS) -i $(srcdir)/test.h -o test_ref.out.texinfo $(CTAGS_COMMAND_TMP) |