summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-chemistry/cyana/files/2.1-expire.patch')
-rw-r--r--sci-chemistry/cyana/files/2.1-expire.patch13
1 files changed, 13 insertions, 0 deletions
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)