Author: schizo
Date: 2006-01-01 16:30:37 +0000 (Sun, 01 Jan 2006)
New Revision: 1087

Added:
   glibc-package/trunk/debian/patches/glibc235-dash.dpatch
Modified:
   glibc-package/trunk/debian/changelog
   glibc-package/trunk/debian/patches/00list
Log:
  * Patch from Lars Wirzenius to not rely on bash-like echo
    behavior.  (Closes: #207391).


Modified: glibc-package/trunk/debian/changelog
===================================================================
--- glibc-package/trunk/debian/changelog        2006-01-01 06:29:19 UTC (rev 
1086)
+++ glibc-package/trunk/debian/changelog        2006-01-01 16:30:37 UTC (rev 
1087)
@@ -11,8 +11,12 @@
   * debian/po/pt.po: New file, add Portuguese translation.
     Patched by Rui Branco <[EMAIL PROTECTED]>.  (Closes: #339110)
 
- -- Philip Blundell <[EMAIL PROTECTED]>  Fri, 30 Dec 2005 16:25:36 +0000
+  [ Clint Adams ]
+  * Patch from Lars Wirzenius to not rely on bash-like echo
+    behavior.  (Closes: #207391).
 
+ -- Clint Adams <[EMAIL PROTECTED]>  Sun,  1 Jan 2006 11:29:08 -0500
+
 glibc (2.3.5-10) unstable; urgency=low
 
   [ GOTO Masanori ]

Modified: glibc-package/trunk/debian/patches/00list
===================================================================
--- glibc-package/trunk/debian/patches/00list   2006-01-01 06:29:19 UTC (rev 
1086)
+++ glibc-package/trunk/debian/patches/00list   2006-01-01 16:30:37 UTC (rev 
1087)
@@ -100,3 +100,4 @@
 ctan
 glibc-235-sparc-datastart
 ia64-binutils-libm
+glibc235-dash

Added: glibc-package/trunk/debian/patches/glibc235-dash.dpatch
===================================================================
--- glibc-package/trunk/debian/patches/glibc235-dash.dpatch     2006-01-01 
06:29:19 UTC (rev 1086)
+++ glibc-package/trunk/debian/patches/glibc235-dash.dpatch     2006-01-01 
16:30:37 UTC (rev 1087)
@@ -0,0 +1,29 @@
+#! /bin/sh -e
+
+# All lines beginning with `# DP:' are a description of the patch.
+# DP: Make glibc compile with /bin/sh being dash and not bash.
+
+if [ $# -ne 2 ]; then
+    echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
+    exit 1
+fi
+case "$1" in
+    -patch) patch -d "$2" -f --no-backup-if-mismatch -p0 < $0;;
+    -unpatch) patch -d "$2" -f --no-backup-if-mismatch -R -p0 < $0;;
+    *)
+       echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
+       exit 1
+esac
+exit 0
+
+--- csu/Makefile       2005-06-15 20:59:25.000000000 +0300
++++ csu/Makefile       2005-06-15 20:59:36.000000000 +0300
+@@ -241,7 +241,7 @@
+        esac; \
+        files="$(all-Banner-files)";                           \
+        if test -n "$$files"; then                             \
+-         echo "\"Available extensions:\\n\"";                 \
++         printf '"Available extensions:\\n"';                 \
+          sed -e '/^#/d' -e 's/^[[:space:]]*/  /'              \
+              -e 's/^\(.*\)$$/\"\1\\n\"/' $$files;             \
+        fi) > [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to