summaryrefslogtreecommitdiffstats
path: root/gnome2-libs/orbit2/PRE_BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'gnome2-libs/orbit2/PRE_BUILD')
-rwxr-xr-xgnome2-libs/orbit2/PRE_BUILD6
1 files changed, 6 insertions, 0 deletions
diff --git a/gnome2-libs/orbit2/PRE_BUILD b/gnome2-libs/orbit2/PRE_BUILD
new file mode 100755
index 0000000000..577147830d
--- /dev/null
+++ b/gnome2-libs/orbit2/PRE_BUILD
@@ -0,0 +1,6 @@
+default_pre_build &&
+
+# Remove error on deprecated glib2 symbols
+for file in linc2/src/Makefile{.am,.in}; do
+ sedit 's:-DG_DISABLE_DEPRECATED::' "${SOURCE_DIRECTORY}"/"${file}"
+done