summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xorg-app/compiz/HISTORY3
-rwxr-xr-xxorg-app/compiz/PRE_BUILD4
2 files changed, 7 insertions, 0 deletions
diff --git a/xorg-app/compiz/HISTORY b/xorg-app/compiz/HISTORY
index 1e4fef42e1..18a1d4be07 100644
--- a/xorg-app/compiz/HISTORY
+++ b/xorg-app/compiz/HISTORY
@@ -1,3 +1,6 @@
+2010-12-23 Pol Vinogradov <vin.public@gmail.com>
+ * PRE_BUILD: added to fix compiling with gtk
+
2010-04-19 Arjan Bouter <abouter@sourcemage.org>
* DETAILS: version 0.8.6
diff --git a/xorg-app/compiz/PRE_BUILD b/xorg-app/compiz/PRE_BUILD
new file mode 100755
index 0000000000..872625e41c
--- /dev/null
+++ b/xorg-app/compiz/PRE_BUILD
@@ -0,0 +1,4 @@
+default_pre_build &&
+cd ${SOURCE_DIRECTORY} &&
+
+sed -i 's/gdk_display\([,;]\)/GDK_DISPLAY_XDISPLAY (gdk_display_get_default ())\1/g' gtk/window-decorator/gtk-window-decorator.c