aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--desktop/XDecorations/XDecorations.SlackBuild1
-rw-r--r--desktop/XDecorations/gcc.patch18
2 files changed, 19 insertions, 0 deletions
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 <X11/Intrinsic.h>
+ #include <X11/Xlib.h>