aboutsummaryrefslogtreecommitdiffstats
path: root/cad
diff options
context:
space:
mode:
authorjseger <jseger@FreeBSD.org>1997-11-14 21:31:17 +0800
committerjseger <jseger@FreeBSD.org>1997-11-14 21:31:17 +0800
commit71e5a4ca3e34c4629b3f6141382825603f98baab (patch)
tree170b7008a89831a3a76b87eb65af93094254e2c1 /cad
parenta805fb8978105c7ecd5e1aa2059cde7a63734e1d (diff)
downloadfreebsd-ports-gnome-71e5a4ca3e34c4629b3f6141382825603f98baab.tar.gz
freebsd-ports-gnome-71e5a4ca3e34c4629b3f6141382825603f98baab.tar.zst
freebsd-ports-gnome-71e5a4ca3e34c4629b3f6141382825603f98baab.zip
Add a patch to allow cad/mars to build under 3.0-current.
Diffstat (limited to 'cad')
-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()
+ {