From c56d908b8a49c5f0967ae0c630b8a33bf7b6708f Mon Sep 17 00:00:00 2001 From: Stefan Fiedler Date: Fri, 26 Nov 2004 02:54:57 +0000 Subject: [PATCH] Stefan Fiedler: pth: fix head-tail issue Index: package/daja77/pth/head-tail.patch =================================================================== [2004110516044904532] (https://www.rocklinux.net/submaster) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@4819 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- package/daja77/pth/head-tail.patch | 35 ++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 package/daja77/pth/head-tail.patch diff --git a/package/daja77/pth/head-tail.patch b/package/daja77/pth/head-tail.patch new file mode 100644 index 000000000..8a118cb82 --- /dev/null +++ b/package/daja77/pth/head-tail.patch @@ -0,0 +1,35 @@ +diff -dur pth-2.0.2/aclocal.m4 pth-2.0.2-p/aclocal.m4 +--- pth-2.0.2/aclocal.m4 2004-07-13 12:48:12.000000000 +0200 ++++ pth-2.0.2-p/aclocal.m4 2004-11-04 19:29:34.597239720 +0100 +@@ -672,7 +672,7 @@ + -e '/,[ ]*$/N' \ + -e 's/,[ ]*\n[ ]*/, /' \ + -e 'tjoin' |\ +-egrep "[^a-zA-Z0-9_]$2[ ]*\\($gpat\\)" | head -1 |\ ++egrep "[^a-zA-Z0-9_]$2[ ]*\\($gpat\\)" | head -n1 |\ + sed -e "s/.*[^a-zA-Z0-9_]$2[ ]*($spat).*/\\1/" \ + -e 's/(\*[a-zA-Z_][a-zA-Z_0-9]*)/(*)/' \ + -e 's/^[ ]*//' -e 's/[ ]*$//' \ +Nur in pth-2.0.2-p/: aclocal.m4~. +diff -dur pth-2.0.2/configure pth-2.0.2-p/configure +--- pth-2.0.2/configure 2004-09-12 14:45:17.000000000 +0200 ++++ pth-2.0.2-p/configure 2004-11-04 19:29:24.156826904 +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/[ ]*$//' \ +Nur in pth-2.0.2-p/: configure~.