diff -Nru linphone-5.2.0/debian/changelog linphone-5.2.0/debian/changelog --- linphone-5.2.0/debian/changelog 2024-03-01 14:40:46.000000000 +0800 +++ linphone-5.2.0/debian/changelog 2024-10-07 18:31:25.000000000 +0800 @@ -1,3 +1,9 @@ +linphone (5.2.0-4.4) UNRELEASED; urgency=medium + + * fix definition error in coreapi/lpconfig.c + + -- Gui-Yue Mon, 07 Oct 2024 18:31:25 +0800 + linphone (5.2.0-4.3) unstable; urgency=medium * Non-maintainer upload. diff -Nru linphone-5.2.0/debian/patches/fix_compile_failed.patch linphone-5.2.0/debian/patches/fix_compile_failed.patch --- linphone-5.2.0/debian/patches/fix_compile_failed.patch 1970-01-01 08:00:00.000000000 +0800 +++ linphone-5.2.0/debian/patches/fix_compile_failed.patch 2024-10-07 18:30:39.000000000 +0800 @@ -0,0 +1,11 @@ +--- a/coreapi/lpconfig.c ++++ b/coreapi/lpconfig.c +@@ -67,7 +67,7 @@ + #define RENAME_REQUIRES_NONEXISTENT_NEW_PATH 1 + #endif + +-#define lp_new0(type,n) (type*)calloc(sizeof(type),n) ++#define lp_new0(type,n) (type*)calloc(n, sizeof(type)) + + #include "linphone/lpconfig.h" + #include "lpc2xml.h" diff -Nru linphone-5.2.0/debian/patches/series linphone-5.2.0/debian/patches/series --- linphone-5.2.0/debian/patches/series 2024-01-30 22:41:40.000000000 +0800 +++ linphone-5.2.0/debian/patches/series 2024-10-07 18:29:56.000000000 +0800 @@ -16,3 +16,4 @@ fix-L_STRING_TO_C-inlining-errors.patch bc-b52e8f62-build-with-gcc13.patch use-cxx17-standard.patch +fix_compile_failed.patch