summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2004-06-04 02:28:32 +0000
committerSeemant Kulleen <seemant@gentoo.org>2004-06-04 02:28:32 +0000
commit05b392eb83dae1639dc75e9319c84a81736e6477 (patch)
treed34f18723d3b507f9a14449eac373577af1a6c24 /sys-apps/anacron
parentnew locales.build (diff)
downloadhistorical-05b392eb83dae1639dc75e9319c84a81736e6477.tar.gz
historical-05b392eb83dae1639dc75e9319c84a81736e6477.tar.bz2
historical-05b392eb83dae1639dc75e9319c84a81736e6477.zip
Add the compilation fix from debian (available at: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=240043). This should close bug #49029 by Meder Bakirov <bakirov@transfer.kg>. The fix was found by: Jan Falkenhagen <meinspam@onlinehome.de>. Not version bumping, since this was a non-working ebuild anyway, and now it works.
Diffstat (limited to 'sys-apps/anacron')
-rw-r--r--sys-apps/anacron/ChangeLog12
-rw-r--r--sys-apps/anacron/Manifest7
-rw-r--r--sys-apps/anacron/anacron-2.3.ebuild11
-rw-r--r--sys-apps/anacron/files/anacron-2.3-compile-fix-from-debian.patch11
4 files changed, 31 insertions, 10 deletions
diff --git a/sys-apps/anacron/ChangeLog b/sys-apps/anacron/ChangeLog
index f098bf610362..fbb53a313b21 100644
--- a/sys-apps/anacron/ChangeLog
+++ b/sys-apps/anacron/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for sys-apps/anacron
-# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/anacron/ChangeLog,v 1.3 2003/02/15 08:15:34 gerk Exp $
+# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/anacron/ChangeLog,v 1.4 2004/06/04 02:28:32 seemant Exp $
+
+ 03 Jun 2004; Seemant Kulleen <seemant@gentoo.org>
+ +files/anacron-2.3-compile-fix-from-debian.patch, anacron-2.3.ebuild:
+ Add the compilation fix from debian (available at:
+ http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=240043). This should close
+ bug #49029 by Meder Bakirov <bakirov@transfer.kg>. The fix was found by: Jan
+ Falkenhagen <meinspam@onlinehome.de>. Not version bumping, since this was a
+ non-working ebuild anyway, and now it works.
*anacron-2.3 (03 Aug 2002)
diff --git a/sys-apps/anacron/Manifest b/sys-apps/anacron/Manifest
index 295e76236eaf..24bc85539f9c 100644
--- a/sys-apps/anacron/Manifest
+++ b/sys-apps/anacron/Manifest
@@ -1,6 +1,7 @@
+MD5 a758962325b9e6d110d9c3185439bc0a anacron-2.3.ebuild 1447
+MD5 e3684b76e919438b67e1eb28a5d561d5 ChangeLog 932
+MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
MD5 82280f8d94dc8fa1439b64b87702460a files/anacron.rc6 380
MD5 950b522f251d3fadc0628372d1f49d68 files/anacrontab 304
+MD5 c213363ea13b5d95fc7f011159b7939c files/anacron-2.3-compile-fix-from-debian.patch 315
MD5 869189865e4047f742c2d0c7fb853951 files/digest-anacron-2.3 62
-MD5 98182ca90d83fdc9a5babe4bc4c40a08 ChangeLog 470
-MD5 ea269afea26f2eaab00129cfe633ef79 anacron-2.3.ebuild 1415
-MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
diff --git a/sys-apps/anacron/anacron-2.3.ebuild b/sys-apps/anacron/anacron-2.3.ebuild
index 0580db0a58c0..54a5231c4f0c 100644
--- a/sys-apps/anacron/anacron-2.3.ebuild
+++ b/sys-apps/anacron/anacron-2.3.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/anacron/anacron-2.3.ebuild,v 1.5 2003/09/07 02:49:15 msterret Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/anacron/anacron-2.3.ebuild,v 1.6 2004/06/04 02:28:32 seemant Exp $
#MY_P=${PN}-${PV}
#S=${WORKDIR}/${MY_P}
@@ -12,7 +12,8 @@ KEYWORDS="x86 amd64 ppc"
SLOT="0"
LICENSE="as-is"
-DEPEND="virtual/glibc"
+DEPEND="virtual/glibc
+ >=sys-apps/sed-4"
RDEPEND="virtual/mta
virtual/cron"
@@ -20,8 +21,8 @@ RDEPEND="virtual/mta
src_unpack() {
unpack ${A}
cd ${S}
- cp Makefile Makefile.orig
- sed "s:^CFLAGS =:CFLAGS = $CFLAGS:" Makefile.orig >Makefile
+ epatch ${FILESDIR}/${P}-compile-fix-from-debian.patch
+ sed -i "s:^CFLAGS =:CFLAGS = $CFLAGS:" Makefile
}
src_compile() {
diff --git a/sys-apps/anacron/files/anacron-2.3-compile-fix-from-debian.patch b/sys-apps/anacron/files/anacron-2.3-compile-fix-from-debian.patch
new file mode 100644
index 000000000000..174a975f0ca3
--- /dev/null
+++ b/sys-apps/anacron/files/anacron-2.3-compile-fix-from-debian.patch
@@ -0,0 +1,11 @@
+--- anacron-2.3/gregor.c 2000-06-23 02:00:14.000000000 +0200
++++ anacron-2.3-maks/gregor.c 2004-03-26 20:45:13.000000000 +0100
+@@ -65,7 +65,7 @@
+ {
+ int dn;
+ int i;
+- const int isleap; /* save three calls to leap() */
++ int isleap; /* save three calls to leap() */
+
+ /* Some validity checks */
+