Author: kelmo-guest
Date: Wed Jul 23 06:48:29 2008
New Revision: 797

URL: http://svn.debian.org/wsvn/initscripts-ng/?sc=1&rev=797
Log:
Add 90_fix_bashism_in_makefile.patch to correct bashism used (echo -e)
when testing for openat et. al. syscall support.

Added:
    branches/insserv-1.11.10/debian/patches/90_fix_bashism_in_makefile.patch
Modified:
    branches/insserv-1.11.10/debian/changelog
    branches/insserv-1.11.10/debian/patches/series

Modified: branches/insserv-1.11.10/debian/changelog
URL: 
http://svn.debian.org/wsvn/initscripts-ng/branches/insserv-1.11.10/debian/changelog?rev=797&op=diff
==============================================================================
--- branches/insserv-1.11.10/debian/changelog (original)
+++ branches/insserv-1.11.10/debian/changelog Wed Jul 23 06:48:29 2008
@@ -45,8 +45,10 @@
   * Make test_newbug_keepoldorder() test case non-fatal, the fact that it
     passed before was not by design but by luck, as per upstream analysis
     which is included with test code.
-
- -- Kel Modderman <[EMAIL PROTECTED]>  Wed, 23 Jul 2008 02:15:27 +1000
+  * Add 90_fix_bashism_in_makefile.patch to correct bashism used (echo -e)
+    when testing for openat et. al. syscall support.
+
+ -- Kel Modderman <[EMAIL PROTECTED]>  Wed, 23 Jul 2008 16:45:43 +1000
 
 insserv (1.11.0-9) unstable; urgency=low
 

Added: branches/insserv-1.11.10/debian/patches/90_fix_bashism_in_makefile.patch
URL: 
http://svn.debian.org/wsvn/initscripts-ng/branches/insserv-1.11.10/debian/patches/90_fix_bashism_in_makefile.patch?rev=797&op=file
==============================================================================
--- branches/insserv-1.11.10/debian/patches/90_fix_bashism_in_makefile.patch 
(added)
+++ branches/insserv-1.11.10/debian/patches/90_fix_bashism_in_makefile.patch 
Wed Jul 23 06:48:29 2008
@@ -1,0 +1,14 @@
+When making insserv on system with dash as /bin/sh; the usage of echo -e
+always causes the syscall support test to fail.
+---
+--- a/Makefile
++++ b/Makefile
+@@ -62,7 +62,7 @@
+ #
+       FUNCTIONS = fstatat openat readlinkat symlinkat unlinkat
+         CTEST = $(CC) -nostdinc -fno-builtin -o /dev/null -xc
+-    cc-function = $(shell echo -e 'void *$(1)();\nint 
main(){return($(1)(0)?0:1);}'|$(CTEST) - -l$(2:lib%=%) > /dev/null 2>&1 && echo 
$(1))
++    cc-function = $(shell printf 'void *$(1)();\nint 
main(){return($(1)(0)?0:1);}'|$(CTEST) - -l$(2:lib%=%) > /dev/null 2>&1 && echo 
$(1))
+ #
+ #
+ #

Modified: branches/insserv-1.11.10/debian/patches/series
URL: 
http://svn.debian.org/wsvn/initscripts-ng/branches/insserv-1.11.10/debian/patches/series?rev=797&op=diff
==============================================================================
--- branches/insserv-1.11.10/debian/patches/series (original)
+++ branches/insserv-1.11.10/debian/patches/series Wed Jul 23 06:48:29 2008
@@ -1,3 +1,4 @@
 10_nosuse.patch
 31_debian_conf.patch
 81_debian_default_start_stop_warnings.patch
+90_fix_bashism_in_makefile.patch


_______________________________________________
Initscripts-ng-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/initscripts-ng-commits

Reply via email to