Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Ismael Luceno (2264ce43c59c0a8df14cd807dedb83662a2f5e52)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • 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 (2264ce43c59c0a8df14cd807dedb83662a2f5e52)
  • Date: Tue, 14 May 2019 22:53:43 +0000

GIT changes to master grimoire by Ismael Luceno <ismael AT sourcemage.org>:

utils/procps/HISTORY | 3 +++
utils/procps/PRE_BUILD | 1 +
utils/procps/missing-includes.patch | 14 ++++++++++++++
3 files changed, 18 insertions(+)

New commits:
commit 2264ce43c59c0a8df14cd807dedb83662a2f5e52
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>

procps: Fix build against musl

diff --git a/utils/procps/HISTORY b/utils/procps/HISTORY
index 1bed00b..b558942 100644
--- a/utils/procps/HISTORY
+++ b/utils/procps/HISTORY
@@ -1,3 +1,6 @@
+2019-05-14 Ismael Luceno <ismael AT sourcemage.org>
+ * PRE_BUILD, missing-includes.patch: Fixed build against musl
+
2019-02-05 Treeve Jelbert <treeve AT sourcemage.org>
* BUILD: remove make_single

diff --git a/utils/procps/PRE_BUILD b/utils/procps/PRE_BUILD
index d9a3547..17dae62 100755
--- a/utils/procps/PRE_BUILD
+++ b/utils/procps/PRE_BUILD
@@ -2,6 +2,7 @@ default_pre_build &&
cd ${SOURCE_DIRECTORY} &&

patch -p0 < "$SPELL_DIRECTORY/version.patch" &&
+patch -fp1 -i "$SPELL_DIRECTORY/missing-includes.patch" &&

message "${MESSAGE_COLOR}Patching for make 3.82 syntax...${DEFAULT_COLOR}" &&
patch "$SOURCE_DIRECTORY"/Makefile \
diff --git a/utils/procps/missing-includes.patch
b/utils/procps/missing-includes.patch
new file mode 100644
index 0000000..0eb9b93
--- /dev/null
+++ b/utils/procps/missing-includes.patch
@@ -0,0 +1,14 @@
+Missing includes; required at least for compiling against musl.
+
+diff --git a/proc/readproc.c.orig b/proc/readproc.c
+index 4fad11d..c5b1869 100644
+--- a/proc/readproc.c.orig
++++ b/proc/readproc.c
+@@ -26,6 +26,7 @@
+ #include <sys/dir.h>
+ #include <sys/types.h>
+ #include <sys/stat.h>
++#include <limits.h>
+
+ // sometimes it's easier to do this manually, w/o gcc helping
+ #ifdef PROF



  • [SM-Commit] GIT changes to master grimoire by Ismael Luceno (2264ce43c59c0a8df14cd807dedb83662a2f5e52), Ismael Luceno, 05/14/2019

Archive powered by MHonArc 2.6.24.

Top of Page