[packages] libsamplerate:
authorJo-Philipp Wich <jow@openwrt.org>
Wed, 8 Dec 2010 17:07:25 +0000 (17:07 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Wed, 8 Dec 2010 17:07:25 +0000 (17:07 +0000)
- remove private libtool copy
- fix infinite loop in m4 (wtf?!)

SVN-Revision: 24352

libs/libsamplerate/Makefile
libs/libsamplerate/patches/001-fix-m4-loop.patch [new file with mode: 0644]

index c54d590..39659b6 100644 (file)
@@ -16,6 +16,8 @@ PKG_SOURCE_URL:=http://www.mega-nerd.com/SRC/
 PKG_MD5SUM:=ad093e60ec44f0a60de8e29983ddbc0f
 
 PKG_FIXUP:=libtool
+PKG_REMOVE_FILES:=autogen.sh ltmain.sh M4/libtool.m4
+
 PKG_INSTALL:=1
 
 include $(INCLUDE_DIR)/package.mk
diff --git a/libs/libsamplerate/patches/001-fix-m4-loop.patch b/libs/libsamplerate/patches/001-fix-m4-loop.patch
new file mode 100644 (file)
index 0000000..e91499c
--- /dev/null
@@ -0,0 +1,18 @@
+--- a/acinclude.m4
++++ b/acinclude.m4
+@@ -135,7 +135,6 @@ if test $ac_cv_c_byte_order = unknown ; 
+       fi
+ )
+-]
+ if test $ac_cv_c_byte_order = big ; then
+       ac_cv_c_big_endian=1
+@@ -154,6 +153,7 @@ else
+       AC_MSG_WARN([[*****************************************************************]])
+       fi
++]
+ )# AC_C_FIND_ENDIAN