Skip to Content.
Sympa Menu

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

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 (492e570596b39dd7ff35b7a59b7e5e50e54c533b)
  • Date: Wed, 25 Mar 2009 04:03:22 -0500

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

libs/libcap/HISTORY | 4 ++++
libs/libcap/PRE_BUILD | 2 ++
libs/libcap/types.patch | 10 ++++++++++
3 files changed, 16 insertions(+)

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

libcap: fixed compilation with new (>=2.6.29) linux kernel headers for
glibc

diff --git a/libs/libcap/HISTORY b/libs/libcap/HISTORY
index 357afad..acc902c 100644
--- a/libs/libcap/HISTORY
+++ b/libs/libcap/HISTORY
@@ -1,3 +1,7 @@
+2009-03-25 Vlad Glagolev <stealth AT sourcemage.org>
+ * PRE_BUILD: apply the patch
+ * types.patch: added, to fix compilation with new (>=2.6.29) linux
kernel
+
2009-03-23 Vlad Glagolev <stealth AT sourcemage.org>
* DETAILS: updated spell to 2.16

diff --git a/libs/libcap/PRE_BUILD b/libs/libcap/PRE_BUILD
index 6116e4a..0b7ad7b 100755
--- a/libs/libcap/PRE_BUILD
+++ b/libs/libcap/PRE_BUILD
@@ -1,6 +1,8 @@
default_pre_build &&
cd "$SOURCE_DIRECTORY" &&

+patch -p0 < "$SPELL_DIRECTORY/types.patch" &&
+
# note that, yes indeed, they typo'd the extra S
sed -i "s:^COPTFLAGS=.*:COPTFLAG=${CFLAGS}:; \
s:^LDFLAGS=.*:LDFLAGS=${LDFLAGS}:" Make.Rules &&
diff --git a/libs/libcap/types.patch b/libs/libcap/types.patch
new file mode 100644
index 0000000..63d5849
--- /dev/null
+++ b/libs/libcap/types.patch
@@ -0,0 +1,10 @@
+--- progs/capsh.c.orig 2008-10-25 07:28:47.000000000 +0400
++++ progs/capsh.c 2009-03-25 11:51:13.228249448 +0300
+@@ -12,6 +12,7 @@
+ #include <stdio.h>
+ #include <string.h>
+ #include <stdlib.h>
++#include <asm/types.h>
+ #include <sys/prctl.h>
+ #include <sys/capability.h>
+ #include <unistd.h>



  • [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (492e570596b39dd7ff35b7a59b7e5e50e54c533b), Vlad Glagolev, 03/25/2009

Archive powered by MHonArc 2.6.24.

Top of Page