# --- ROCK-COPYRIGHT-NOTE-BEGIN --- # # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # Please add additional copyright information _after_ the line containing # the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by # the ./scripts/Create-CopyPatch script. Do not edit this copyright text! # # ROCK Linux: rock-src/package/stf/brlcad/fix-itcl-functionality-test.patch # ROCK Linux is Copyright (C) 1998 - 2006 Clifford Wolf # # This patch file is dual-licensed. It is available under the license the # patched project is licensed under, as long as it is an OpenSource license # as defined at https://www.opensource.org/ (e.g. BSD, X11) or under the terms # of the GNU General Public License as published by the Free Software # Foundation; either version 2 of the License, or (at your option) any later # version. # # --- ROCK-COPYRIGHT-NOTE-END --- --- brlcad-7.6.2/configure 2005-09-29 08:47:39.000000000 +0200 +++ brlcad-7.6.2-p2/configure 2005-10-29 03:28:14.000000000 +0200 @@ -26736,7 +26736,7 @@ PRECPPFLAGS="$CPPFLAGS" if test "x$itcl_link_works" = "xyes" ; then LIBS="$LIBS $LIBITCL $LIBTCL" - CPPFLAGS="$CPPFLAGS -Iinclude" + CPPFLAGS="$CPPFLAGS -DHAVE_CONFIG_H -Iinclude" fi if test "$cross_compiling" = yes; then { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling --- brlcad-7.6.2/configure.ac 2005-09-29 08:37:35.000000000 +0200 +++ brlcad-7.6.2-p2/configure.ac 2005-10-29 03:28:39.000000000 +0200 @@ -1986,7 +1986,7 @@ PRECPPFLAGS="$CPPFLAGS" if test "x$itcl_link_works" = "xyes" ; then LIBS="$LIBS $LIBITCL $LIBTCL" - CPPFLAGS="$CPPFLAGS -Iinclude" + CPPFLAGS="$CPPFLAGS -DHAVE_CONFIG_H -Iinclude" fi AC_TRY_RUN([ #include