diff options
-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 |