From 306b781c7dc066b0d5d52c201853b33afe90c2a5 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sat, 4 Feb 2012 18:49:44 +0000 Subject: [PATCH] [packages_10.03.2] spandsp: merge r29792 SVN-Revision: 30064 --- libs/spandsp/Makefile | 7 +++---- libs/spandsp/patches/100-compile-fixes.patch | 20 +++++++++++++++----- 2 files changed, 18 insertions(+), 9 deletions(-) diff --git a/libs/spandsp/Makefile b/libs/spandsp/Makefile index 1b6ea5985d..e2054a07bc 100644 --- a/libs/spandsp/Makefile +++ b/libs/spandsp/Makefile @@ -1,5 +1,5 @@ # -# Copyright (C) 2010 OpenWrt.org +# Copyright (C) 2010-2012 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -11,7 +11,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=spandsp PKG_VERSION:=0.0.6 PKG_VERSION_SUFFIX:=pre17 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)$(PKG_VERSION_SUFFIX).tgz PKG_SOURCE_URL:=http://www.soft-switch.org/downloads/spandsp/ @@ -19,6 +19,7 @@ PKG_MD5SUM:=cc860f77270cf3b881f8ccd42d2d0238 PKG_INSTALL:=1 PKG_BUILD_PARALLEL:=1 +PKG_FIXUP:=autoreconf include $(INCLUDE_DIR)/package.mk @@ -29,8 +30,6 @@ define Package/libspandsp DEPENDS:=+libtiff endef -CONFIGURE_ARGS+= LIBS="-Wl,-rpath-link=$(STAGING_DIR)/usr/lib" - TARGET_CFLAGS += $(FPIC) define Build/InstallDev diff --git a/libs/spandsp/patches/100-compile-fixes.patch b/libs/spandsp/patches/100-compile-fixes.patch index 367dc95b56..afe9e33b85 100644 --- a/libs/spandsp/patches/100-compile-fixes.patch +++ b/libs/spandsp/patches/100-compile-fixes.patch @@ -1,8 +1,6 @@ -Index: spandsp-0.0.6/src/spandsp/fast_convert.h -=================================================================== ---- spandsp-0.0.6.orig/src/spandsp/fast_convert.h 2010-10-24 12:20:25.000000000 +0200 -+++ spandsp-0.0.6/src/spandsp/fast_convert.h 2010-10-24 12:21:39.000000000 +0200 -@@ -197,7 +197,7 @@ +--- a/src/spandsp/fast_convert.h ++++ b/src/spandsp/fast_convert.h +@@ -197,7 +197,7 @@ extern "C" { return (long int) (x); } @@ -11,3 +9,15 @@ Index: spandsp-0.0.6/src/spandsp/fast_convert.h static __inline__ long int lfastrint(register double x) { int res[2]; +--- a/configure.ac ++++ b/configure.ac +@@ -152,9 +152,7 @@ AC_ARG_ENABLE(builtin_tiff, + + AC_FUNC_ERROR_AT_LINE + AC_FUNC_VPRINTF +-AC_FUNC_MALLOC + AC_FUNC_MEMCMP +-AC_FUNC_REALLOC + AC_FUNC_SELECT_ARGTYPES + + AX_C99_FUNC_LRINT -- 2.30.2