summary refs log tree commit diff
path: root/gnu/packages/patches/cpufrequtils-fix-aclocal.patch
blob: be5767f462d927ed931248d0a64ed4ae36d0ee19 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
Add an extra layer of quoting to ltmain.sh sanity check.

--- a/configure	2005-05-07 14:19:31.000000000 +0200
+++ b/configure	2015-02-10 11:16:32.456146934 +0100
@@ -6266,7 +6266,7 @@
   exit 1
 fi
 gentoo_lt_version="1.5.16"
-gentoo_ltmain_version=`grep '^[:space:]*VERSION=' $ltmain | sed -e 's|^[:space:]*VERSION=||'`
+gentoo_ltmain_version=`grep '^[[:space:]]*VERSION=' $ltmain | sed -e 's|^[[:space:]]*VERSION=||'`
 if test "$gentoo_lt_version" != "$gentoo_ltmain_version"; then
   echo "$as_me:$LINENO: result: no" >&5
 echo "${ECHO_T}no" >&6
--- a/aclocal.m4	2005-05-07 14:19:25.000000000 +0200
+++ b/aclocal.m4	2015-02-10 11:16:15.352030318 +0100
@@ -246,7 +246,7 @@
   exit 1
 fi
 gentoo_lt_version="1.5.16"
-gentoo_ltmain_version=`grep '^[[:space:]]*VERSION=' $ltmain | sed -e 's|^[[:space:]]*VERSION=||'`
+gentoo_ltmain_version=`[grep '^[[:space:]]*VERSION=' $ltmain | sed -e 's|^[[:space:]]*VERSION=||']`
 if test "$gentoo_lt_version" != "$gentoo_ltmain_version"; then
   AC_MSG_RESULT(no)
   echo
--- a/libcpufreq/configure	2005-05-07 14:19:31.000000000 +0200
+++ b/libcpufreq/configure	2015-02-10 11:16:32.456146934 +0100
@@ -6266,7 +6266,7 @@
   exit 1
 fi
 gentoo_lt_version="1.5.16"
-gentoo_ltmain_version=`grep '^[:space:]*VERSION=' $ltmain | sed -e 's|^[:space:]*VERSION=||'`
+gentoo_ltmain_version=`grep '^[[:space:]]*VERSION=' $ltmain | sed -e 's|^[[:space:]]*VERSION=||'`
 if test "$gentoo_lt_version" != "$gentoo_ltmain_version"; then
   echo "$as_me:$LINENO: result: no" >&5
 echo "${ECHO_T}no" >&6
--- a/libcpufreq/aclocal.m4	2005-05-07 14:19:25.000000000 +0200
+++ b/libcpufreq/aclocal.m4	2015-02-10 11:16:15.352030318 +0100
@@ -246,7 +246,7 @@
   exit 1
 fi
 gentoo_lt_version="1.5.16"
-gentoo_ltmain_version=`grep '^[[:space:]]*VERSION=' $ltmain | sed -e 's|^[[:space:]]*VERSION=||'`
+gentoo_ltmain_version=`[grep '^[[:space:]]*VERSION=' $ltmain | sed -e 's|^[[:space:]]*VERSION=||']`
 if test "$gentoo_lt_version" != "$gentoo_ltmain_version"; then
   AC_MSG_RESULT(no)
   echo