aboutsummaryrefslogtreecommitdiff
path: root/cad/mars/files
diff options
context:
space:
mode:
authorJustin M. Seger <jseger@FreeBSD.org>1997-11-14 13:31:17 +0000
committerJustin M. Seger <jseger@FreeBSD.org>1997-11-14 13:31:17 +0000
commit4b6e535f866e4259d13b6da74b290b0d7de6733b (patch)
treeb8ec1f531bd207930345c23112fbd7f2f8b0d16c /cad/mars/files
parent9acec3b0fe98434cd3140660268af11d8ca6cc3e (diff)
downloadports-4b6e535f866e4259d13b6da74b290b0d7de6733b.tar.gz
ports-4b6e535f866e4259d13b6da74b290b0d7de6733b.zip
Add a patch to allow cad/mars to build under 3.0-current.
Notes
Notes: svn path=/head/; revision=8618
Diffstat (limited to 'cad/mars/files')
-rw-r--r--cad/mars/files/patch-aa19
1 files changed, 19 insertions, 0 deletions
diff --git a/cad/mars/files/patch-aa b/cad/mars/files/patch-aa
new file mode 100644
index 000000000000..9279a299f277
--- /dev/null
+++ b/cad/mars/files/patch-aa
@@ -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()
+ {