summaryrefslogtreecommitdiff
path: root/x11-wm/pawm/files/patch-src_timux.h
diff options
context:
space:
mode:
authorTrevor Johnson <trevor@FreeBSD.org>2003-10-18 23:48:03 +0000
committerTrevor Johnson <trevor@FreeBSD.org>2003-10-18 23:48:03 +0000
commit13f0f9f37f772802c0aab99d0609c78259e3d3e7 (patch)
treec1c41bfd524bb64d9a4b04c5f17c882f13514af5 /x11-wm/pawm/files/patch-src_timux.h
parentSwitch to tk84, bump PORTREVISION and tidy some whitespace. (diff)
Add support for FreeBSD 4.X (requested by kris). Update to 1.9.4.
Fix ordering of packing list.
Notes
Notes: svn path=/head/; revision=91608
Diffstat (limited to 'x11-wm/pawm/files/patch-src_timux.h')
-rw-r--r--x11-wm/pawm/files/patch-src_timux.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/x11-wm/pawm/files/patch-src_timux.h b/x11-wm/pawm/files/patch-src_timux.h
new file mode 100644
index 000000000000..eab3422b1f75
--- /dev/null
+++ b/x11-wm/pawm/files/patch-src_timux.h
@@ -0,0 +1,22 @@
+$FreeBSD$
+
+FreeBSD 4 is not C99-compliant.
+
+--- src/timux.h.orig Wed Apr 24 11:07:32 2002
++++ src/timux.h Sat Oct 18 17:15:40 2003
+@@ -25,13 +25,11 @@
+ #ifndef __X_TIMUX_X__
+ #define __X_TIMUX_X__
+
+-#include <stdint.h>
+-
+ /* NOTE: timestamps, and so resolutions, are expressed in milliseconds */
+
+ typedef struct TiMux *TiMux;
+-typedef uint_fast32_t tempus;
+-typedef uint_fast64_t jobid;
++typedef uint32_t tempus;
++typedef uint64_t jobid;
+ typedef void (*duty) (void *);
+
+ TiMux timux_create (void);