summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIsmael Luceno2022-06-16 20:12:47 +0200
committerIsmael Luceno2022-06-16 23:53:32 +0200
commit4021100b18000f0a693825619ba58f3f5264f32f (patch)
tree373571f3a40e7873b7d23557b04f1d827971f5c4
parent43abe9729a846cf2cffcd399daf994692fbdbb92 (diff)
gtkimageview: Fix build against musl
-rw-r--r--graphics-libs/gtkimageview/HISTORY3
-rwxr-xr-xgraphics-libs/gtkimageview/PRE_BUILD3
2 files changed, 5 insertions, 1 deletions
diff --git a/graphics-libs/gtkimageview/HISTORY b/graphics-libs/gtkimageview/HISTORY
index 036ddf8db9..9a8ccf8662 100644
--- a/graphics-libs/gtkimageview/HISTORY
+++ b/graphics-libs/gtkimageview/HISTORY
@@ -1,3 +1,6 @@
+2022-06-16 Ismael Luceno <ismael@sourcemage.org>
+ * PRE_BUILD: Fixed build against musl
+
2020-11-09 Thomas Orgis <sobukus@sourcemage.org>
* BUILD: fix by explictily mentioning libm
diff --git a/graphics-libs/gtkimageview/PRE_BUILD b/graphics-libs/gtkimageview/PRE_BUILD
index 709860c5df..ecd8af2037 100755
--- a/graphics-libs/gtkimageview/PRE_BUILD
+++ b/graphics-libs/gtkimageview/PRE_BUILD
@@ -1,4 +1,5 @@
default_pre_build &&
cd ${SOURCE_DIRECTORY} &&
sedit '/CFLAGS/s/-Werror //g' configure.in &&
-sedit '/DEPRECATED_FLAGS/d' configure.in
+sedit '/DEPRECATED_FLAGS/d' configure.in &&
+sedit 's!maybe_os in$!& linux-musl*|\\!' config.sub