From 315b74475f2f28bff5914dcaba009b1d34499a36 Mon Sep 17 00:00:00 2001 From: Jerome Duval Date: Sat, 28 Nov 2015 12:19:24 +0000 Subject: [PATCH] sparsehash: fix version compat. --- .../patches/sparsehash-2.0.2.patchset | 22 +++++++++++++++++++ dev-cpp/sparsehash/sparsehash-2.0.2.recipe | 4 +++- 2 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 dev-cpp/sparsehash/patches/sparsehash-2.0.2.patchset diff --git a/dev-cpp/sparsehash/patches/sparsehash-2.0.2.patchset b/dev-cpp/sparsehash/patches/sparsehash-2.0.2.patchset new file mode 100644 index 000000000..7575dd2c6 --- /dev/null +++ b/dev-cpp/sparsehash/patches/sparsehash-2.0.2.patchset @@ -0,0 +1,22 @@ +From d1777633825421865011df0389c605caf5204d85 Mon Sep 17 00:00:00 2001 +From: Jerome Duval +Date: Sat, 28 Nov 2015 12:10:52 +0000 +Subject: Haiku patch + + +diff --git a/configure.ac b/configure.ac +index 9b4e86d..01ca772 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -9,7 +9,7 @@ AC_INIT(sparsehash, 2.0.2, google-sparsehash@googlegroups.com) + # (for sanity checking) + AC_CONFIG_SRCDIR(README) + AM_INIT_AUTOMAKE([dist-zip]) +-AM_CONFIG_HEADER(src/config.h) ++AC_CONFIG_HEADERS(src/config.h) + + # Checks for programs. + AC_PROG_CXX +-- +2.2.2 + diff --git a/dev-cpp/sparsehash/sparsehash-2.0.2.recipe b/dev-cpp/sparsehash/sparsehash-2.0.2.recipe index f93d26856..df6ef729e 100644 --- a/dev-cpp/sparsehash/sparsehash-2.0.2.recipe +++ b/dev-cpp/sparsehash/sparsehash-2.0.2.recipe @@ -11,8 +11,10 @@ COPYRIGHT="2008 Jesse Beder" ARCHITECTURES="x86_gcc2 x86 x86_64" SECONDARY_ARCHITECTURES="x86_gcc2 x86" +PATCHES="sparsehash-$portVersion.patchset" + PROVIDES=" - sparsehash$secondaryArchSuffix = $portVersion compat >= 0.5 + sparsehash$secondaryArchSuffix = $portVersion compat >= 2 " REQUIRES="