Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by David Brown (ffc0cfb3122e3afc2682eb653fa4ef1b457a21b8)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: David Brown <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by David Brown (ffc0cfb3122e3afc2682eb653fa4ef1b457a21b8)
  • Date: Sun, 30 Sep 2007 22:14:48 -0500

GIT changes to master grimoire by David Brown <dmlb2000 AT gmail.com>:

libs/elfutils/HISTORY | 5 +++++
libs/elfutils/PRE_BUILD | 1 +
libs/elfutils/unset-file-offset.patch | 10 ++++++++++
3 files changed, 16 insertions(+)

New commits:
commit ffc0cfb3122e3afc2682eb653fa4ef1b457a21b8
Author: David Brown <dmlb2000 AT gmail.com>
Commit: David Brown <dmlb2000 AT gmail.com>

elfutils fixed patch location of files didn't work right

commit 75a5caa7a9f2efcd3635df44937c6b6e8e2a0875
Author: David Brown <dmlb2000 AT gmail.com>
Commit: David Brown <dmlb2000 AT gmail.com>

elfutils fixed file offset bits problem in linux-kernel-modules.c undef
__USE_FILE_OFFSET64 makes it work

diff --git a/libs/elfutils/HISTORY b/libs/elfutils/HISTORY
index 15bbfb5..c9a9aaf 100644
--- a/libs/elfutils/HISTORY
+++ b/libs/elfutils/HISTORY
@@ -1,3 +1,8 @@
+2007-09-30 David Brown <dmlb2000 AT gmail.com>
+ * PRE_BUILD: added patch unset-file-offset.patch
+ * unset-file-offset.patch: unset the __USE_FILE_OFFSET64 since that's
+ also bad with fts.h and fixed its path location
+
2007-09-23 Eric Sandall <sandalle AT sourcemage.org>
* DETAILS: Updated to 0.129
Don't bother making the portability patch a SOURCE
diff --git a/libs/elfutils/PRE_BUILD b/libs/elfutils/PRE_BUILD
index 4cc69fd..bae6851 100755
--- a/libs/elfutils/PRE_BUILD
+++ b/libs/elfutils/PRE_BUILD
@@ -1,6 +1,7 @@
default_pre_build &&
cd ${SOURCE_DIRECTORY} &&
patch -p1 < $SCRIPT_DIRECTORY/$SPELL-$VERSION-portability.patch &&
+patch -p1 < $SCRIPT_DIRECTORY/unset-file-offset.patch &&
sed -i "s/-Werror//" */Makefile.in &&
sedit "/^addr/s/)/) \$(libelf)/" src/Makefile.am &&
sedit "/^line2addr_LDADD/s/)/) \$(libelf)/" tests/Makefile.am &&
diff --git a/libs/elfutils/unset-file-offset.patch
b/libs/elfutils/unset-file-offset.patch
new file mode 100644
index 0000000..aeb7050
--- /dev/null
+++ b/libs/elfutils/unset-file-offset.patch
@@ -0,0 +1,10 @@
+--- a/libdwfl/linux-kernel-modules.c 2007-09-30 20:06:10.000000000 -0700
++++ b/libdwfl/linux-kernel-modules.c 2007-09-30 20:06:27.000000000 -0700
+@@ -49,6 +49,7 @@
+
+ #include <config.h>
+ #undef _FILE_OFFSET_BITS /* Doesn't jibe with fts. */
++#undef __USE_FILE_OFFSET64
+
+ #include "libdwflP.h"
+ #include <inttypes.h>



  • [SM-Commit] GIT changes to master grimoire by David Brown (ffc0cfb3122e3afc2682eb653fa4ef1b457a21b8), David Brown, 09/30/2007

Archive powered by MHonArc 2.6.24.

Top of Page