summaryrefslogtreecommitdiff
path: root/astro/ephem/files/patch-time.c
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2015-11-28 23:08:03 +0000
committerRene Ladan <rene@FreeBSD.org>2015-11-28 23:08:03 +0000
commit691f434f549a42a69ac50ff23a1543397490f5c5 (patch)
tree918183cc54e747acc95c0517ca51c4874a7ee860 /astro/ephem/files/patch-time.c
parentUpdate ImageMagick to 6.9.2-7. (diff)
Remove expired ports:
2015-11-26 audio/pecl-id3: Broken for more than 6 months 2015-11-26 dns/geta: Broken for more than 6 months 2015-11-26 finance/openerp-web: Broken for more than 6 months 2015-11-26 devel/py-async: Further using of this module is not encouraged by upstream 2015-11-26 chinese/kon2: Depends on expiring chinese/cce 2015-11-26 games/linux-skulltag: Depends on expiring audio/linux-fmodapi 2015-11-26 archivers/wzip: Broken for more than 6 months 2015-11-26 databases/sybtcl: Broken for more than 6 months 2015-11-26 biology/povchem: Broken for more than 6 months 2015-11-26 audio/btc: Broken for more than 6 months 2015-11-26 astro/wmglobe: Broken for more than 6 months 2015-11-26 graphics/pyro: Broken for more than 6 months 2015-11-26 graphics/jpeg2ps: Broken for more than 6 months 2015-11-26 chinese/gugod-clean: Broken for more than 6 months 2015-11-26 comms/bforce: Broken for more than 6 months 2015-11-26 cad/geda-docs: Broken for more than 6 months 2015-11-26 chinese/cwtexttf: Broken for more than 6 months 2015-11-26 comms/zmtx-zmrx: Broken for more than 6 months 2015-11-26 astro/sky2000: Broken for more than 6 months 2015-11-26 deskutils/libopensync-plugin-file: Broken for more than 6 months 2015-11-26 databases/sqlite-ext-mobigroup: Broken for more than 6 months 2015-11-26 chinese/bg5ps: Broken for more than 6 months 2015-11-26 deskutils/x-tile: Broken for more than 6 months 2015-11-26 graphics/pure-gl: Broken for more than 6 months 2015-11-26 audio/dvda-author: Broken for more than 6 months 2015-11-26 chinese/oxim: Broken for more than 6 months 2015-11-26 editors/spe: Broken for more than 6 months 2015-11-26 audio/mpdscribble: Broken for more than 6 months 2015-11-26 cad/geda-symcheck: Broken for more than 6 months 2015-11-26 audio/linux-fmodapi: Broken for more than 6 months 2015-11-26 audio/pure-audio: Broken for more than 6 months 2015-11-26 editors/bpatch: Broken for more than 6 months 2015-11-26 benchmarks/geekbench: Broken for more than 6 months 2015-11-26 graphics/icoconvert: Broken for more than 6 months 2015-11-26 cad/geda-utils: Broken for more than 6 months 2015-11-26 deskutils/tomboy-plugin-wordcount: Broken for more than 6 months 2015-11-26 graphics/sketch: Broken for more than 6 months 2015-11-26 ftp/spegla: Broken for more than 6 months 2015-11-26 graphics/clutter-box2d: Broken for more than 6 months 2015-11-26 audio/scmpc: Broken for more than 6 months 2015-11-26 ftp/gnusget: Broken for more than 6 months 2015-11-26 comms/gpsk31: Broken for more than 6 months 2015-11-26 cad/geda-gschem: Broken for more than 6 months 2015-11-26 audio/ampache: Broken for more than 6 months 2015-11-26 cad/slffea: Broken for more than 6 months 2015-11-26 audio/cripple: Broken for more than 6 months 2015-11-26 cad/geda-gattrib: Broken for more than 6 months 2015-11-26 cad/findhier: Broken for more than 6 months 2015-11-26 biology/njplot: Broken for more than 6 months 2015-11-26 audio/wmmp: Broken for more than 6 months 2015-11-26 x11/avant-window-navigator: Broken for more than 6 months 2015-11-26 cad/geda-netlist: Broken for more than 6 months 2015-11-26 deskutils/libopensync-plugin-sunbird: Broken for more than 6 months 2015-11-26 biology/ortep3: Broken for more than 6 months 2015-11-26 astro/aa: Broken for more than 6 months 2015-11-26 french/belote: Broken for more than 6 months 2015-11-26 converters/p5-String-SetUTF8: Broken for more than 6 months 2015-11-26 cad/geda-examples: Broken for more than 6 months 2015-11-26 editors/yasnippet: Broken for more than 6 months 2015-11-26 audio/musica: Broken for more than 6 months 2015-11-26 graphics/rubyphoto: Broken for more than 6 months 2015-11-26 german/bsdpaste: Broken for more than 6 months 2015-11-26 audio/amrcoder: Broken for more than 6 months 2015-11-26 sysutils/bashburn: Broken for more than 6 months 2015-11-26 editors/e93: Broken for more than 6 months 2015-11-26 audio/tepsonic: Broken for more than 6 months 2015-11-26 astro/ephem: Broken for more than 6 months 2015-11-26 chinese/cce: Broken for more than 6 months 2015-11-26 graphics/qcread: Broken for more than 6 months 2015-11-26 databases/py-sqlkit: Broken for more than 6 months 2015-11-26 databases/usogres: Broken for more than 6 months 2015-11-26 cad/libgeda: Broken for more than 6 months 2015-11-26 chinese/p5-Lingua-ZH-BPMFConvert: Broken for more than 6 months 2015-11-26 french/alphabet_sounds_fr: Broken for more than 6 months 2015-11-26 deskutils/mrundlg: Broken for more than 6 months 2015-11-26 databases/erlang-mysql: Broken for more than 6 months 2015-11-26 graphics/linux-XnViewMP: Broken for more than 6 months 2015-11-26 deskutils/akamaru: Broken for more than 6 months 2015-11-26 dns/p5-Net-DNS-ZoneCheck: Broken for more than 6 months 2015-11-26 astro/dgpsip: Broken for more than 6 months 2015-11-26 databases/pecl-handlersocket: Broken for more than 6 months 2015-11-26 audio/cymbaline: Broken for more than 6 months 2015-11-26 french/dico: Broken for more than 6 months 2015-11-26 comms/qpage: Broken for more than 6 months 2015-11-26 audio/sonice: Broken for more than 6 months 2015-11-26 cad/geda-symbols: Broken for more than 6 months 2015-11-26 databases/java-mybatis: Broken for more than 6 months 2015-11-26 databases/openbase-jdbc: Broken for more than 6 months 2015-11-27 www/mediawiki119: Please upgrade to mediawiki-1.25 2015-11-28 www/R-cran-Rpad: Unmaintained upstream
Notes
Notes: svn path=/head/; revision=402562
Diffstat (limited to 'astro/ephem/files/patch-time.c')
-rw-r--r--astro/ephem/files/patch-time.c115
1 files changed, 0 insertions, 115 deletions
diff --git a/astro/ephem/files/patch-time.c b/astro/ephem/files/patch-time.c
deleted file mode 100644
index 007efb6fa346..000000000000
--- a/astro/ephem/files/patch-time.c
+++ /dev/null
@@ -1,115 +0,0 @@
-*** time.c.orig Sun Mar 15 07:22:29 1992
---- time.c Sun Jan 3 17:28:45 1999
-***************
-*** 13,37 ****
- * returning 0.
- */
-
-- #define TZB
--
- #ifdef VMS
- #undef TZA
- #undef TZB
- #endif
-
- #include <stdio.h>
- #include <time.h>
-
- #include "astro.h"
- #include "circum.h"
-
- extern char *strncpy();
- #ifndef VMS
- extern long time();
- #endif
-
-! static long c0;
- static double mjd0;
-
- /* save current mjd and corresponding system clock for use by inc_mjd().
---- 13,42 ----
- * returning 0.
- */
-
- #ifdef VMS
- #undef TZA
- #undef TZB
- #endif
-
- #include <stdio.h>
-+ #include <string.h>
- #include <time.h>
-
-+ #if (defined(__unix__) || defined(unix)) && !defined(USG)
-+ #include <sys/param.h>
-+ #endif
-+
- #include "astro.h"
- #include "circum.h"
-
-+ #if !(defined(BSD) && BSD >= 199306)
- extern char *strncpy();
- #ifndef VMS
- extern long time();
- #endif
-+ #endif
-
-! static time_t c0;
- static double mjd0;
-
- /* save current mjd and corresponding system clock for use by inc_mjd().
-***************
-*** 49,57 ****
- time_fromsys (np)
- Now *np;
- {
- extern struct tm *gmtime(), *localtime();
- struct tm *tp;
-! long c;
- double day, hr;
-
- (void) time (&c);
---- 54,64 ----
- time_fromsys (np)
- Now *np;
- {
-+ #if !(defined(BSD) && BSD >= 199306)
- extern struct tm *gmtime(), *localtime();
-+ #endif
- struct tm *tp;
-! time_t c;
- double day, hr;
-
- (void) time (&c);
-***************
-*** 62,68 ****
---- 69,80 ----
- sex_dec (tp->tm_hour, tp->tm_min, tp->tm_sec, &hr);
- mjd = day + hr/24.0;
- tp = localtime (&c);
-+ #ifdef __FreeBSD__
-+ tz = -tp->tm_gmtoff/3600;
-+ strcpy(tznm, tp->tm_zone);
-+ #else
- settzstuff (tp->tm_isdst ? 1 : 0, np);
-+ #endif
- } else {
- /* if gmtime() doesn't work, we assume the timezone stuff won't
- * either, so we just use what it is and leave it alone. Some
-***************
-*** 114,120 ****
- double inc;
- {
- if (inc == RTC) {
-! long c;
- (void) time (&c);
- mjd = mjd0 + (c - c0)/SPD;
- } else
---- 126,132 ----
- double inc;
- {
- if (inc == RTC) {
-! time_t c;
- (void) time (&c);
- mjd = mjd0 + (c - c0)/SPD;
- } else