diff --git a/media-gfx/povray/files/povray-3.7.0_beta29-remove-expiration.patch b/media-gfx/povray/files/povray-3.7.0_beta29-remove-expiration.patch --- a/media-gfx/povray/files/povray-3.7.0_beta29-remove-expiration.patch +++ b/media-gfx/povray/files/povray-3.7.0_beta29-remove-expiration.patch @@ -1,23 +1,21 @@ -This code allows POV-Ray to complain about "beta out of date", but stops it from exit(int)'ing ---- povray-3.7.0.beta.29/vfe/unix/unixconsole.cpp 2008-08-04 12:52:56.000000000 -0400 -+++ /tmp/buffer-content-10089Ugl 2008-09-26 22:03:58.000000000 -0400 -@@ -272,7 +272,7 @@ - if (argv[i] != NULL && strcmp(argv[i], "--betacode") == 0) - { - fprintf(stderr, "%d\n", current_code); -- exit(RETURN_OK); -+ //exit(RETURN_OK); - } - const char *beta_code = getenv("POVRAY_BETA"); - if (beta_code != NULL) -@@ -285,7 +285,7 @@ - PACKAGE, - current_week < 52 ? "has expired" : "is over twelve months old and is no longer usable" - ); -- exit(RETURN_ERROR); -+ //exit(RETURN_ERROR); - } - current_time = EXPIRE_AT + (current_week+1)*spw - current_time; - } +diff -u /var/tmp/portage/media-gfx/povray-3.7.0_beta29-r1/work/povray-3.7.0.beta.29/vfe/unix/unixconsole.cpp /tmp/buffer-content-10159TsY +--- povray-3.7.0.beta.29/vfe/unix/unixconsole.cpp 2008-10-07 19:06:27.000000000 -0400 ++++ /tmp/buffer-content-10159TsY 2009-02-23 22:36:04.000000000 -0500 +@@ -254,6 +254,7 @@ + + void PrintBeta(int argc, char **argv) + { ++#if 0 + const int sph = 3600, spd = 86400, spw = 604800; + time_t current_time = time(NULL); + +@@ -296,6 +297,7 @@ + "%s: this pre-release version of POV-Ray for Unix expires in %d day(s) and %d hour(s)\n", + PACKAGE, current_time/spd, (current_time % spd)/sph + ); ++#endif + } + + void PrintVersion(void) -Diff finished. Fri Sep 26 22:03:58 2008 +Diff finished. Mon Feb 23 22:36:05 2009