kexec-tools: add patch for autoconf >2.63 to version 1.101.
authorAndrea Adami <andrea.adami@gmail.com>
Tue, 6 Jul 2010 23:04:33 +0000 (01:04 +0200)
committerAndrea Adami <andrea.adami@gmail.com>
Tue, 6 Jul 2010 23:04:33 +0000 (01:04 +0200)
* taken from kexec-tools-2.0.1 recipe
* bump PR.

recipes/kexec-tools/kexec-tools-1.101/kexec-tools-autoconf-post-2.63.patch [new file with mode: 0644]
recipes/kexec-tools/kexec-tools.inc
recipes/kexec-tools/kexec-tools_1.101.bb

diff --git a/recipes/kexec-tools/kexec-tools-1.101/kexec-tools-autoconf-post-2.63.patch b/recipes/kexec-tools/kexec-tools-1.101/kexec-tools-autoconf-post-2.63.patch
new file mode 100644 (file)
index 0000000..f6d192b
--- /dev/null
@@ -0,0 +1,45 @@
+Index: kexec-tools-1.101/configure.ac
+===================================================================
+--- kexec-tools-1.101/configure.ac.old 2010-07-07 00:58:37.000000000 +0200
++++ kexec-tools-1.101/configure.ac     2010-07-07 00:59:39.000000000 +0200
+@@ -100,23 +100,23 @@
+ BUILD_CFLAGS='-O2 -Wall $(CPPFLAGS)'
+ dnl ---Sanity checks
+-if test "$CC"      = "no"; then AC_MSG_ERROR([cc not found]) fi
+-if test "$CPP"     = "no"; then AC_MSG_ERROR([cpp not found]) fi
+-if test "$LD"      = "no"; then AC_MSG_ERROR([ld not found]) fi
+-if test "$AS"      = "no"; then AC_MSG_ERROR([as not found]) fi
+-if test "$OBJCOPY" = "no"; then       AC_MSG_ERROR([objcopy not found]) fi
+-if test "$AR"      = "no"; then       AC_MSG_ERROR([ar not found]) fi
+-
+-if test "$MKDIR"   = "no"; then AC_MSG_ERROR([ mkdir not found]) fi 
+-if test "$RM"      = "no"; then AC_MSG_ERROR([ rm not found]) fi    
+-if test "$CP"      = "no"; then AC_MSG_ERROR([ cp not found]) fi    
+-if test "$LN"      = "no"; then AC_MSG_ERROR([ ln not found]) fi    
+-if test "$TAR"     = "no"; then AC_MSG_ERROR([ tar not found]) fi   
+-if test "$RPM"     = "no"; then AC_MSG_ERROR([ rpm not found]) fi   
+-if test "$SED"     = "no"; then AC_MSG_ERROR([ sed not found]) fi   
+-if test "$FIND"    = "no"; then AC_MSG_ERROR([ find not found]) fi  
+-if test "$XARGS"   = "no"; then AC_MSG_ERROR([ xargs not found]) fi 
+-if test "$DIRNAME" = "no"; then AC_MSG_ERROR([ dirname not found]) fi 
++if test "$CC"      = "no"; then AC_MSG_ERROR([cc not found]); fi
++if test "$CPP"     = "no"; then AC_MSG_ERROR([cpp not found]); fi
++if test "$LD"      = "no"; then AC_MSG_ERROR([ld not found]); fi
++if test "$AS"      = "no"; then AC_MSG_ERROR([as not found]); fi
++if test "$OBJCOPY" = "no"; then       AC_MSG_ERROR([objcopy not found]); fi
++if test "$AR"      = "no"; then       AC_MSG_ERROR([ar not found]); fi
++
++if test "$MKDIR"   = "no"; then AC_MSG_ERROR([ mkdir not found]); fi 
++if test "$RM"      = "no"; then AC_MSG_ERROR([ rm not found]); fi    
++if test "$CP"      = "no"; then AC_MSG_ERROR([ cp not found]); fi    
++if test "$LN"      = "no"; then AC_MSG_ERROR([ ln not found]); fi    
++if test "$TAR"     = "no"; then AC_MSG_ERROR([ tar not found]); fi   
++if test "$RPM"     = "no"; then AC_MSG_ERROR([ rpm not found]); fi   
++if test "$SED"     = "no"; then AC_MSG_ERROR([ sed not found]); fi   
++if test "$FIND"    = "no"; then AC_MSG_ERROR([ find not found]); fi  
++if test "$XARGS"   = "no"; then AC_MSG_ERROR([ xargs not found]); fi 
++if test "$DIRNAME" = "no"; then AC_MSG_ERROR([ dirname not found]); fi 
+ dnl ---Output variables...
index 0ff1c31..eb84d56 100644 (file)
@@ -10,4 +10,7 @@ inherit autotools
 
 SRC_URI = "http://www.xmission.com/~ebiederm/files/kexec/kexec-tools-${PV}.tar.gz \
            file://kexec-tools-arm.patch \
-           file://kexec-arm-atags.patch"
+           file://kexec-arm-atags.patch \
+           file://kexec-tools-autoconf-post-2.63.patch \
+           "
+
index 3a11b35..17315d5 100644 (file)
@@ -2,7 +2,7 @@ require kexec-tools.inc
 export LDFLAGS = "-L${STAGING_LIBDIR}"
 EXTRA_OECONF = " --with-zlib=yes"
 
-PR = "r5"
+PR = "r6"
 
 SRC_URI[md5sum] = "b4f7ffcc294d41a6a4c40d6e44b7734d"
 SRC_URI[sha256sum] = "280b34fefa12c3d7a3e432c3730fe5d0d56e8d169c28b695cce9ba6d8dbe6e38"