From 7fa2f8648317ce3dcd108d5295c598244496e314 Mon Sep 17 00:00:00 2001 From: Tobias Scherbaum Date: Fri, 1 Jul 2005 17:23:26 +0000 Subject: Fixed endianess problem, marked ~ppc Package-Manager: portage-2.0.51.22-r1 --- net-misc/htpdate/ChangeLog | 8 +++++++- net-misc/htpdate/Manifest | 17 ++++------------- net-misc/htpdate/files/ppc.patch | 12 ++++++++++++ net-misc/htpdate/htpdate-0.8.2.ebuild | 7 ++++--- 4 files changed, 27 insertions(+), 17 deletions(-) create mode 100644 net-misc/htpdate/files/ppc.patch (limited to 'net-misc') 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 +files/ppc.patch, + htpdate-0.8.2.ebuild: + Fixed endianess problem. Thanks to Danny van Dyk + . + Marked ~ppc. 23 Jun 2005; Sven Wegener 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..efbcfeec67a0 100644 --- a/net-misc/htpdate/Manifest +++ b/net-misc/htpdate/Manifest @@ -1,14 +1,5 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 fbfa82ee985a2b13a76d8ceca854f28a ChangeLog 731 -MD5 86ea7c47156ba3ab7bd460ad939b1d57 files/digest-htpdate-0.8.2 64 -MD5 1be8b216bda9124c75c6741e6b5455bc htpdate-0.8.2.ebuild 675 +MD5 59d862130d8093c3c9a33b01cc0c87f9 htpdate-0.8.2.ebuild 719 MD5 ff2b63df63e17d0b2714390e4c9ff1e1 metadata.xml 256 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.1 (GNU/Linux) - -iD8DBQFCuq0KI1lqEGTUzyQRAmFbAKCqBPI4VPhJOO+PUi+vT1lkmMsyWQCfZWTF -kAdeGdF7BjRaYw6vctD84sE= -=wzS0 ------END PGP SIGNATURE----- +MD5 27136c85dc294a249f045b02ffc0b338 ChangeLog 924 +MD5 86ea7c47156ba3ab7bd460ad939b1d57 files/digest-htpdate-0.8.2 64 +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 } -- cgit v1.2.3-65-gdbad