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:
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
19
cad/mars/files/patch-aa
Normal 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()
|
||||
{
|
Loading…
Reference in New Issue
Block a user