summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPol Vinogradov2010-12-23 19:45:40 -0500
committerPol Vinogradov2010-12-23 19:45:40 -0500
commit9fc2d80351a13533152d9fd0f8d2ed0258a2fdd7 (patch)
tree64cf340ff4ecb8c32e4e63df9986d7b5b0588660
parent25f3e6202d771f5bafe1ce03cb4643a12bdd4876 (diff)
xorg-apps/compiz: added PRE_BUILD to fix compiling with gtk
-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