diff options
author | Michael Mair-Keimberger (asterix) <m.mairkeimberger@gmail.com> | 2017-01-12 19:03:35 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2017-01-15 11:24:58 +0100 |
commit | a81515a994b6e5bec557dc6d1642854a11d2ee15 (patch) | |
tree | 451ec790a95c0c835c465ba607e5a468d3c64d20 /net-wireless/iw | |
parent | net-wireless/inspectrum: remove unused patch (diff) | |
download | gentoo-a81515a994b6e5bec557dc6d1642854a11d2ee15.tar.gz gentoo-a81515a994b6e5bec557dc6d1642854a11d2ee15.tar.bz2 gentoo-a81515a994b6e5bec557dc6d1642854a11d2ee15.zip |
net-wireless/iw: remove unused patch
Closes: https://github.com/gentoo/gentoo/pull/3447
Diffstat (limited to 'net-wireless/iw')
-rw-r--r-- | net-wireless/iw/files/iw-3.10-versioncheck.patch | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/net-wireless/iw/files/iw-3.10-versioncheck.patch b/net-wireless/iw/files/iw-3.10-versioncheck.patch deleted file mode 100644 index a15931f5865f..000000000000 --- a/net-wireless/iw/files/iw-3.10-versioncheck.patch +++ /dev/null @@ -1,30 +0,0 @@ -From 2b60b435dd032572c556b064295a3e3607d00a55 Mon Sep 17 00:00:00 2001 -From: Florian Schmaus <fschmaus@gmail.com> -Date: Sun, 1 Sep 2013 17:57:21 +0200 -Subject: [PATCH] Don't get iw version from git if there is no .git/ - -The version.sh script should only try to get the version from git if the -source actually resides in a git repository, i.e. .git/ exists. Doing -otherwise in a non-git source repo results in git ascending until it -finds a .git directory, which will cause problems in some source-based -distributions ( https://bugs.gentoo.org/show_bug.cgi?id=482334 ). ---- - version.sh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/version.sh b/version.sh -index 80e55ab..0f1aa1d 100755 ---- a/version.sh -+++ b/version.sh -@@ -3,7 +3,7 @@ - VERSION="3.11" - OUT="$1" - --if head=`git rev-parse --verify HEAD 2>/dev/null`; then -+if [ -d .git ] && head=`git rev-parse --verify HEAD 2>/dev/null`; then - git update-index --refresh --unmerged > /dev/null - descr=$(git describe) - --- -1.8.1.5 - |