Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=xfcetesting.git;a=commitdiff;h=b3c3044b00fc249de7c7944b8ea1975f4834e41e

commit b3c3044b00fc249de7c7944b8ea1975f4834e41e
Author: James Buren <[email protected]>
Date:   Tue May 8 08:15:32 2012 -0500

pyhash-0.4.1-3-x86_64
* fix build

diff --git a/source/lib-extra/pyhash/FrugalBuild 
b/source/lib-extra/pyhash/FrugalBuild
index 7d1381d..d189f95 100644
--- a/source/lib-extra/pyhash/FrugalBuild
+++ b/source/lib-extra/pyhash/FrugalBuild
@@ -3,14 +3,16 @@

pkgname=pyhash
pkgver=0.4.1
-pkgrel=2
+pkgrel=3
pkgdesc="Python Non-cryptographic Hash Library"
-depends=('python' 'libboost')
+depends=('python' 'libboost>=1.49.0')
makedepends=('python-distribute' 'boost')
groups=('lib-extra')
archs=('i686' 'x86_64')
_F_googlecode_dirname="pyfasthash"
Finclude googlecode
-sha1sums=('e80cbdff4cfa124d1caf0c3af2d373f715dd2394')
+source=(${source[@]} fixes.patch)
+sha1sums=('e80cbdff4cfa124d1caf0c3af2d373f715dd2394' \
+          'd4d6121059f08b048307cd7e599b5548c5ea3bc4')

# optimization OK
diff --git a/source/lib-extra/pyhash/fixes.patch 
b/source/lib-extra/pyhash/fixes.patch
new file mode 100644
index 0000000..6c83430
--- /dev/null
+++ b/source/lib-extra/pyhash/fixes.patch
@@ -0,0 +1,12 @@
+diff -ur a/src/MurmurHash/MurmurHash3.cpp b/src/MurmurHash/MurmurHash3.cpp
+--- a/src/MurmurHash/MurmurHash3.cpp   2012-05-08 08:14:00.128765772 -0500
++++ b/src/MurmurHash/MurmurHash3.cpp   2012-05-08 08:14:16.623765152 -0500
+@@ -29,7 +29,7 @@
+
+ #else // defined(_MSC_VER)
+
+-#define       FORCE_INLINE __attribute__((always_inline))
++#define       FORCE_INLINE __attribute__((always_inline)) inline
+
+ inline uint32_t rotl32 ( uint32_t x, int8_t r )
+ {
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to