File xscreensaver-disable-upgrade-nagging-message.patch of Package xscreensaver

Index: driver/prefs.c
===================================================================
--- driver/prefs.c.orig
+++ driver/prefs.c
@@ -1706,35 +1706,5 @@ senescent_p (void)
 
      jwz, 2014
   */
-  time_t now = time ((time_t *) 0);				/*   N   */
-  struct tm *tm = localtime (&now);				/*   o   */
-  const char *s = screensaver_id;				/*       */
-  char mon[4], year[5];						/*   d   */
-  int m, y, months;						/*   o   */
-  s = strchr (s, ' '); if (!s) abort(); s++;			/*   n   */
-  s = strchr (s, '('); if (!s) abort(); s++;			/*   '   */
-  s = strchr (s, '-'); if (!s) abort(); s++;			/*   t   */
-  strncpy (mon, s, 3);						/*       */
-  mon[3] = 0;							/*   d   */
-  s = strchr (s, '-'); if (!s) abort(); s++;			/*   o   */
-  strncpy (year, s, 4);						/*       */
-  year[4] = 0;							/*   i   */
-  y = atoi (year);						/*   t   */
-  if      (!strcmp(mon, "Jan")) m = 0;				/*   ,   */
-  else if (!strcmp(mon, "Feb")) m = 1;				/*       */
-  else if (!strcmp(mon, "Mar")) m = 2;				/*   s   */
-  else if (!strcmp(mon, "Apr")) m = 3;				/*   t   */
-  else if (!strcmp(mon, "May")) m = 4;				/*   o   */
-  else if (!strcmp(mon, "Jun")) m = 5;				/*   p   */
-  else if (!strcmp(mon, "Jul")) m = 6;				/*   ,   */
-  else if (!strcmp(mon, "Aug")) m = 7;				/*       */
-  else if (!strcmp(mon, "Sep")) m = 8;				/*   s   */
-  else if (!strcmp(mon, "Oct")) m = 9;				/*   t   */
-  else if (!strcmp(mon, "Nov")) m = 10;				/*   a   */
-  else if (!strcmp(mon, "Dec")) m = 11;				/*   a   */
-  else abort();							/*   a   */
-  months = ((((tm->tm_year + 1900) * 12) + tm->tm_mon) -	/*   h   */
-            (y * 12 + m));					/*   h   */
-							  	/*   h   */
-  return (months > 18);						/*   p   */
+  return False;
 }