aboutsummaryrefslogtreecommitdiffstats
path: root/testing/asterisk/ASTERISK-20362.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/asterisk/ASTERISK-20362.patch')
-rw-r--r--testing/asterisk/ASTERISK-20362.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/testing/asterisk/ASTERISK-20362.patch b/testing/asterisk/ASTERISK-20362.patch
new file mode 100644
index 0000000000..a64489784d
--- /dev/null
+++ b/testing/asterisk/ASTERISK-20362.patch
@@ -0,0 +1,30 @@
+diff --git a/res/Makefile b/res/Makefile
+index bfbca76..c2ad23b 100644
+--- a/res/Makefile
++++ b/res/Makefile
+@@ -67,17 +67,20 @@ endif
+ ael/pval.o: ael/pval.c
+
+ clean::
++ ${MAKE} -C pjproject clean
+ rm -f snmp/*.o snmp/*.i ael/*.o ael/*.i ais/*.o ais/*.i
+
+ pjproject/build.mak:
+ cd pjproject && ./configure AR="" CFLAGS=-fPIC --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
+
+-include pjproject/build.mak
++pjproject.stamp: pjproject/build.mak
++ ${MAKE} -j1 -C pjproject dep
++ ${MAKE} -j1 -C pjproject
++ touch pjproject.stamp
+
+-res_rtp_asterisk.o: pjproject/build.mak $(PJ_LIB_FILES)
++-include pjproject/build.mak
++
++res_rtp_asterisk.o: pjproject.stamp
+ res_rtp_asterisk.o: _ASTCFLAGS+=$(PJ_CFLAGS)
+ res_rtp_asterisk.so: _ASTLDFLAGS+=$(PJ_LDFLAGS)
+ res_rtp_asterisk.so: LIBS+=$(PJ_LDLIBS)
+-
+-$(PJ_LIB_FILES):
+- cd pjproject && make dep && make