diff options
author | reinoud <reinoud@pkgsrc.org> | 2004-04-06 19:02:48 +0000 |
---|---|---|
committer | reinoud <reinoud@pkgsrc.org> | 2004-04-06 19:02:48 +0000 |
commit | 9fbcdce47f4f78578ebef477c71984ef542422cc (patch) | |
tree | 6e81ec08a830f1acd80cd3d4482354b52323a4cf /editors/TeXmacs/patches/patch-ae | |
parent | cda3f69076bd79d4d2b32cb67eb19a2e0e1cf877 (diff) | |
download | pkgsrc-9fbcdce47f4f78578ebef477c71984ef542422cc.tar.gz |
Fixing of fatal compilation errors. Mainly it redefined time_t causing it
to bomb out. Secondly it made assumptions about the processor being a 32
bitter wich gave rise to various warnings about pointer to integer
conversion. These were not that serious for they were mainly used for
calculating hash values but i decided to fix those too if only to get
better hash values.
Diffstat (limited to 'editors/TeXmacs/patches/patch-ae')
-rw-r--r-- | editors/TeXmacs/patches/patch-ae | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/editors/TeXmacs/patches/patch-ae b/editors/TeXmacs/patches/patch-ae new file mode 100644 index 00000000000..3e97cf3ede1 --- /dev/null +++ b/editors/TeXmacs/patches/patch-ae @@ -0,0 +1,16 @@ +$NetBSD: patch-ae,v 1.1 2004/04/06 19:02:49 reinoud Exp $ + +--- src/Window/event.hpp.orig 2004-04-03 21:20:49.000000000 +0200 ++++ src/Window/event.hpp +@@ -15,10 +15,7 @@ + #include "tree.hpp" + #include "command.hpp" + +-#ifndef _TIME_T +-#define _TIME_T +-typedef long time_t; +-#endif ++#include <time.h> + + class window_rep; + typedef window_rep* window; |