[SM-Commit] GIT changes to master grimoire by Pol Vinogradov (cd7658dfdb1da6c8cab9479e92c53a22f7316de5)

Pol Vinogradov scm at mail.sourcemage.org
Wed Sep 27 17:19:32 EDT 2006


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



More information about the SM-Commit mailing list