x11-wm/i3: remove git polling
authortharvik <tharvik@users.noreply.github.com>
Fri, 13 Jan 2017 12:49:35 +0000 (13:49 +0100)
committerMichał Górny <mgorny@gentoo.org>
Mon, 8 May 2017 20:01:00 +0000 (22:01 +0200)
Closes: https://github.com/gentoo/gentoo/pull/3450
Package-Manager: portage-2.3.0

x11-wm/i3/files/i3-4.13-remove-git-polling.patch [new file with mode: 0644]
x11-wm/i3/i3-4.13-r1.ebuild

diff --git a/x11-wm/i3/files/i3-4.13-remove-git-polling.patch b/x11-wm/i3/files/i3-4.13-remove-git-polling.patch
new file mode 100644 (file)
index 0000000..ca22637
--- /dev/null
@@ -0,0 +1,19 @@
+diff -Naur a/configure.ac b/configure.ac
+--- a/configure.ac     2017-01-13 13:31:25.250216293 +0100
++++ b/configure.ac     2017-01-13 13:31:55.930217956 +0100
+@@ -146,15 +146,6 @@
+       print_BUILD_MANS=no
+ fi
+ 
+-git_dir=`git rev-parse --git-dir 2>/dev/null`
+-if test -n "$git_dir"; then
+-      srcdir=`dirname "$git_dir"`
+-      exclude_dir=`pwd | sed "s,^$srcdir,,g"`
+-      if ! grep -q "^$exclude_dir" "$git_dir/info/exclude"; then
+-              echo "$exclude_dir" >> "$git_dir/info/exclude"
+-      fi
+-fi
+-
+ echo \
+ "--------------------------------------------------------------------------------
+ build configured:
index bcdf6f235b61c80cb0a11db0f9c486706239e872..2311d42860af391edbf1737d5f67e697da5b74c2 100644 (file)
@@ -36,6 +36,9 @@ RDEPEND="${CDEPEND}
        dev-perl/JSON-XS"
 
 DOCS=( RELEASE-NOTES-${PV} )
+PATCHES=(
+       "${FILESDIR}/${P}-remove-git-polling.patch"
+)
 
 src_prepare() {
        default