1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/audio/xwave/files/patch-src_button.c
Mathieu Arnold 9fa9eb9ac7 Cleanup patches, a* categories.
Rename them to follow the make makepatch naming, and regenerate them.

With hat:	portmgr
Sponsored by:	Absolight
2016-07-26 16:51:15 +00:00

12 lines
479 B
C

--- src/button.c.orig 1998-11-08 23:22:55 UTC
+++ src/button.c
@@ -679,7 +679,7 @@ Boolean set_playline(XtPointer client_da
now_clock=clock();
sample_time=(float)md->wd->tlength/(float)md->wd->freq;
-#if defined(linux) || defined (FreeBSD) || defined(sun)
+#if defined(linux) || defined (__FreeBSD__) || defined(sun)
gone_time=(float)(now_clock-start_clock)/(float)CLOCKS_PER_SEC;
#elif defined(sgi)
gone_time=(float)(now_clock-start_clock)/(float)750000;