diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-03-03 22:51:39 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-03-04 05:40:09 +0700 |
commit | 8254bad8c7ebf81c4d91fa8504b98c899d882693 (patch) | |
tree | e9e4c4e170f706d4e791182a73e4baa50ad32df7 /network/sphinx | |
parent | 8ec75fa68d140f8c45c10c9f3b0407dc8e20285f (diff) | |
download | slackbuilds-8254bad8c7ebf81c4d91fa8504b98c899d882693.tar.gz |
network/sphinx: Fix build on x86.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/sphinx')
-rw-r--r-- | network/sphinx/sphinx.SlackBuild | 2 | ||||
-rw-r--r-- | network/sphinx/sphinx.patch | 11 |
2 files changed, 13 insertions, 0 deletions
diff --git a/network/sphinx/sphinx.SlackBuild b/network/sphinx/sphinx.SlackBuild index eb154f1ccd..ce7adb2c76 100644 --- a/network/sphinx/sphinx.SlackBuild +++ b/network/sphinx/sphinx.SlackBuild @@ -68,6 +68,8 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +patch -p1 < $CWD/sphinx.patch + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ diff --git a/network/sphinx/sphinx.patch b/network/sphinx/sphinx.patch new file mode 100644 index 0000000000..8017805e02 --- /dev/null +++ b/network/sphinx/sphinx.patch @@ -0,0 +1,11 @@ +--- 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 |