asterisk11: disable some pjproject configure args
authorJiri Slachta <slachta@cesnet.cz>
Sun, 2 Jun 2013 12:12:34 +0000 (14:12 +0200)
committerJiri Slachta <slachta@cesnet.cz>
Sun, 2 Jun 2013 12:12:34 +0000 (14:12 +0200)
Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
asterisk-11.x/Makefile
asterisk-11.x/patches/001-pjproject-change-configure-args.patch [new file with mode: 0644]
asterisk-11.x/patches/010-asterisk-configure-undef-res-ninit.patch

index 000ad9f..5628fb0 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=asterisk11
 PKG_VERSION:=11.4.0
-PKG_RELEASE:=4
+PKG_RELEASE:=5
 
 PKG_SOURCE:=asterisk-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://downloads.asterisk.org/pub/telephony/asterisk/releases/
diff --git a/asterisk-11.x/patches/001-pjproject-change-configure-args.patch b/asterisk-11.x/patches/001-pjproject-change-configure-args.patch
new file mode 100644 (file)
index 0000000..71774af
--- /dev/null
@@ -0,0 +1,11 @@
+--- asterisk-11.4.0/res/Makefile       2013-02-04 20:50:52.000000000 +0100
++++ asterisk11-new/res/Makefile        2013-06-02 13:51:22.269684111 +0200
+@@ -74,7 +74,7 @@ dist-clean::
+       rm -f pjproject/build.mak
+ pjproject/build.mak: pjproject/aconfigure
+-      (cd pjproject && CFLAGS="-fPIC" ./configure --build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM) --disable-floating-point --disable-sound --disable-oss --disable-speex-aec --disable-l16-codec --disable-gsm-codec --disable-g722-codec --disable-g7221-codec --disable-speex-codec --disable-ilbc-codec --disable-g711-codec)
++      (cd pjproject && CFLAGS="-fPIC" ./configure --build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM) --disable-floating-point --disable-sound  --disable-oss --disable-speex-aec --disable-l16-codec --disable-gsm-codec --disable-g722-codec --disable-g7221-codec --disable-speex-codec --disable-ilbc-codec --disable-g711-codec --disable-opencore-amrnb --disable-video --disable-sdl --disable-ffmpeg --disable-v4l2)
+ ifneq ($(findstring $(MAKECMDGOALS),all),)
+ -include pjproject/build.mak
index e09b790..d0587ed 100644 (file)
@@ -1,6 +1,6 @@
 --- a/configure
 +++ b/configure
-@@ -16353,7 +16353,6 @@
+@@ -16383,7 +16383,6 @@
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  $as_echo "yes" >&6; }