diff -Nru kamailio-5.6.1/debian/changelog kamailio-5.6.1/debian/changelog --- kamailio-5.6.1/debian/changelog 2022-07-11 11:55:42.000000000 +0000 +++ kamailio-5.6.1/debian/changelog 2022-07-30 02:56:41.000000000 +0000 @@ -1,3 +1,10 @@ +kamailio (5.6.1-1+rpi1) bookworm-staging; urgency=medium + + [changes brought forward from 5.5.3-2+rpi1 by Peter Michael Green at Tue, 15 Feb 2022 05:45:40 +0000] + * Remove supirious dash before CC_OPT + + -- Raspbian forward porter Sat, 30 Jul 2022 02:56:41 +0000 + kamailio (5.6.1-1) unstable; urgency=medium * add AUTHORS file to all packages diff -Nru kamailio-5.6.1/debian/patches/remove-supirious-dash.patch kamailio-5.6.1/debian/patches/remove-supirious-dash.patch --- kamailio-5.6.1/debian/patches/remove-supirious-dash.patch 1970-01-01 00:00:00.000000000 +0000 +++ kamailio-5.6.1/debian/patches/remove-supirious-dash.patch 2022-07-30 02:56:41.000000000 +0000 @@ -0,0 +1,34 @@ +Description: Remove supirious dash before CC_OPT +Author: Peter Michael Green + +--- kamailio-5.5.3.orig/src/Makefile.defs ++++ kamailio-5.5.3/src/Makefile.defs +@@ -1300,7 +1300,7 @@ ifeq ($(ARCH), arm6) + ifeq ($(CC_NAME), gcc) + C_DEFS+=-DCC_GCC_LIKE_ASM + #common stuff +- CFLAGS+=-$(CC_OPT) -funroll-loops -fsigned-char \ ++ CFLAGS+=$(CC_OPT) -funroll-loops -fsigned-char \ + $(PROFILE) + #if gcc 7.0+, 6.0+, 5.0+, 4.5+ or 4.2+ + ifeq (,$(strip $(filter-out 4.2+ 4.5+ 5.0+ 6.0+ 7.0+ 8.0+ 9.0+,$(CC_SHORTVER)))) +@@ -1347,7 +1347,7 @@ ifeq ($(ARCH), arm7) + ifeq ($(CC_NAME), gcc) + C_DEFS+=-DCC_GCC_LIKE_ASM + #common stuff +- CFLAGS+=-$(CC_OPT) -funroll-loops -fsigned-char \ ++ CFLAGS+=$(CC_OPT) -funroll-loops -fsigned-char \ + $(PROFILE) + #if gcc 7.0+, 6.0+, 5.0+, 4.5+ or 4.2+ + ifeq (,$(strip $(filter-out 4.2+ 4.5+ 5.0+ 6.0+ 7.0+ 8.0+ 9.0+,$(CC_SHORTVER)))) +--- kamailio-5.5.3.orig/src/Makefile.rules ++++ kamailio-5.5.3/src/Makefile.rules +@@ -97,6 +97,8 @@ exec_cmd= $(if $($(quiet)_cmd_$(1)),\ + + #implicit rules + %.o:%.c $(ALLDEP) ++ echo CFLAGS=$(CFLAGS) ++ echo CC_OPT=$(CC_OPT) + $(call exec_cmd,CC) + @$(call cmd_MKDEP) + diff -Nru kamailio-5.6.1/debian/patches/series kamailio-5.6.1/debian/patches/series --- kamailio-5.6.1/debian/patches/series 2022-07-11 11:55:42.000000000 +0000 +++ kamailio-5.6.1/debian/patches/series 2022-07-30 02:56:41.000000000 +0000 @@ -4,3 +4,4 @@ fix_export.patch no_tls_openssl_mutex_shared_util.patch 0001-Stop-setting-march-on-arm.patch +remove-supirious-dash.patch