summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2011-01-05 14:14:58 +0000
committerJustin Lecher <jlec@gentoo.org>2011-01-05 14:14:58 +0000
commitd271803378e06fec09e8d239ccc99b88e7e91467 (patch)
tree7d086473f61b0c9800a67aa28e60fb1201b3b452 /sci-chemistry/cyana
parentStable on amd64 wrt bug #350610 (diff)
downloadgentoo-2-d271803378e06fec09e8d239ccc99b88e7e91467.tar.gz
gentoo-2-d271803378e06fec09e8d239ccc99b88e7e91467.tar.bz2
gentoo-2-d271803378e06fec09e8d239ccc99b88e7e91467.zip
Let cyana run forever, thanks xarthisius for the patch
(Portage version: 2.2.0_alpha12/cvs/Linux x86_64)
Diffstat (limited to 'sci-chemistry/cyana')
-rw-r--r--sci-chemistry/cyana/ChangeLog5
-rw-r--r--sci-chemistry/cyana/files/2.1-expire.patch18
2 files changed, 14 insertions, 9 deletions
diff --git a/sci-chemistry/cyana/ChangeLog b/sci-chemistry/cyana/ChangeLog
index 4ae5e63428d6..1ddb4fde5615 100644
--- a/sci-chemistry/cyana/ChangeLog
+++ b/sci-chemistry/cyana/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sci-chemistry/cyana
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/cyana/ChangeLog,v 1.7 2011/01/05 11:27:10 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/cyana/ChangeLog,v 1.8 2011/01/05 14:14:58 jlec Exp $
+
+ 05 Jan 2011; Justin Lecher <jlec@gentoo.org> files/2.1-expire.patch:
+ Let cyana run forever, thanks xarthisius for the patch
05 Jan 2011; Justin Lecher <jlec@gentoo.org> files/2.1-expire.patch:
Making cyana work in 2011
diff --git a/sci-chemistry/cyana/files/2.1-expire.patch b/sci-chemistry/cyana/files/2.1-expire.patch
index ff5ae036cd98..e18008286f68 100644
--- a/sci-chemistry/cyana/files/2.1-expire.patch
+++ b/sci-chemistry/cyana/files/2.1-expire.patch
@@ -1,13 +1,15 @@
-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 ==================================================================
+--- src/inclan/unix.for.orig 2011-01-05 14:56:46.572193759 +0100
++++ src/inclan/unix.for 2011-01-05 14:57:27.833627375 +0100
+@@ -206,11 +206,8 @@
end if
if (iwbeg.lt.0) then
iwbeg=igttim
- iexpir=(julday(12,31,2010)-julday(1,1,1970))*24*3600
-+ iexpir=(julday(12,31,2011)-julday(1,1,1970))*24*3600
- if (iwbeg.gt.iexpir) call fatmsg ('License expired.')
+- if (iwbeg.gt.iexpir) call fatmsg ('License expired.')
++ iexpir=iwbeg+100
j=(iexpir-iwbeg)/(24*3600)
- if (j.lt.1000)
+- if (j.lt.1000)
+- * call wrnmsg ('License expires in '//plural(j,'day')//'.')
+ end if
+ iwall=igttim-iwbeg
+ c print *,'iwall = ',iwall,iwbeg,idat,itim \ No newline at end of file