summaryrefslogtreecommitdiff
path: root/net/asterisk22/files/extra-patch-third-party_pjproject_Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/asterisk22/files/extra-patch-third-party_pjproject_Makefile')
-rw-r--r--net/asterisk22/files/extra-patch-third-party_pjproject_Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/asterisk22/files/extra-patch-third-party_pjproject_Makefile b/net/asterisk22/files/extra-patch-third-party_pjproject_Makefile
new file mode 100644
index 000000000000..87eef1e94182
--- /dev/null
+++ b/net/asterisk22/files/extra-patch-third-party_pjproject_Makefile
@@ -0,0 +1,11 @@
+--- third-party/pjproject/Makefile.orig 2022-02-03 12:25:09 UTC
++++ third-party/pjproject/Makefile
+@@ -212,7 +208,7 @@ $(ALL_LIB_FILES): source/build.mak source/pjlib/includ
+
+ pjproject.symbols: $(ALL_LIB_FILES)
+ $(ECHO_PREFIX) Generating symbols
+- $(CMD_PREFIX) $(NM) -Pog $(ALL_LIB_FILES) | $(SED) -n -E -e "s/.+: ([_]?[pP][jJ][^ ]+) .+/\1/gp" | sort -u > pjproject.symbols
++ $(CMD_PREFIX) $(NM) -Pog $(ALL_LIB_FILES) | $(SED) -n -r -e "s/^([pP][jJ][^ ]+) .+/\1/gp" | sort -u > pjproject.symbols
+
+ source/pjsip-apps/src/asterisk_malloc_debug.c: patches/asterisk_malloc_debug.c
+ $(ECHO_PREFIX) Copying $< to $@