1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Add a patch to allow cad/mars to build under 3.0-current.

This commit is contained in:
Justin M. Seger 1997-11-14 13:31:17 +00:00
parent 9acec3b0fe
commit 4b6e535f86
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=8618

19
cad/mars/files/patch-aa Normal file
View File

@ -0,0 +1,19 @@
--- sim/usleep.c.orig Fri Nov 14 08:20:27 1997
+++ sim/usleep.c Fri Nov 14 08:22:23 1997
@@ -47,6 +47,7 @@
static int ringring;
+#if !defined(__FreeBSD__) || (__FreeBSD__ < 3)
void
usleep(useconds)
unsigned int useconds;
@@ -91,7 +92,7 @@
(void) sigsetmask(omask);
(void) setitimer(ITIMER_REAL, &oitv, (struct itimerval *)0);
}
-
+#endif
static void
sleephandler()
{