]> git.pld-linux.org Git - packages/openhpi.git/commitdiff
- sh fix
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 27 Mar 2004 14:05:46 +0000 (14:05 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    openhpi-sh.patch -> 1.1

openhpi-sh.patch [new file with mode: 0644]

diff --git a/openhpi-sh.patch b/openhpi-sh.patch
new file mode 100644 (file)
index 0000000..79b1b05
--- /dev/null
@@ -0,0 +1,20 @@
+--- openhpi-0.6.0/acinclude.m4.orig    2004-03-19 23:43:18.000000000 +0100
++++ openhpi-0.6.0/acinclude.m4 2004-03-27 13:05:57.859305696 +0100
+@@ -41,7 +41,8 @@
+     OH_TYPE_SIZES=`./$OH_SSFILE`
+     # feel free to define more logic here if we need it
+-    
++    oldifs="$IFS"
++    IFS=' '
+     OH_SIZEOF_UCHAR=`echo -e $OH_TYPE_SIZES | grep "^unsigned char" | awk '{print $[3]}'`
+     OH_SIZEOF_USHORT=`echo -e $OH_TYPE_SIZES | grep "^unsigned short" | awk '{print $[3]}'`
+     OH_SIZEOF_UINT=`echo -e $OH_TYPE_SIZES | grep "^unsigned int" | awk '{print $[3]}'`
+@@ -52,6 +53,7 @@
+     OH_SIZEOF_FLOAT=`echo -e $OH_TYPE_SIZES | grep "^float" | awk '{print $[2]}'`
+     OH_SIZEOF_DOUBLE=`echo -e $OH_TYPE_SIZES | grep "^double" | awk '{print $[2]}'`
+     rm -f $OH_SSFILE $OH_SSSOURCE
++    IFS="$oldifs"
+     ])
+ #
This page took 0.084396 seconds and 4 git commands to generate.