--- Dclock.c.orig Tue Jan 4 14:01:53 2000 +++ Dclock.c Tue Jan 4 14:01:55 2000 @@ -967,7 +967,7 @@ { char datestr[128]; register char *datep = datestr, *p; - int x; + int x, year = now->tm_year + 1900; if (!w->dclock.display_time) datep += strlen(strcpy(datep, "Push HERE to Set/Unset Alarm")); @@ -1000,11 +1000,12 @@ *datep++ = (now->tm_mday / 10 + '0'); *datep++ = now->tm_mday % 10 + '0'; when 'Y': - *datep++ = '1', *datep++ = '9'; + *datep++ = (year / 1000) % 10 + '0'; + *datep++ = (year / 100) % 10 + '0'; /* fall thru */ case 'y': - *datep++ = now->tm_year / 10 + '0'; - *datep++ = now->tm_year % 10 + '0'; + *datep++ = (year / 10) % 10 + '0'; + *datep++ = year % 10 + '0'; when '%': *datep++ = *p; otherwise: ; /* nothing */ a href='/~lantw44/cgit/cgit.cgi/'>cgit logo index : freebsd-ports-graphics
FreeBSD graphics obsolete development ports (https://github.com/freebsd/freebsd-ports-graphics)
aboutsummaryrefslogtreecommitdiffstats
path: root/audio
Commit message (Expand)AuthorAgeFilesLines
* - Update to 1.9miwi2007-01-163-4/+10
* On special request, provide a full prototype for ao_default_driver_id()naddy2007-01-152-1/+15
* Update audio/x11ampnox2007-01-151-2/+4
* Fix master site.naddy2007-01-151-1/+1
* - Updated to 1.18nivit2007-01-144-21/+50
* Dino is a pattern-based MIDI sequencer, which means that you writemiwi2007-01-146-0/+64
* LASH is a session management system for JACK audio applications.miwi2007-01-1413-0/+200
* DSSI (pronounced "dizzy") is an API for audio processing plugins,miwi2007-01-145-0/+78
* Fix fetchitetcu2007-01-141-2/+2
* - Fix pkg-plistmiwi2007-01-141-0/+2
* - update to use new bsd.gnustep.mkdinoex2007-01-135-20/+11
* - Update to 0.2.12miwi2007-01-132-4/+4
* - Fix build with gcc 4.xehaupt2007-01-1111-7/+195
* - Bump PORTREVISIONmiwi2007-01-111-0/+1
* For quite some time running umix would result in 'umix: ioctl requestmiwi2007-01-111-4/+4
* - Fix manpage installmiwi2007-01-111-1/+5
* - Update to 2.1miwi2007-01-102-11/+10
* - Update to 0.2.8sat2007-01-104-10/+8
* Update to 1.21.demon2007-01-092-4/+3
* - Update to 3.99.4.5sat2007-01-0910-217/+40
* - Really fix the mDNS / avahi conflictalexbl2007-01-091-2/+2
* Fix typo.krion2007-01-081-1/+1
* - Update to 1.7sat2007-01-084-5/+6
* - Update to 0.7sat2007-01-084-5/+11
* - Reset maintainersat2007-01-081-1/+1
* - Remove no longer needed patches.miwi2007-01-062-26/+0
* - Update to 2.0.b10miwi2007-01-065-84/+149
* - Update to 0.2.7sat2007-01-064-8/+10
* RipperX is a GTK program to rip CD audio tracks and encode themmiwi2007-01-069-0/+119
* - Update to 0.6.11erwin2007-01-063-12/+16
* - Update to 1.3.1miwi2007-01-065-10/+11206
* 2006-12-27 audio/autools: is unfetchable and the project homepage disappearedmiwi2007-01-055-64/+0
* - Update to 2.2itetcu2007-01-053-8/+10
* - Update to 0.5.6miwi2007-01-052-4/+4
* - Update to 0.17miwi2007-01-053-24/+22
* upgrade to 1.4.11ijliao2007-01-052-5/+5
* upgrade to 2.1ijliao2007-01-052-6/+6
* Remove superflous dependency on kdehier, the port already depends on it viaarved2007-01-051-1/+0
* - resolve breakage where both MDNSResponder and Avahi support is builtalexbl2007-01-041-0/+2
* o Add support to <bsd.lib.mk> NO_PROFILElioux2007-01-032-1/+7
* Chase wavpack's shared library version bump, bump the PORTREVISION.mezz2007-01-031-1/+1
* Chase wavpack's shared library version bump, bump PORTREVISION on these ports.mezz2007-01-031-1/+1
* -Update to 4.40.0.mezz2007-01-035-49/+48
* -Update to 0.3.9.mezz2007-01-032-12/+13
* - Update to 1.2miwi2007-01-033-19/+12
* Update to 0.9709.novel2007-01-022-4/+4
* Update to 1.4.5jylefort2007-01-023-5/+6
* - Update to 1.9.6miwi2007-01-012-5/+4
* - Revert 1.3, the underlying problem was fixedpav2006-12-311-1/+1
* - Fix build with gcc 4.1pav2006-12-312-0/+22
* - Change USE_WX=2.4+ on 2.4-2.6. It fixes INDEX build.sem2006-12-311-1/+1
* Add jack-rack.jylefort2006-12-315-0/+61
* Add spanish to CATEGORIES now we have a virtual category.erwin2006-12-303-3/+3
* Add spanish to CATEGORIESerwin2006-12-301-1/+1
* Maintainer no longer has time to support these ports, so reassign to pool.linimon2006-12-293-3/+3
* - add pkg-message explaining user-mount when using iPod and MTP devicesmich2006-12-264-8/+12
* - Attempt to fix build for gcc4rafan2006-12-261-0/+10
* Respect CC.ume2006-12-261-1/+1
* Update to 0.38erwin2006-12-262-4/+4
* Fix build with GCC 4.x.marcus2006-12-251-0/+12
* Update to 3.8.philip2006-12-242-4/+4