summaryrefslogtreecommitdiffstats
path: root/gnome2-libs
diff options
context:
space:
mode:
authorIsmael Luceno2019-05-31 18:05:20 +0200
committerIsmael Luceno2019-05-31 18:54:16 +0200
commit23a29d8b54c005f0646d2a1bfd1cafbbe3151273 (patch)
tree766948e68fdfc2b2c8c1367e680e67d832051c4d /gnome2-libs
parentb0ce13ae1844b90653115371b7c850b9f8acd355 (diff)
libidl: Fix build against musl
Diffstat (limited to 'gnome2-libs')
-rw-r--r--gnome2-libs/libidl/HISTORY3
-rwxr-xr-xgnome2-libs/libidl/PRE_BUILD3
2 files changed, 5 insertions, 1 deletions
diff --git a/gnome2-libs/libidl/HISTORY b/gnome2-libs/libidl/HISTORY
index be037ab72d..80d583d1c8 100644
--- a/gnome2-libs/libidl/HISTORY
+++ b/gnome2-libs/libidl/HISTORY
@@ -1,3 +1,6 @@
+2019-05-31 Ismael Luceno <ismael@sourcemage.org>
+ * PRE_BUILD: Fixed build against musl
+
2014-09-09 Remko van der Vossen <wich@sourcemage.org>
DETAILS: pcre
diff --git a/gnome2-libs/libidl/PRE_BUILD b/gnome2-libs/libidl/PRE_BUILD
index 178eceb40b..10f45c2594 100755
--- a/gnome2-libs/libidl/PRE_BUILD
+++ b/gnome2-libs/libidl/PRE_BUILD
@@ -1,4 +1,5 @@
default_pre_build &&
cd "$SOURCE_DIRECTORY" &&
-patch -p1 < "$SPELL_DIRECTORY/libIDL-0.8.9-flex_fix.patch"
+patch -p1 < "$SPELL_DIRECTORY/libIDL-0.8.9-flex_fix.patch" &&
+sedit 's!maybe_os in$!& linux-musl*|\\!' config.sub