aboutsummaryrefslogtreecommitdiffstats
path: root/devel/swarm/files
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2002-11-23 07:35:29 +0800
committeredwin <edwin@FreeBSD.org>2002-11-23 07:35:29 +0800
commitf85ffefeb4721ffcee5bf203170ef6c928b4112d (patch)
tree481fb1a23d5f3bfce2b2805f97811a2901f0b3a6 /devel/swarm/files
parent52c009cdf2d601ac380a536b4313737244bc5142 (diff)
downloadfreebsd-ports-gnome-f85ffefeb4721ffcee5bf203170ef6c928b4112d.tar.gz
freebsd-ports-gnome-f85ffefeb4721ffcee5bf203170ef6c928b4112d.tar.zst
freebsd-ports-gnome-f85ffefeb4721ffcee5bf203170ef6c928b4112d.zip
Update to fix build on -current
PR: ports/45555 Submitted by: Horance Chou <horance@freedom.ie.cycu.edu.tw>
Diffstat (limited to 'devel/swarm/files')
-rw-r--r--devel/swarm/files/patch-activity.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/devel/swarm/files/patch-activity.h b/devel/swarm/files/patch-activity.h
new file mode 100644
index 000000000000..9dae7df9ad24
--- /dev/null
+++ b/devel/swarm/files/patch-activity.h
@@ -0,0 +1,18 @@
+--- src/activity/activity.h.orig Thu Nov 21 12:13:38 2002
++++ src/activity/activity.h Thu Nov 21 12:13:53 2002
+@@ -462,6 +462,7 @@
+ #ifndef DEFINED_timeval_t
+ #define DEFINED_timeval_t
+
++typedef unsigned long timeval_t;
+ //T: Values of this type are used as keys when inserting actions into a
+ //T: schedule at a particular time, or for querying the current time value
+ //T: of a swarm or schedule during its execution. (The shorter name time_t
+@@ -478,7 +479,6 @@
+ //T: a containing schedule or swarm. (.. Currently, all this extended time
+ //T: unit support is unsupported, though there is an example of scheduling
+ //T: at subunit times in a GridTurtle test program.)
+-typedef unsigned long timeval_t;
+ #endif
+
+