diff options
author | naddy <naddy@FreeBSD.org> | 2003-01-02 06:06:00 +0800 |
---|---|---|
committer | naddy <naddy@FreeBSD.org> | 2003-01-02 06:06:00 +0800 |
commit | 74b7f23d4f4f7c7bd5afb2cd71963637d21085f3 (patch) | |
tree | 2c1904170f5a461ebe3440ab0cc85efa3f1edfca /astro/jday/files | |
parent | 64288f013a3a7a1e0712a3feb5febd3f1e2cb770 (diff) | |
download | freebsd-ports-gnome-74b7f23d4f4f7c7bd5afb2cd71963637d21085f3.tar.gz freebsd-ports-gnome-74b7f23d4f4f7c7bd5afb2cd71963637d21085f3.tar.zst freebsd-ports-gnome-74b7f23d4f4f7c7bd5afb2cd71963637d21085f3.zip |
Update to 1.3. Now includes a man page.
Diffstat (limited to 'astro/jday/files')
-rw-r--r-- | astro/jday/files/patch-jday.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/astro/jday/files/patch-jday.c b/astro/jday/files/patch-jday.c new file mode 100644 index 000000000000..4b710b6776b2 --- /dev/null +++ b/astro/jday/files/patch-jday.c @@ -0,0 +1,14 @@ + +$FreeBSD$ + +--- jday.c.orig Mon Dec 30 16:49:30 2002 ++++ jday.c Mon Dec 30 16:49:44 2002 +@@ -122,7 +122,7 @@ + if ( day < 1 ) day = 1; + case 3: + if ( ! strcmp((const char *)argv[1], (const char *) "-d") ) { +- if ( 3 != sscanf( argv[2], "%d/%d/%d", & year, & mo, & day ) ) { ++ if ( 3 != sscanf( argv[2], "%ld/%d/%d", & year, & mo, & day ) ) { + fprintf( stderr, "failed sscanf for ymd\n" ); + exit (-1); + } else { |