diff options
Diffstat (limited to 'graphics/xart/patches/patch-ab')
-rw-r--r-- | graphics/xart/patches/patch-ab | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/graphics/xart/patches/patch-ab b/graphics/xart/patches/patch-ab new file mode 100644 index 00000000000..06f92781cbf --- /dev/null +++ b/graphics/xart/patches/patch-ab @@ -0,0 +1,16 @@ +--- dynPenOp.c.orig Tue Apr 21 00:57:13 1998 ++++ dynPenOp.c Tue Apr 21 01:08:15 1998 +@@ -24,11 +24,12 @@ + #include <X11/Intrinsic.h> + #include <X11/StringDefs.h> + #include <X11/cursorfont.h> ++#include <time.h> + #include "xpaint.h" + #include "misc.h" + #include "Paint.h" + +-#define XTIMEOUT ((unsigned long)(1.5*1000/HZ)) /* ms, should be larger than 1000/HZ */ ++#define XTIMEOUT ((unsigned long)(1.5*1000/CLK_TCK)) /* ms, should be larger than 1000/HZ */ + + typedef struct { + float startx, starty; |