slackbuilds_ponce/network/sphinx/sphinx.patch
Willy Sudiarto Raharjo 8254bad8c7 network/sphinx: Fix build on x86.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2016-03-04 05:40:09 +07:00

11 lines
443 B
Diff

--- sphinx-2.2.10-release/src/sphinxstd.h.orig 2016-03-03 22:46:11.233963956 +0700
+++ sphinx-2.2.10-release/src/sphinxstd.h 2016-03-03 22:46:23.830802814 +0700
@@ -127,7 +127,7 @@
#if defined(__alpha) || defined(__sparcv9) || defined(__LP64__) || (defined(__HOS_AIX__) && defined(_LP64)) || defined(__APPLE__)
typedef unsigned int DWORD;
#else
-typedef unsigned long DWORD;
+typedef unsigned int DWORD;
#endif
#else
// default DWORD