summaryrefslogtreecommitdiffstats
path: root/libs/upower/PRE_BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libs/upower/PRE_BUILD')
-rwxr-xr-xlibs/upower/PRE_BUILD4
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/upower/PRE_BUILD b/libs/upower/PRE_BUILD
new file mode 100755
index 0000000000..7875c41012
--- /dev/null
+++ b/libs/upower/PRE_BUILD
@@ -0,0 +1,4 @@
+default_pre_build &&
+message "${MESSAGE_COLOR}Applying glib2 2.28 patch...${DEFAULT_COLOR}" &&
+patch "${SOURCE_DIRECTORY}/src/up-main.c" \
+ "${SPELL_DIRECTORY}/glib2-2.28.patch"