From a52448012c74a63ece816ee2d1e05464a6fc7c33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sun, 22 Sep 2024 16:10:26 +0200 Subject: compiz-fusion-plugins-extra: Fix implicit declaration for malloc and free that cause FTBFS. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- .../debian/changelog | 6 + .../02-malloc-free-implicit-declaration.diff | 146 +++++++++++++++++++++ .../debian/patches/series | 1 + 3 files changed, 153 insertions(+) create mode 100644 debian/compiz-fusion-plugins-extra-trinity/compiz-fusion-plugins-extra-trinity-0.8.4/debian/patches/02-malloc-free-implicit-declaration.diff diff --git a/debian/compiz-fusion-plugins-extra-trinity/compiz-fusion-plugins-extra-trinity-0.8.4/debian/changelog b/debian/compiz-fusion-plugins-extra-trinity/compiz-fusion-plugins-extra-trinity-0.8.4/debian/changelog index a9df3e15..a995f492 100644 --- a/debian/compiz-fusion-plugins-extra-trinity/compiz-fusion-plugins-extra-trinity-0.8.4/debian/changelog +++ b/debian/compiz-fusion-plugins-extra-trinity/compiz-fusion-plugins-extra-trinity-0.8.4/debian/changelog @@ -1,3 +1,9 @@ +compiz-fusion-plugins-extra-trinity (0.8.4-3debian13.0.0+6~a) trixie; urgency=low + + * Fix implicit declaration for malloc and free that cause FTBFS. + + -- Slávek Banko Sun, 22 Sep 2023 16:09:35 +0200 + compiz-fusion-plugins-extra-trinity (0.8.4-3debian13.0.0+5~a) trixie; urgency=low * Build without support for gconf. diff --git a/debian/compiz-fusion-plugins-extra-trinity/compiz-fusion-plugins-extra-trinity-0.8.4/debian/patches/02-malloc-free-implicit-declaration.diff b/debian/compiz-fusion-plugins-extra-trinity/compiz-fusion-plugins-extra-trinity-0.8.4/debian/patches/02-malloc-free-implicit-declaration.diff new file mode 100644 index 00000000..4d10271e --- /dev/null +++ b/debian/compiz-fusion-plugins-extra-trinity/compiz-fusion-plugins-extra-trinity-0.8.4/debian/patches/02-malloc-free-implicit-declaration.diff @@ -0,0 +1,146 @@ +Index: compiz-fusion-plugins-extra-trinity-0.8.4/src/addhelper/addhelper.c +=================================================================== +--- compiz-fusion-plugins-extra-trinity-0.8.4.orig/src/addhelper/addhelper.c ++++ compiz-fusion-plugins-extra-trinity-0.8.4/src/addhelper/addhelper.c +@@ -24,6 +24,7 @@ + */ + + #include ++#include + #include "addhelper_options.h" + + #define GET_ADD_DISPLAY(d) \ +Index: compiz-fusion-plugins-extra-trinity-0.8.4/src/bench/bench.c +=================================================================== +--- compiz-fusion-plugins-extra-trinity-0.8.4.orig/src/bench/bench.c ++++ compiz-fusion-plugins-extra-trinity-0.8.4/src/bench/bench.c +@@ -21,6 +21,7 @@ + **/ + + #include ++#include + + #include "bench_tex.h" + #include "bench_options.h" +Index: compiz-fusion-plugins-extra-trinity-0.8.4/src/firepaint/firepaint.c +=================================================================== +--- compiz-fusion-plugins-extra-trinity-0.8.4.orig/src/firepaint/firepaint.c ++++ compiz-fusion-plugins-extra-trinity-0.8.4/src/firepaint/firepaint.c +@@ -20,6 +20,7 @@ + */ + + #include ++#include + + #include "firepaint_options.h" + #include "firepaint_tex.h" +Index: compiz-fusion-plugins-extra-trinity-0.8.4/src/loginout/loginout.c +=================================================================== +--- compiz-fusion-plugins-extra-trinity-0.8.4.orig/src/loginout/loginout.c ++++ compiz-fusion-plugins-extra-trinity-0.8.4/src/loginout/loginout.c +@@ -20,6 +20,7 @@ + */ + + #include ++#include + + #include "loginout_options.h" + +Index: compiz-fusion-plugins-extra-trinity-0.8.4/src/mblur/mblur.c +=================================================================== +--- compiz-fusion-plugins-extra-trinity-0.8.4.orig/src/mblur/mblur.c ++++ compiz-fusion-plugins-extra-trinity-0.8.4/src/mblur/mblur.c +@@ -20,7 +20,7 @@ + */ + + #include +- ++#include + #include + + #include "mblur_options.h" +Index: compiz-fusion-plugins-extra-trinity-0.8.4/src/reflex/reflex.c +=================================================================== +--- compiz-fusion-plugins-extra-trinity-0.8.4.orig/src/reflex/reflex.c ++++ compiz-fusion-plugins-extra-trinity-0.8.4/src/reflex/reflex.c +@@ -19,6 +19,7 @@ + * + */ + #include ++#include + + #include "reflex_options.h" + +Index: compiz-fusion-plugins-extra-trinity-0.8.4/src/shelf/shelf.c +=================================================================== +--- compiz-fusion-plugins-extra-trinity-0.8.4.orig/src/shelf/shelf.c ++++ compiz-fusion-plugins-extra-trinity-0.8.4/src/shelf/shelf.c +@@ -33,6 +33,7 @@ + #include + #include + #include ++#include + #include + #include "shelf_options.h" + +Index: compiz-fusion-plugins-extra-trinity-0.8.4/src/showmouse/showmouse.c +=================================================================== +--- compiz-fusion-plugins-extra-trinity-0.8.4.orig/src/showmouse/showmouse.c ++++ compiz-fusion-plugins-extra-trinity-0.8.4/src/showmouse/showmouse.c +@@ -21,6 +21,7 @@ + */ + + #include ++#include + #include + + #include +Index: compiz-fusion-plugins-extra-trinity-0.8.4/src/splash/splash.c +=================================================================== +--- compiz-fusion-plugins-extra-trinity-0.8.4.orig/src/splash/splash.c ++++ compiz-fusion-plugins-extra-trinity-0.8.4/src/splash/splash.c +@@ -20,7 +20,7 @@ + */ + + #include +- ++#include + #include + #include + +Index: compiz-fusion-plugins-extra-trinity-0.8.4/src/trailfocus/trailfocus.c +=================================================================== +--- compiz-fusion-plugins-extra-trinity-0.8.4.orig/src/trailfocus/trailfocus.c ++++ compiz-fusion-plugins-extra-trinity-0.8.4/src/trailfocus/trailfocus.c +@@ -25,6 +25,7 @@ + * + */ + ++#include + #include + #include + #include "trailfocus_options.h" +Index: compiz-fusion-plugins-extra-trinity-0.8.4/src/wallpaper/wallpaper.c +=================================================================== +--- compiz-fusion-plugins-extra-trinity-0.8.4.orig/src/wallpaper/wallpaper.c ++++ compiz-fusion-plugins-extra-trinity-0.8.4/src/wallpaper/wallpaper.c +@@ -21,6 +21,7 @@ + */ + + #include ++#include + #include + #include + +Index: compiz-fusion-plugins-extra-trinity-0.8.4/src/widget/widget.c +=================================================================== +--- compiz-fusion-plugins-extra-trinity-0.8.4.orig/src/widget/widget.c ++++ compiz-fusion-plugins-extra-trinity-0.8.4/src/widget/widget.c +@@ -26,6 +26,7 @@ + * + */ + ++#include + #include + #include + #include diff --git a/debian/compiz-fusion-plugins-extra-trinity/compiz-fusion-plugins-extra-trinity-0.8.4/debian/patches/series b/debian/compiz-fusion-plugins-extra-trinity/compiz-fusion-plugins-extra-trinity-0.8.4/debian/patches/series index 48023fa3..6121184b 100644 --- a/debian/compiz-fusion-plugins-extra-trinity/compiz-fusion-plugins-extra-trinity-0.8.4/debian/patches/series +++ b/debian/compiz-fusion-plugins-extra-trinity/compiz-fusion-plugins-extra-trinity-0.8.4/debian/patches/series @@ -1,3 +1,4 @@ crash_fix_4082dc3c.patch 01-disable-gconf.patch +02-malloc-free-implicit-declaration.diff -- cgit v1.2.1