diff options
author | hubertf <hubertf@pkgsrc.org> | 1998-04-21 00:46:57 +0000 |
---|---|---|
committer | hubertf <hubertf@pkgsrc.org> | 1998-04-21 00:46:57 +0000 |
commit | 1b34bb3c11896e42df2b058c348805c0678efea0 (patch) | |
tree | 31e2a2e108e55d54d081511162846b9910c021dd /graphics/xart/patches/patch-ab | |
parent | 3d3346cdc44c0fc214dab33ee3975ac04cdc983a (diff) | |
download | pkgsrc-1b34bb3c11896e42df2b058c348805c0678efea0.tar.gz |
enhanced xpaint
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; |