summaryrefslogtreecommitdiffstats
path: root/patches/source/xscreensaver/xscreensaver.no.expiration.date.diff
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2023-03-06 02:21:57 +0000
committer Eric Hameleers <alien@slackware.com>2023-03-06 13:30:35 +0100
commit78c0119973fb1815718db6a2f2bbff6a1983fdc2 (patch)
tree30764439789bd329080051b64e0f3883ac57ac7a /patches/source/xscreensaver/xscreensaver.no.expiration.date.diff
parent61e0126fa38ec4eb6050bbdc4c594ac349b7da0c (diff)
downloadcurrent-78c0119973fb1815718db6a2f2bbff6a1983fdc2.tar.gz
current-78c0119973fb1815718db6a2f2bbff6a1983fdc2.tar.xz
Mon Mar 6 02:21:57 UTC 202320230306022157_15.0
patches/packages/xscreensaver-6.06-x86_64-1_slack15.0.txz: Upgraded. Here's an upgrade to the latest xscreensaver.
Diffstat (limited to 'patches/source/xscreensaver/xscreensaver.no.expiration.date.diff')
-rw-r--r--patches/source/xscreensaver/xscreensaver.no.expiration.date.diff30
1 files changed, 30 insertions, 0 deletions
diff --git a/patches/source/xscreensaver/xscreensaver.no.expiration.date.diff b/patches/source/xscreensaver/xscreensaver.no.expiration.date.diff
new file mode 100644
index 000000000..5929e91c0
--- /dev/null
+++ b/patches/source/xscreensaver/xscreensaver.no.expiration.date.diff
@@ -0,0 +1,30 @@
+--- ./driver/dialog.c.orig 2021-10-04 17:18:28.000000000 -0500
++++ ./driver/dialog.c 2023-03-05 14:03:13.158084489 -0600
+@@ -1333,6 +1333,15 @@
+ lines[i].align = CENTER;
+ i++;
+
++/*
++ NOTE: This feature is disabled by Slackware... we do not ship multi-year
++ old versions, nor do we think it is a good idea to include nag screens
++ that activate when an expiration date is reached. In this case, the
++ nag screen was activated after only one year, which practically insures
++ that this will be seen before the next stable Slackware release.
++ If there's a problem that needs fixing, we'll issue a fix.
++ No nag screens please. Thanks for possibly reconsidering this!
++
+ if (time ((time_t *) 0) - XSCREENSAVER_RELEASED > 60*60*24*30*17)
+ {
+ lines[i].text = _("Update available!\nThis version is very old.\n");
+@@ -1343,7 +1352,10 @@
+ lines[i].align = CENTER;
+ i++;
+ }
+- else if (strstr (ws->version, "a") ||
++ else
++*/
++
++ if (strstr (ws->version, "a") ||
+ strstr (ws->version, "b"))
+ {
+ lines[i].text = _("PRE-RELEASE VERSION");