From f5dde89f8ea37ff8aa54dfa405bbcfb5ff781635 Mon Sep 17 00:00:00 2001 From: Matteo Bernardini Date: Tue, 8 Feb 2022 10:46:56 +0100 Subject: desktop/XDecorations: Patch for the newer gcc. Signed-off-by: Matteo Bernardini Signed-off-by: Willy Sudiarto Raharjo --- desktop/XDecorations/XDecorations.SlackBuild | 1 + desktop/XDecorations/gcc.patch | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 desktop/XDecorations/gcc.patch (limited to 'desktop/XDecorations') diff --git a/desktop/XDecorations/XDecorations.SlackBuild b/desktop/XDecorations/XDecorations.SlackBuild index 8dcd9a1d47..8ef275ea12 100644 --- a/desktop/XDecorations/XDecorations.SlackBuild +++ b/desktop/XDecorations/XDecorations.SlackBuild @@ -79,6 +79,7 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +patch -p1 < $CWD/gcc.patch patch < $CWD/makefile.patch make diff --git a/desktop/XDecorations/gcc.patch b/desktop/XDecorations/gcc.patch new file mode 100644 index 0000000000..a2b95a08bd --- /dev/null +++ b/desktop/XDecorations/gcc.patch @@ -0,0 +1,18 @@ +diff -Naur XDecorations-0.1.7.orig/xdecorations.cpp XDecorations-0.1.7/xdecorations.cpp +--- XDecorations-0.1.7.orig/xdecorations.cpp 2014-12-21 16:32:53.000000000 +0100 ++++ XDecorations-0.1.7/xdecorations.cpp 2022-02-08 10:43:41.415924000 +0100 +@@ -1,4 +1,4 @@ +-#if 0 ++/* + ©Keith Hedger Mon 20 Oct 14:21:11 BST 2014 kdhedger68713@gmail.com + * This program is free software; + you can redistribute it and/or modify +@@ -19,7 +19,7 @@ + * Foundation,Inc.,59 Temple Place,Suite 330,Boston,MA 02111-1307 USA + + * toon_root.c Copyright (C) 1999-2001 Robin Hogan +-#endif ++*/ + + #include + #include -- cgit v1.2.3-65-gdbad