summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Scherbaum <dertobi123@gentoo.org>2005-07-01 17:23:26 +0000
committerTobias Scherbaum <dertobi123@gentoo.org>2005-07-01 17:23:26 +0000
commit6a0a67f194c4ee3e6f89bc20aea60dfb38bea163 (patch)
tree540bb0096e2492f76d7b8d6adf1d7a71e26efdb9 /net-misc
parentmask USE_EXPANDed flags only used by other profiles (diff)
downloadgentoo-2-6a0a67f194c4ee3e6f89bc20aea60dfb38bea163.tar.gz
gentoo-2-6a0a67f194c4ee3e6f89bc20aea60dfb38bea163.tar.bz2
gentoo-2-6a0a67f194c4ee3e6f89bc20aea60dfb38bea163.zip
Fixed endianess problem, marked ~ppc
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/htpdate/ChangeLog8
-rw-r--r--net-misc/htpdate/Manifest15
-rw-r--r--net-misc/htpdate/files/ppc.patch12
-rw-r--r--net-misc/htpdate/htpdate-0.8.2.ebuild7
4 files changed, 26 insertions, 16 deletions
diff --git a/net-misc/htpdate/ChangeLog b/net-misc/htpdate/ChangeLog
index dc083088321f..f35e70629737 100644
--- a/net-misc/htpdate/ChangeLog
+++ b/net-misc/htpdate/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-misc/htpdate
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/htpdate/ChangeLog,v 1.3 2005/06/23 12:37:08 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/htpdate/ChangeLog,v 1.4 2005/07/01 17:23:26 dertobi123 Exp $
+
+ 01 Jul 2005; Tobias Scherbaum <dertobi123@gentoo.org> +files/ppc.patch,
+ htpdate-0.8.2.ebuild:
+ Fixed endianess problem. Thanks to Danny van Dyk
+ <kugelfang@gentoo.org>.
+ Marked ~ppc.
23 Jun 2005; Sven Wegener <swegener@gentoo.org> htpdate-0.8.2.ebuild:
Added cross-compile support. Trim whitespace. Pass CFLAGS in a better way.
diff --git a/net-misc/htpdate/Manifest b/net-misc/htpdate/Manifest
index 81d1abffe62c..f99a4aaab6fa 100644
--- a/net-misc/htpdate/Manifest
+++ b/net-misc/htpdate/Manifest
@@ -1,14 +1,5 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
+MD5 49035f9bde8ec502cb5663e65ea499a9 htpdate-0.8.2.ebuild 717
+MD5 ff2b63df63e17d0b2714390e4c9ff1e1 metadata.xml 256
MD5 fbfa82ee985a2b13a76d8ceca854f28a ChangeLog 731
MD5 86ea7c47156ba3ab7bd460ad939b1d57 files/digest-htpdate-0.8.2 64
-MD5 1be8b216bda9124c75c6741e6b5455bc htpdate-0.8.2.ebuild 675
-MD5 ff2b63df63e17d0b2714390e4c9ff1e1 metadata.xml 256
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
-
-iD8DBQFCuq0KI1lqEGTUzyQRAmFbAKCqBPI4VPhJOO+PUi+vT1lkmMsyWQCfZWTF
-kAdeGdF7BjRaYw6vctD84sE=
-=wzS0
------END PGP SIGNATURE-----
+MD5 ec81f587e402abf72a7e9e7f7f35e31b files/ppc.patch 474
diff --git a/net-misc/htpdate/files/ppc.patch b/net-misc/htpdate/files/ppc.patch
new file mode 100644
index 000000000000..2da8aea388a2
--- /dev/null
+++ b/net-misc/htpdate/files/ppc.patch
@@ -0,0 +1,12 @@
+--- htpdate.c.old 2005-07-01 19:13:17.000000000 +0200
++++ htpdate.c 2005-07-01 19:13:38.000000000 +0200
+@@ -279,7 +279,8 @@
+ int nap = 0, when = 500000;
+ char minsleep = 10, maxsleep = 18, sleeptime = minsleep;
+ int timelimit = 31536000; /* default 1 year */
+- char setmode = 0, httpversion = 0, try, param;
++ char setmode = 0, httpversion = 0, try;
++ int param;
+ char *pidfile = "/var/run/htpdate.pid";
+ FILE *pid_file;
+ pid_t pid;
diff --git a/net-misc/htpdate/htpdate-0.8.2.ebuild b/net-misc/htpdate/htpdate-0.8.2.ebuild
index b1e5df29b502..a53f61804a6e 100644
--- a/net-misc/htpdate/htpdate-0.8.2.ebuild
+++ b/net-misc/htpdate/htpdate-0.8.2.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/htpdate/htpdate-0.8.2.ebuild,v 1.3 2005/06/23 12:37:08 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/htpdate/htpdate-0.8.2.ebuild,v 1.4 2005/07/01 17:23:26 dertobi123 Exp $
-inherit toolchain-funcs
+inherit toolchain-funcs eutils
DESCRIPTION="Synchronize local workstation with time offered by remote web
servers"
@@ -11,13 +11,14 @@ SRC_URI="http://www.clevervest.com/htp/archive/c/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~x86"
+KEYWORDS="~x86 ~ppc"
IUSE=""
DEPEND=""
RDEPEND=""
src_compile() {
+ epatch ${FILESDIR}/ppc.patch
emake CFLAGS="${CFLAGS}" CC="$(tc-getCC)" || die
}