summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2018-03-18 20:25:08 +0000
committerJames Le Cuirot <chewi@gentoo.org>2018-03-18 21:03:23 +0000
commit2350d67513c290b62f755812407d3d4ffbab2ea2 (patch)
tree05d616b4a990f4f00dcef539f8e1272688f822ed /app-crypt/rhash/files
parentapp-emulation/qemu-guest-agent: version bump to 2.11.1 (diff)
downloadgentoo-2350d67513c290b62f755812407d3d4ffbab2ea2.tar.gz
gentoo-2350d67513c290b62f755812407d3d4ffbab2ea2.tar.bz2
gentoo-2350d67513c290b62f755812407d3d4ffbab2ea2.zip
app-crypt/rhash: Version bump to 1.3.6, new build system
The static Makefiles are now complemented with a hand-written configure script. :| On the plus side, it does at least deal with all the portability issues we had to hack around before. Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'app-crypt/rhash/files')
-rw-r--r--app-crypt/rhash/files/unquote-cc.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/app-crypt/rhash/files/unquote-cc.patch b/app-crypt/rhash/files/unquote-cc.patch
new file mode 100644
index 000000000000..77ccc9b2c5f7
--- /dev/null
+++ b/app-crypt/rhash/files/unquote-cc.patch
@@ -0,0 +1,26 @@
+From 4558d6753611ab1bf21765017e5b451aee8409f6 Mon Sep 17 00:00:00 2001
+From: James Le Cuirot <chewi@gentoo.org>
+Date: Sun, 18 Mar 2018 14:23:28 +0000
+Subject: [PATCH] configure: Don't quote $CC when calling it
+
+It might have additional arguments.
+---
+ configure | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure b/configure
+index f480f7b..8ebb929 100755
+--- a/configure
++++ b/configure
+@@ -480,7 +480,7 @@ if test "$(basename $CC)" = "icc" || test "$(basename $CC)" = "ecc"; then
+ else
+ CC_TMP="$CC"
+ for CC in "$CC_TMP" gcc cc ; do
+- if "$CC" -v >/dev/null 2>&1; then
++ if $CC -v >/dev/null 2>&1; then
+ cc_name_tmp=$($CC -v 2>&1 | tail -n 1 | cut -d ' ' -f 1)
+ if test "$cc_name_tmp" = "gcc"; then
+ cc_name=$cc_name_tmp
+--
+2.16.1
+