diff options
author | Andrew Strong <andrew.david.52@gmail.com> | 2010-05-26 22:01:48 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-26 23:57:57 -0500 |
commit | dd10c3dbae33cc8f4ecef71b35c49d76086277cc (patch) | |
tree | a89c416d93e9aea05f11bdcdfa56d17bcad9d7ee /network/leafnode/sizeof_fix.diff | |
parent | abfa84c32278df8a5e18373cd3a3b6a3c2a2702f (diff) | |
download | slackbuilds-dd10c3dbae33cc8f4ecef71b35c49d76086277cc.tar.gz slackbuilds-dd10c3dbae33cc8f4ecef71b35c49d76086277cc.tar.xz |
Revert network/leafnode and fix build on 13.1
This reverts commit c7a4ca9c45255e2b19a926d9caab51810724fb16
and adds a patch to fix compilation on 13.1.
Diffstat (limited to 'network/leafnode/sizeof_fix.diff')
-rw-r--r-- | network/leafnode/sizeof_fix.diff | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/network/leafnode/sizeof_fix.diff b/network/leafnode/sizeof_fix.diff new file mode 100644 index 0000000000..a5e519dfb0 --- /dev/null +++ b/network/leafnode/sizeof_fix.diff @@ -0,0 +1,12 @@ +--- a/system.h 2008-12-29 22:24:30.000000000 +1100 ++++ b/system.h 2010-05-26 19:39:22.376358080 +1000 +@@ -20,9 +20,6 @@ + #include <inttypes.h> + #elif HAVE_STDINT_H + #include <stdint.h> +-#elif sizeof(unsigned long) == 4 && sizeof(unsigned char) == 1 +-typedef unsigned long uint32_t; +-typedef unsigned char uint8_t; + #else + #error "I cannot figure how to define uint32_t and uint8_t." + #endif |