|
# --- 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/base/flex/head-tail.patch
|
|
# ROCK Linux is Copyright (C) 1998 - 2005 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 http://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 ---
|
|
|
|
diff -dur flex-2.5.31/configure flex-2.5.31-p/configure
|
|
--- flex-2.5.31/configure 2003-04-01 18:32:25.000000000 +0200
|
|
+++ flex-2.5.31-p/configure 2004-11-04 18:57:48.007085480 +0100
|
|
@@ -5825,7 +5825,7 @@
|
|
if test "$INDENT" != indent ; then
|
|
echo "$as_me:$LINENO: checking if $INDENT is GNU indent" >&5
|
|
echo $ECHO_N "checking if $INDENT is GNU indent... $ECHO_C" >&6
|
|
- if $INDENT --version 2>/dev/null | head -1|grep "GNU indent" > /dev/null ; then
|
|
+ if $INDENT --version 2>/dev/null | head -n1|grep "GNU indent" > /dev/null ; then
|
|
echo "$as_me:$LINENO: result: yes" >&5
|
|
echo "${ECHO_T}yes" >&6
|
|
else
|
|
diff -dur flex-2.5.31/configure.in flex-2.5.31-p/configure.in
|
|
--- flex-2.5.31/configure.in 2003-04-01 18:17:51.000000000 +0200
|
|
+++ flex-2.5.31-p/configure.in 2004-11-04 18:57:39.858324280 +0100
|
|
@@ -48,7 +48,7 @@
|
|
dnl if INDENT is set to 'indent' then we didn't find indent
|
|
if test "$INDENT" != indent ; then
|
|
AC_MSG_CHECKING(if $INDENT is GNU indent)
|
|
- if $INDENT --version 2>/dev/null | head -1|grep "GNU indent" > /dev/null ; then
|
|
+ if $INDENT --version 2>/dev/null | head -n1|grep "GNU indent" > /dev/null ; then
|
|
AC_MSG_RESULT(yes)
|
|
else
|
|
AC_MSG_RESULT(no)
|