Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (b039e1630d022e72d9e68a9508efdd7ab52320be)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Vlad Glagolev <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (b039e1630d022e72d9e68a9508efdd7ab52320be)
  • Date: Sat, 4 Apr 2009 16:35:21 -0500

GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:

utils/coreutils/HISTORY | 5 +++++
utils/coreutils/PRE_BUILD | 4 +++-
utils/coreutils/headers.patch | 10 ++++++++++
3 files changed, 18 insertions(+), 1 deletion(-)

New commits:
commit b039e1630d022e72d9e68a9508efdd7ab52320be
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

coreutils: fixed compilation with the recent linux headers

diff --git a/utils/coreutils/HISTORY b/utils/coreutils/HISTORY
index 942f863..c4b7664 100644
--- a/utils/coreutils/HISTORY
+++ b/utils/coreutils/HISTORY
@@ -1,3 +1,8 @@
+2009-04-05 Vlad Glagolev <stealth AT sourcemage.org>
+ * PRE_BUILD: apply headers patch, to fix compilation problem with
recent
+ linux-headers which come with glibc; quoting paths
+ * headers.patch: added
+
2009-04-01 Ladislav Hagara <hgr AT vabo.cz>
* DETAILS: 7.2

diff --git a/utils/coreutils/PRE_BUILD b/utils/coreutils/PRE_BUILD
index 36f4c63..1a3c4a5 100755
--- a/utils/coreutils/PRE_BUILD
+++ b/utils/coreutils/PRE_BUILD
@@ -1,5 +1,7 @@
default_pre_build &&
-cd ${SOURCE_DIRECTORY} &&
+cd "$SOURCE_DIRECTORY" &&
+
+patch -p0 < "$SPELL_DIRECTORY/headers.patch" &&

if [[ $SMACK == y ]]; then
patch -p1 < "$SPELL_DIRECTORY/coreutils-smack.patch"
diff --git a/utils/coreutils/headers.patch b/utils/coreutils/headers.patch
new file mode 100644
index 0000000..9b02b94
--- /dev/null
+++ b/utils/coreutils/headers.patch
@@ -0,0 +1,10 @@
+--- src/ls.c.orig 2009-03-29 21:44:10.000000000 +0400
++++ src/ls.c 2009-04-05 01:30:22.668552690 +0400
+@@ -36,6 +36,7 @@
+ Greg Lee <lee AT uhunix.uhcc.hawaii.edu>. */
+
+ #include <config.h>
++#include <asm/types.h>
+ #include <sys/types.h>
+
+ #ifdef HAVE_CAP



  • [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (b039e1630d022e72d9e68a9508efdd7ab52320be), Vlad Glagolev, 04/04/2009

Archive powered by MHonArc 2.6.24.

Top of Page