sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master grimoire by Ismael Luceno (da8c49a669b5a2d1a8e9c09606df106127c85eca)
- From: Ismael Luceno <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master grimoire by Ismael Luceno (da8c49a669b5a2d1a8e9c09606df106127c85eca)
- Date: Mon, 13 May 2019 21:43:13 +0000
GIT changes to master grimoire by Ismael Luceno <ismael AT sourcemage.org>:
libs/libbsd/HISTORY | 3 +++
libs/libbsd/PRE_BUILD | 3 +++
libs/libbsd/headers.patch | 11 +++++++++++
3 files changed, 17 insertions(+)
New commits:
commit da8c49a669b5a2d1a8e9c09606df106127c85eca
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>
libbsd: Fix build against musl
diff --git a/libs/libbsd/HISTORY b/libs/libbsd/HISTORY
index ba127c8..55b5f9b 100644
--- a/libs/libbsd/HISTORY
+++ b/libs/libbsd/HISTORY
@@ -1,3 +1,6 @@
+2019-05-13 Ismael Luceno <ismael AT sourcemage.org>
+ * PRE_BUILD, headers.patch: Added patch to fix build against musl
+
2018-06-12 Treeve Jelbert <treeve AT sourcemage.org>
* DETAILS: version 0.9.1
diff --git a/libs/libbsd/PRE_BUILD b/libs/libbsd/PRE_BUILD
new file mode 100755
index 0000000..cc9941d
--- /dev/null
+++ b/libs/libbsd/PRE_BUILD
@@ -0,0 +1,3 @@
+default_pre_build &&
+cd "$SOURCE_DIRECTORY" &&
+patch -fp1 -i "$SPELL_DIRECTORY"/headers.patch
diff --git a/libs/libbsd/headers.patch b/libs/libbsd/headers.patch
new file mode 100644
index 0000000..4996704
--- /dev/null
+++ b/libs/libbsd/headers.patch
@@ -0,0 +1,11 @@
+From: Alpine Linux
+--- libbsd-0.9.1/src/flopen.c.old 2018-05-21 02:33:33.000000000 +0000
++++ libbsd-0.9.1/src/flopen.c 2018-09-09 17:43:59.850000000 +0000
+@@ -32,6 +32,7 @@
+ #include <sys/stat.h>
+
+ #include <errno.h>
++#include <fcntl.h>
+ #include <stdarg.h>
+ #include <unistd.h>
+
- [SM-Commit] GIT changes to master grimoire by Ismael Luceno (da8c49a669b5a2d1a8e9c09606df106127c85eca), Ismael Luceno, 05/13/2019
Archive powered by MHonArc 2.6.24.