summaryrefslogtreecommitdiff
path: root/development/4th/02-to_preserve_32bit_compatibility.patch
diff options
context:
space:
mode:
authorZbigniew Baniewski <Zbigniew.Baniewski@gmail.com>2014-04-13 22:09:28 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-04-13 22:11:12 +0700
commit3b0bddf7a515543abc89ae438199130ee0abd715 (patch)
tree09d4860671e2879ddab5e7949295bfc09a692a8f /development/4th/02-to_preserve_32bit_compatibility.patch
parente684ccaa73b23311da0144ce7cabbac83fdcaa91 (diff)
downloadslackbuilds-3b0bddf7a515543abc89ae438199130ee0abd715.tar.gz
development/4th: Updated for version 3.62.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/4th/02-to_preserve_32bit_compatibility.patch')
-rw-r--r--development/4th/02-to_preserve_32bit_compatibility.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/development/4th/02-to_preserve_32bit_compatibility.patch b/development/4th/02-to_preserve_32bit_compatibility.patch
new file mode 100644
index 0000000000..8daf0062c1
--- /dev/null
+++ b/development/4th/02-to_preserve_32bit_compatibility.patch
@@ -0,0 +1,14 @@
+diff -Nur 4th-3.62.2-unix/sources/4th.h 4th-3.62.2-unix.new/sources/4th.h
+--- 4th-3.62.2-unix/sources/4th.h 2012-04-09 18:15:03.000000000 +0200
++++ 4th-3.62.2-unix.new/sources/4th.h 2014-04-13 16:23:07.122971512 +0200
+@@ -62,8 +62,8 @@
+ #define M4BADNAM 28
+ #define M4CABORT 29
+
+-#define CELL_MIN LONG_MIN
+-#define CELL_MAX LONG_MAX
++#define CELL_MIN INT_MIN
++#define CELL_MAX INT_MAX
+
+ typedef long cell;
+ typedef unsigned char unit;