head 1.7; access; symbols pkgsrc-2013Q3:1.6.0.24 pkgsrc-2013Q3-base:1.6 pkgsrc-2013Q2:1.6.0.22 pkgsrc-2013Q2-base:1.6 pkgsrc-2013Q1:1.6.0.20 pkgsrc-2013Q1-base:1.6 pkgsrc-2012Q4:1.6.0.18 pkgsrc-2012Q4-base:1.6 pkgsrc-2012Q3:1.6.0.16 pkgsrc-2012Q3-base:1.6 pkgsrc-2012Q2:1.6.0.14 pkgsrc-2012Q2-base:1.6 pkgsrc-2012Q1:1.6.0.12 pkgsrc-2012Q1-base:1.6 pkgsrc-2011Q4:1.6.0.10 pkgsrc-2011Q4-base:1.6 pkgsrc-2011Q3:1.6.0.8 pkgsrc-2011Q3-base:1.6 pkgsrc-2011Q2:1.6.0.6 pkgsrc-2011Q2-base:1.6 pkgsrc-2011Q1:1.6.0.4 pkgsrc-2011Q1-base:1.6 pkgsrc-2010Q4:1.6.0.2 pkgsrc-2010Q4-base:1.6 pkgsrc-2009Q4:1.5.0.12 pkgsrc-2009Q4-base:1.5 pkgsrc-2008Q4:1.5.0.10 pkgsrc-2008Q4-base:1.5 pkgsrc-2008Q3:1.5.0.8 pkgsrc-2008Q3-base:1.5 cube-native-xorg:1.5.0.6 cube-native-xorg-base:1.5 pkgsrc-2008Q2:1.5.0.4 pkgsrc-2008Q2-base:1.5 pkgsrc-2008Q1:1.5.0.2 pkgsrc-2008Q1-base:1.5 pkgsrc-2007Q4:1.4.0.8 pkgsrc-2007Q4-base:1.4 pkgsrc-2007Q3:1.4.0.6 pkgsrc-2007Q3-base:1.4 pkgsrc-2007Q2:1.4.0.4 pkgsrc-2007Q2-base:1.4 pkgsrc-2007Q1:1.4.0.2 pkgsrc-2007Q1-base:1.4 pkgsrc-2006Q4:1.2.0.10 pkgsrc-2006Q4-base:1.2 pkgsrc-2006Q3:1.2.0.8 pkgsrc-2006Q3-base:1.2 pkgsrc-2006Q2:1.2.0.6 pkgsrc-2006Q2-base:1.2 pkgsrc-2006Q1:1.2.0.4 pkgsrc-2006Q1-base:1.2 pkgsrc-2005Q4:1.2.0.2 pkgsrc-2005Q4-base:1.2 pkgsrc-2005Q3:1.1.0.18 pkgsrc-2005Q3-base:1.1 pkgsrc-2005Q2:1.1.0.16 pkgsrc-2005Q2-base:1.1 pkgsrc-2005Q1:1.1.0.14 pkgsrc-2005Q1-base:1.1 pkgsrc-2004Q4:1.1.0.12 pkgsrc-2004Q4-base:1.1 pkgsrc-2004Q3:1.1.0.10 pkgsrc-2004Q3-base:1.1 pkgsrc-2004Q2:1.1.0.8 pkgsrc-2004Q2-base:1.1 pkgsrc-2004Q1:1.1.0.6 pkgsrc-2004Q1-base:1.1 pkgsrc-2003Q4:1.1.0.4 pkgsrc-2003Q4-base:1.1 netbsd-1-6-1:1.1.0.2 netbsd-1-6-1-base:1.1; locks; strict; comment @# @; 1.7 date 2013.11.24.05.55.24; author gls; state dead; branches; next 1.6; commitid pOdfgPzHHdYKBuex; 1.6 date 2010.12.02.18.02.21; author adam; state Exp; branches; next 1.5; 1.5 date 2008.03.13.16.45.33; author wiz; state dead; branches; next 1.4; 1.4 date 2007.03.07.18.52.18; author joerg; state Exp; branches; next 1.3; 1.3 date 2007.02.22.20.35.35; author wiz; state Exp; branches; next 1.2; 1.2 date 2005.10.10.09.05.59; author seb; state Exp; branches; next 1.1; 1.1 date 2002.12.23.22.27.50; author seb; state Exp; branches; next ; desc @@ 1.7 log @It's really here the patch is not required any more @ text @$NetBSD: patch-aa,v 1.6 2010/12/02 18:02:21 adam Exp $ Switch to C compiler before checking for _Bool. --- configure.orig 2010-05-04 20:07:33.000000000 +0000 +++ configure @@@@ -17621,6 +17621,11 @@@@ $as_echo "#define AA_APPLE_UNIVERSAL_BUI fi +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; } if test "${ac_cv_header_stdbool_h+set}" = set; then : @@@@ -17704,7 +17709,7 @@@@ main () return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : +if ac_fn_c_try_compile "$LINENO"; then : ac_cv_header_stdbool_h=yes else ac_cv_header_stdbool_h=no @@@@ -17713,7 +17718,7 @@@@ rm -f core conftest.err conftest.$ac_obj fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5 $as_echo "$ac_cv_header_stdbool_h" >&6; } - ac_fn_cxx_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default" + ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default" if test "x$ac_cv_type__Bool" = x""yes; then : cat >>confdefs.h <<_ACEOF @@@@ -17729,6 +17734,11 @@@@ $as_echo "#define HAVE_STDBOOL_H 1" >>co fi +ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long long int" >&5 $as_echo_n "checking for long long int... " >&6; } if test "${ac_cv_type_long_long_int+set}" = set; then : @ 1.6 log @Changes 3.1.4: * fixed compilation problems for Sun CC * php handles embedded html * html handles embedded css and javascript * Google's Protocol Buffers language definition added * CakePhp template files highlighted as php * haskell literate programming highlighting * vala language definition * lisp language definition Changes 3.1.3: * --tab option is correcly handled * install script with the executable bit * bash is highlighted Changes 3.1.2: * infer language for files starting with conftest.c int conftest(void){return 0;} EOF ${CXX} -xar -o conftest.a conftest.c >/dev/null 2>&1 -if test $? == 0; then +if test $? = 0; then ar_to_use="\$(CXX) -xar -o" d27 2 a28 8 ar_to_use="\$(AR) cru" @@@@ -6216,7 +6216,8 @@@@ ac_res=`eval echo '${'$as_ac_Lib'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&6; } if test `eval echo '${'$as_ac_Lib'}'` = yes; then - BOOST_REGEX_LIB=$ax_lib break + BOOST_REGEX_LIB=$ax_lib + break d30 10 d41 8 a48 1 done @ 1.4 log @Fix booost::regex test. This feels like a deja-vu, not sure where I hit this before. Most likly a broken upstream macro. @ text @d1 1 a1 1 $NetBSD$ @ 1.3 log @Update to 2.5: Version 2.5 * fixed lang.map for php files * fixed url.lang * --debug-langdef can be interactive * nohilite.lang that does not perform any highlighting, but only formats the input file into the output format (dealing with output format special characters) * default.lang to which source-highlight falls back when no input language is specified or available * infer script languages * --header and --footer options do not require --doc option * --statistics print elapsed time * highlight cls, dtx and sty LaTeX files * language definition for Tcl * language definition for Sql * language definition for bibtex * infer language of script files Version 2.4 * language definition for C# (thanks to Hemmi Shigeru) * language definition for XML (thanks to Andy Buckley) * language definition for shell scripts (thanks to Dirk Jagdmann) * fixed language definition for HTML (tags with numbers are highlighted, e.g.,

) * updated language definition for logtalk (thanks to Paulo Moura) * produces the list of elements of a language definition file (--show-lang-elements) * output format definition for HTML where fonts by default are not fixed width. * bug fix in url regular expressions * bug fix with nonsensitive keywords (thanks to Andrea Ercolino) * improved documentation concerning installation of Boost regex library Version 2.3 * the regex automaton is printed on the standard output (instead of the standard error) * language definition for postscript * DocBook output format * fixed bug in .map files with \r characters * fixed expression for email Version 2.2 * fixed a bug that sigsegv when more than one input file is provided * fixed a compilation error with gcc 4.0 * generate references using ctags * fixed a bug with LaTeX output of " with some inputencs and with latexcolor * handle direct color specifications independently from HTML * fixed conversion of hexadecimal characters in output language definitions * fixed compilation error with regex 1.33 * include man page * language definition for diff output * fixed bugs in generation of the regular expression automaton * extended documentation with some tutorials on input language definitions * generate more compact output (reduced size) * in LaTeX output longtable is not used anymore @ text @d14 10 @ 1.2 log @Update to version 2.1.2. Add build dependencies on GNU make and GNU sed for 'test' target's benefit. Support for input chroot, via make variable SOURCE_HIGHLIGHT_INPUT_CHROOT, deactivated otherwise the build is broken. XXX Is 'TOOLS_PLATFORM.gsed= # empty' the proper way to override a the platform sed tool ? Relinquish stewardship. Changes since last packaged version (1.11): Version 2.1.2 * fixed conversion of hexadecimal characters in output language definitions * fixed compilation error with regex 1.33 * include man page * fixed a bug with LaTeX output of " with some inputencs Version 2.1.1 * fixed a bug that sigsegv when more than one input file is provided * fixed a compilation error with gcc 4.0 Version 2.1 * Included obsolete man page. * output language format specifications are read at run-time so that new output languages can be easily added dynamically (without recompiling the sources) by using a simple syntax. * "fixed" and "notfixed" styles can be specified. * fixed the handling of end-of-line (processed only once) * LaTeX output * TeXinfo output * debug of a language definition * tags.j2h files are now called style files. * renamed --tags-file option in --style-file * allows to specify a prefix for the generated line number anchors * --header and --footer do not imply --doc * language definition for LogTalk and LaTeX Version 2.0 * Language specifications are read at run-time, so that new languages can be easily added dynamically (without recompiling the sources) by using a simple syntax. * "nonsensitive" for simple definitions * cgi version not built automatically * failsafe option to simply output the input file when no language definition is found * functionalities with less improved. Version 1.11.1 * fixed compilations problems on some Unix compilers @ text @d3 11 a13 21 --- configure.ac.orig 2005-08-25 14:09:51.000000000 +0000 +++ configure.ac @@@@ -17,9 +17,11 @@@@ AM_INIT_AUTOMAKE(source-highlight,2.1.2) AC_SUBST(source_highlightdatadir) AC_SUBST(source_highlightdocdir) +AC_SUBST(source_highlightdochtmldir) source_highlightdatadir=$datadir/source-highlight source_highlightdocdir=$datadir/doc/source-highlight +source_highlightdochtmldir=$datadir/doc/html/source-highlight dnl Checks for C compiler. AC_PROG_CC @@@@ -216,4 +218,4 @@@@ if test -z "$ac_cv_path_HELP2MAN"; then help2man is not installed so the man page will not be updated in case command line options are changed. This is important for maintainers only, though.]) -fi \ No newline at end of file +fi @ 1.1 log @Update to 1.6.1. Lots of changes and new features: you want to update! Changes since latest packaged version: Version 1.6.1 * fixed a bug in the configure phase that used to make the compilation fail with compilers not providing the function getop_long (reported by Horacio Montenegro ). Version 1.6 * scanners for flex and ChangeLog added by John Millaway * default to stdout when no --output is given along with the -i option and when --output="STDOUT" (as suggested by Hugh S. Myers, ) * fixed a problem with string comments in Python scanner * a separate executable is built, source-highlight-cgi, that can be used as a CGI program Version 1.5.1 * xhtml doctype generated correctly (thanks to Christian W. Zuckschwerdt and Josh Ghiloni ) reported by Martin Gebert * Anonymous CVS Access is now available http://savannah.gnu.org/projects/src-highlite Version 1.5 * xhtml output format is now handled (thanks to Christian W. Zuckschwerdt and Josh Ghiloni ) * assert is now recognized as a Java keyword (thanks to Fabio Calefato ) * a scanner for Python has been written by Martin Gebert . * when in Php3 strings can span more than one lines and line numbers are correctly formatted. Version 1.4 * fixed compilation error with some compilers due to headers istream.h and ostream.h (thanks to Dan barthel ) * a scanner for Php3 has been written by Alain Barbet * reading from stdin does not kill line numbers (notified by Keith Robertson ) * line number count is correctly reset when handling multiple files (bug fixed) * for Java sources, if, while, and other keywords that use '(' ')' are now correctly highlighted as keywords instead of as functions (reported by Manuel Kauers and Fabio Calefato ) * tabs are correctly handled for Prolog and Perl sources (reported by Martin Gebert ) Version 1.3 * now there is only one program, namely source-highlight, that accepts a command line option, --src-lang or -s, specifying the source language (for the moment java, cpp and prolog). Previous programs, java2html and cpp2html are provided as shell scripts, just for compatibility, but their use is not advised. * --out-format, -f, command line option added for specifying the output format (for the moment only html is accepted). Though only html is handled, this option is required. * a scanner for Prolog has been written by Martin Gebert . This scanner is still to be considered beta, and actually it was written for Visual Prolog, so it should be tested against other Prolog dialects. * a scanner for Perl has been written by Alain Barbet * Correctly check whether it is possible to write to a file (notified by Martin) * --tab option is correctly handled even for C/C++ files (bug fixed, notified by Martin) * Added option --line-number (-n) in order to print line numbers (as suggested by Ed Scott and Andre Charbonneau). * Man page added. @ text @d3 3 a5 3 --- configure.in.orig Wed Oct 30 18:21:25 2002 +++ configure.in @@@@ -17,9 +17,11 @@@@ AM_INIT_AUTOMAKE(source-highlight,1.6.1) d15 9 a23 2 dnl scanner version @