summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2010-08-26 20:41:52 +0000
committerJeroen Roovers <jer@gentoo.org>2010-08-26 20:41:52 +0000
commitfbbbdffdc60fbe3f095429bd5f2c3ad824b51066 (patch)
tree2199d48bdda4a8da4153193681af8be9c0815ec8 /net-misc/adjtimex/files
parentBump (diff)
downloadgentoo-2-fbbbdffdc60fbe3f095429bd5f2c3ad824b51066.tar.gz
gentoo-2-fbbbdffdc60fbe3f095429bd5f2c3ad824b51066.tar.bz2
gentoo-2-fbbbdffdc60fbe3f095429bd5f2c3ad824b51066.zip
Version bump. Respect LDFLAGS (bug #334677). Respect CC.
(Portage version: 2.2_rc69/cvs/Linux i686)
Diffstat (limited to 'net-misc/adjtimex/files')
-rw-r--r--net-misc/adjtimex/files/adjtimex-1.29-gentoo-utc.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/net-misc/adjtimex/files/adjtimex-1.29-gentoo-utc.patch b/net-misc/adjtimex/files/adjtimex-1.29-gentoo-utc.patch
new file mode 100644
index 000000000000..6c563a1c8272
--- /dev/null
+++ b/net-misc/adjtimex/files/adjtimex-1.29-gentoo-utc.patch
@@ -0,0 +1,23 @@
+--- a/debian/adjtimexconfig
++++ b/debian/adjtimexconfig
+@@ -3,6 +3,11 @@
+ conffile=/etc/conf.d/adjtimex
+ startfile=/etc/init.d/adjtimex
+
++# Get UTC setting
++source /etc/conf.d/clock
++params=''
++[ "$CLOCK" == "UTC" ] && params='--utc'
++
+ echo -n "Comparing clocks (this will take 70 sec)..."
+
+ # Get the parameters
+@@ -11,7 +16,7 @@
+ baseline=`awk '/<= tick/{print ($1+$NF)/2}' /etc/adj.adjust`
+ hz=`awk '/USER_HZ/{print $3}' /etc/adj.adjust`
+ /usr/sbin/adjtimex --tick $baseline --frequency 0
+-/usr/sbin/adjtimex --adjust --force-adjust >/etc/adj.adjust
++/usr/sbin/adjtimex ${params} --adjust --force-adjust >/etc/adj.adjust
+ echo "done."
+ ticks=`tail -n 1 /etc/adj.adjust|awk '{print $6}'`
+ freq=`tail -n 1 /etc/adj.adjust|awk '{print $7}'`