summaryrefslogtreecommitdiff
path: root/x11-wm/compiz/files/compiz-gcc-4.7.patch
diff options
context:
space:
mode:
authorBlackNoxis <steven.darklight@gmail.com>2015-02-07 14:41:11 +0200
committerBlackNoxis <steven.darklight@gmail.com>2015-02-07 14:41:11 +0200
commit46aa2d6b49bd0bbcc030e1af9df6e317afeb8370 (patch)
tree160fdd4e9e701c6e840df5221e174e7eddd0c3f3 /x11-wm/compiz/files/compiz-gcc-4.7.patch
parent3884e76580b91fd65999af449739dd4765455316 (diff)
Added plugins and compiz wm
Diffstat (limited to 'x11-wm/compiz/files/compiz-gcc-4.7.patch')
-rw-r--r--x11-wm/compiz/files/compiz-gcc-4.7.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/x11-wm/compiz/files/compiz-gcc-4.7.patch b/x11-wm/compiz/files/compiz-gcc-4.7.patch
new file mode 100644
index 00000000..28315bae
--- /dev/null
+++ b/x11-wm/compiz/files/compiz-gcc-4.7.patch
@@ -0,0 +1,38 @@
+--- kde/window-decorator-kde4/window.cpp 2010-05-21 11:18:14.000000000 +0000
++++ kde/window-decorator-kde4/window.cpp 2012-09-12 18:05:00.000000000 +0000
+@@ -59,6 +59,9 @@
+
+ #include "paintredirector.h"
+
++// header for gcc-4.7 compatibility
++#include "unistd.h"
++
+ KWD::Window::Window (WId parentId,
+ WId clientId,
+ WId frame,
+--- configure.ac.orig 2012-09-12 23:39:54.093812000 +0400
++++ configure.ac 2012-09-12 23:40:37.253686000 +0400
+@@ -72,11 +72,6 @@
+ *) CFLAGS="$CFLAGS -Wnested-externs" ;;
+ esac
+
+- case " $CFLAGS " in
+- *[[\ \ ]]-D_FORTIFY_SOURCE=2[[\ \ ]]*) ;;
+- *) CFLAGS="$CFLAGS -D_FORTIFY_SOURCE=2" ;;
+- esac
+-
+ if test "x$enable_ansi" = "xyes"; then
+ case " $CFLAGS " in
+ *[[\ \ ]]-ansi[[\ \ ]]*) ;;
+@@ -95,11 +90,6 @@
+ *[[\ \ ]]-Wall[[\ \ ]]*) ;;
+ *) CXXFLAGS="$CXXFLAGS -Wall" ;;
+ esac
+-
+- case " $CXXFLAGS " in
+- *[[\ \ ]]-D_FORTIFY_SOURCE=2[[\ \ ]]*) ;;
+- *) CXXFLAGS="$CXXFLAGS -D_FORTIFY_SOURCE=2" ;;
+- esac
+ fi
+
+ AC_C_BIGENDIAN