summaryrefslogtreecommitdiffstats
path: root/graphics-libs
diff options
context:
space:
mode:
authorIsmael Luceno2022-11-01 01:17:36 +0100
committerIsmael Luceno2022-11-01 01:21:52 +0100
commit8cd1a9db13e6f07174dc2c142a3cc94601eb426c (patch)
tree671ba78a6c76971ec4cf3501f3533a7059740053 /graphics-libs
parent471cc26f9ee7e50c3cc7bcffa334f9d5f1ec92a3 (diff)
sdl2_gfx: Fix build against musl
Diffstat (limited to 'graphics-libs')
-rw-r--r--graphics-libs/sdl2_gfx/HISTORY3
-rwxr-xr-xgraphics-libs/sdl2_gfx/PRE_BUILD3
2 files changed, 6 insertions, 0 deletions
diff --git a/graphics-libs/sdl2_gfx/HISTORY b/graphics-libs/sdl2_gfx/HISTORY
index a0f570f564..c9040eaa79 100644
--- a/graphics-libs/sdl2_gfx/HISTORY
+++ b/graphics-libs/sdl2_gfx/HISTORY
@@ -1,3 +1,6 @@
+2022-11-01 Ismael Luceno <ismael@sourcemage.org>
+ * PRE_BUILD: Fixed build against musl
+
2020-01-01 Florian Franzmann <bwlf@bandrate.org>
* DETAILS: version 1.0.4
diff --git a/graphics-libs/sdl2_gfx/PRE_BUILD b/graphics-libs/sdl2_gfx/PRE_BUILD
new file mode 100755
index 0000000000..3c8cac271f
--- /dev/null
+++ b/graphics-libs/sdl2_gfx/PRE_BUILD
@@ -0,0 +1,3 @@
+default_pre_build &&
+cd "$SOURCE_DIRECTORY" &&
+sedit 's!maybe_os in$!& linux-musl*|\\!' config.sub