diff options
author | Justin Lecher <jlec@gentoo.org> | 2010-10-25 05:28:54 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2010-10-25 05:28:54 +0000 |
commit | 5d340eb956b95c7fc9acafd551d2640647ed61f5 (patch) | |
tree | 7c648e3e000ba3a50c9cde87fbb514f50e448bdf /sci-chemistry/cyana | |
parent | Add pkgconfig dependency by Enrico nekrad Weigelt (bug #342573). (diff) | |
download | gentoo-2-5d340eb956b95c7fc9acafd551d2640647ed61f5.tar.gz gentoo-2-5d340eb956b95c7fc9acafd551d2640647ed61f5.tar.bz2 gentoo-2-5d340eb956b95c7fc9acafd551d2640647ed61f5.zip |
Expand expire period
(Portage version: 2.2.0_alpha1/cvs/Linux x86_64)
Diffstat (limited to 'sci-chemistry/cyana')
-rw-r--r-- | sci-chemistry/cyana/ChangeLog | 6 | ||||
-rw-r--r-- | sci-chemistry/cyana/cyana-2.1.ebuild | 3 | ||||
-rw-r--r-- | sci-chemistry/cyana/files/2.1-expire.patch | 13 |
3 files changed, 20 insertions, 2 deletions
diff --git a/sci-chemistry/cyana/ChangeLog b/sci-chemistry/cyana/ChangeLog index ef815124905b..88ccc29d1792 100644 --- a/sci-chemistry/cyana/ChangeLog +++ b/sci-chemistry/cyana/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sci-chemistry/cyana # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/cyana/ChangeLog,v 1.1 2010/03/07 10:07:09 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/cyana/ChangeLog,v 1.2 2010/10/25 05:28:54 jlec Exp $ + + 25 Oct 2010; Justin Lecher <jlec@gentoo.org> +files/2.1-expire.patch, + cyana-2.1.ebuild: + Expand expire period *cyana-2.1 (07 Mar 2010) diff --git a/sci-chemistry/cyana/cyana-2.1.ebuild b/sci-chemistry/cyana/cyana-2.1.ebuild index 2628b038ba06..d444e64d09b1 100644 --- a/sci-chemistry/cyana/cyana-2.1.ebuild +++ b/sci-chemistry/cyana/cyana-2.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/cyana/cyana-2.1.ebuild,v 1.1 2010/03/07 10:07:09 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/cyana/cyana-2.1.ebuild,v 1.2 2010/10/25 05:28:54 jlec Exp $ EAPI="3" @@ -30,6 +30,7 @@ pkg_nofetch() { src_prepare() { epatch "${FILESDIR}"/${PV}-typo.patch epatch "${FILESDIR}"/${PV}-exec.patch + epatch "${FILESDIR}"/${PV}-expire.patch cat >> etc/config <<- EOF VERSION=${PV} diff --git a/sci-chemistry/cyana/files/2.1-expire.patch b/sci-chemistry/cyana/files/2.1-expire.patch new file mode 100644 index 000000000000..e3da2b385ee9 --- /dev/null +++ b/sci-chemistry/cyana/files/2.1-expire.patch @@ -0,0 +1,13 @@ +diff --git a/src/inclan/unix.for b/src/inclan/unix.for +index 8650129..f08eeef 100644 +--- a/src/inclan/unix.for ++++ b/src/inclan/unix.for +@@ -206,7 +206,7 @@ c ================================================================== + end if + if (iwbeg.lt.0) then + iwbeg=igttim +- iexpir=(julday(12,31,2010)-julday(1,1,1970))*24*3600 ++ iexpir=(julday(12,31,2100)-julday(1,1,1970))*24*3600 + if (iwbeg.gt.iexpir) call fatmsg ('License expired.') + j=(iexpir-iwbeg)/(24*3600) + if (j.lt.1000) |