diff options
author | James Le Cuirot <chewi@gentoo.org> | 2018-08-09 00:10:13 +0100 |
---|---|---|
committer | James Le Cuirot <chewi@gentoo.org> | 2018-08-09 00:10:13 +0100 |
commit | 1cdc359aa073e986fe37a90047701e541612ca72 (patch) | |
tree | 6353edc18e089b1e24aa01a0160fdf87ec64d48a /app-crypt/rhash/files | |
parent | app-crypt/rhash: amd64 stable wrt bug #663198 (diff) | |
download | gentoo-1cdc359aa073e986fe37a90047701e541612ca72.tar.gz gentoo-1cdc359aa073e986fe37a90047701e541612ca72.tar.bz2 gentoo-1cdc359aa073e986fe37a90047701e541612ca72.zip |
app-crypt/rhash: Fix triplet issues and restore fbsd/macos keywords
I was waiting for upstream to release the fix but that is taking a
while so I've patched it.
Closes: https://bugs.gentoo.org/651334
Package-Manager: Portage-2.3.45, Repoman-2.3.10
Diffstat (limited to 'app-crypt/rhash/files')
-rw-r--r-- | app-crypt/rhash/files/darwin-triplet.patch | 23 | ||||
-rw-r--r-- | app-crypt/rhash/files/freebsd-triplet.patch | 23 |
2 files changed, 46 insertions, 0 deletions
diff --git a/app-crypt/rhash/files/darwin-triplet.patch b/app-crypt/rhash/files/darwin-triplet.patch new file mode 100644 index 000000000000..49b7e121d818 --- /dev/null +++ b/app-crypt/rhash/files/darwin-triplet.patch @@ -0,0 +1,23 @@ +From 35a830d1968465e4ecb079273f032b754bac6c66 Mon Sep 17 00:00:00 2001 +From: James Le Cuirot <chewi@gentoo.org> +Date: Sun, 25 Mar 2018 17:40:49 +0100 +Subject: [PATCH] configure: Add target OS clause for Darwin + +These triplets can also have a version number suffix, for example, +x86_64-apple-darwin16. +--- + configure | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/configure b/configure +index 5b6b710..2d8ac42 100755 +--- a/configure ++++ b/configure +@@ -410,6 +410,7 @@ else + amigaos) TARGET_OS=AmigaOS ;; + mingw32*) TARGET_OS=MINGW32 ;; + wine) TARGET_OS=Wine ;; ++ darwin*) TARGET_OS=Darwin ;; + esac + } + TARGET_OS="UNKNOWN" diff --git a/app-crypt/rhash/files/freebsd-triplet.patch b/app-crypt/rhash/files/freebsd-triplet.patch new file mode 100644 index 000000000000..94b615824be7 --- /dev/null +++ b/app-crypt/rhash/files/freebsd-triplet.patch @@ -0,0 +1,23 @@ +From 14db7f9ee87e05450853ba0e1d8e83cc34aef3e4 Mon Sep 17 00:00:00 2001 +From: James Le Cuirot <chewi@aura-online.co.uk> +Date: Sat, 24 Mar 2018 13:51:56 +0000 +Subject: [PATCH] configure: Match FreeBSD triplets with versions + +Triplets such as x86_64-unknown-freebsd11.1 are common. +--- + configure | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure b/configure +index 8ebb929..5b6b710 100755 +--- a/configure ++++ b/configure +@@ -398,7 +398,7 @@ else + part=$(echo $BUILD_TARGET | cut -d '-' -f $component) + case "$(echo $part | tr '[A-Z]' '[a-z]')" in + linux) TARGET_OS=Linux ;; +- freebsd) TARGET_OS=FreeBSD ;; ++ freebsd*) TARGET_OS=FreeBSD ;; + gnu/kfreebsd) TARGET_OS=FreeBSD ;; + netbsd) TARGET_OS=NetBSD ;; + bsd/os) TARGET_OS=BSD/OS ;; |