sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master grimoire by Pol Vinogradov (cd7658dfdb1da6c8cab9479e92c53a22f7316de5)
- From: Pol Vinogradov <scm AT mail.sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master grimoire by Pol Vinogradov (cd7658dfdb1da6c8cab9479e92c53a22f7316de5)
- Date: Wed, 27 Sep 2006 16:19:32 -0500
GIT changes to master grimoire by Pol Vinogradov <vin.public AT gmail.com>:
utils/adjtimex/BUILD | 3 ---
utils/adjtimex/HISTORY | 2 +-
utils/adjtimex/PRE_BUILD | 3 +++
utils/adjtimex/adjtimex-1.16-pic.patch | 14 ++++++++++++++
4 files changed, 18 insertions(+), 4 deletions(-)
New commits:
commit 7f3890d0955eec69643e844edb05078e1e507d4c
Author: Pol Vinogradov <vin.public AT gmail.com>
Commit: Pol Vinogradov <vin.public AT gmail.com>
utils/adjtimex:
BUILD: removed
PRE_BUILD: added for patching
adjtimex-1.16-pic.patch: added, allows compiling with -{f,D}PIC flags
( i found it in gentoo portage ;) )
diff --git a/utils/adjtimex/BUILD b/utils/adjtimex/BUILD
deleted file mode 100755
index dee2e1d..0000000
--- a/utils/adjtimex/BUILD
+++ /dev/null
@@ -1,3 +0,0 @@
-disable_pic &&
-
-default_build
diff --git a/utils/adjtimex/HISTORY b/utils/adjtimex/HISTORY
index 75468fc..f2e897a 100644
--- a/utils/adjtimex/HISTORY
+++ b/utils/adjtimex/HISTORY
@@ -1,2 +1,2 @@
2006-09-28 Pol Vinogradov <vin.public AT gmail.com>
- * BUILD, DETAILS, HISTORY: created spell
+ * DETAILS, HISTORY, PRE_BUILD, adjtimex-1.16-pic.patch: created spell
diff --git a/utils/adjtimex/PRE_BUILD b/utils/adjtimex/PRE_BUILD
new file mode 100755
index 0000000..b0b5a6e
--- /dev/null
+++ b/utils/adjtimex/PRE_BUILD
@@ -0,0 +1,3 @@
+default_pre_build &&
+cd ${SOURCE_DIRECTORY} &&
+patch -p0 < ${SCRIPT_DIRECTORY}/${SPELL}-1.16-pic.patch
diff --git a/utils/adjtimex/adjtimex-1.16-pic.patch
b/utils/adjtimex/adjtimex-1.16-pic.patch
new file mode 100644
index 0000000..73a16ea
--- /dev/null
+++ b/utils/adjtimex/adjtimex-1.16-pic.patch
@@ -0,0 +1,14 @@
+--- adjtimex.c.orig 2003-08-24 20:10:05.000000000 -0400
++++ adjtimex.c 2004-11-16 09:04:53.000000000 -0500
+@@ -40,9 +40,11 @@
+ #ifdef __ia64__
+ extern int adjtimex(struct timex *);
+ #else
++#ifndef __PIC__
+ _syscall1(int, adjtimex, struct timex *, txcp)
+ #endif
+ #endif
++#endif
+ int F_print = 0;
+
+ #ifndef LOG_PATH
- [SM-Commit] GIT changes to master grimoire by Pol Vinogradov (cd7658dfdb1da6c8cab9479e92c53a22f7316de5), Pol Vinogradov, 09/27/2006
Archive powered by MHonArc 2.6.24.