# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../gnupth/head-1-usage.patch
# Copyright (C) 2004 - 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
#
# 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.
# --- SDE-COPYRIGHT-NOTE-END ---
--- pth-2.0.2/configure~	2004-09-12 14:45:17.000000000 +0200
+++ pth-2.0.2/configure	2004-11-08 16:06:06.452927152 +0100
@@ -21974,7 +21974,7 @@
     -e '/,[ 	]*$/N' \
     -e 's/,[ 	]*\n[ 	]*/, /' \
     -e 'tjoin' |\
-egrep "[^a-zA-Z0-9_]accept[ 	]*\\($gpat\\)" | head -1 |\
+egrep "[^a-zA-Z0-9_]accept[ 	]*\\($gpat\\)" | head -n1 |\
 sed -e "s/.*[^a-zA-Z0-9_]accept[ 	]*($spat).*/\\1/" \
     -e 's/(\*[a-zA-Z_][a-zA-Z_0-9]*)/(*)/' \
     -e 's/^[ 	]*//' -e 's/[ 	]*$//' \
@@ -22101,7 +22101,7 @@
     -e '/,[ 	]*$/N' \
     -e 's/,[ 	]*\n[ 	]*/, /' \
     -e 'tjoin' |\
-egrep "[^a-zA-Z0-9_]poll[ 	]*\\($gpat\\)" | head -1 |\
+egrep "[^a-zA-Z0-9_]poll[ 	]*\\($gpat\\)" | head -n1 |\
 sed -e "s/.*[^a-zA-Z0-9_]poll[ 	]*($spat).*/\\1/" \
     -e 's/(\*[a-zA-Z_][a-zA-Z_0-9]*)/(*)/' \
     -e 's/^[ 	]*//' -e 's/[ 	]*$//' \