commit: cacee360e28112a11456d7fd70b964f3016fb26f Author: tharvik <tharvik <AT> users <DOT> noreply <DOT> github <DOT> com> AuthorDate: Fri Jan 13 12:49:35 2017 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Mon May 8 20:01:00 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cacee360
x11-wm/i3: remove git polling 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 | 19 +++++++++++++++++++ x11-wm/i3/i3-4.13-r1.ebuild | 3 +++ 2 files changed, 22 insertions(+) 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 index 00000000000..ca226378ed7 --- /dev/null +++ b/x11-wm/i3/files/i3-4.13-remove-git-polling.patch @@ -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: diff --git a/x11-wm/i3/i3-4.13-r1.ebuild b/x11-wm/i3/i3-4.13-r1.ebuild index bcdf6f235b6..2311d42860a 100644 --- a/x11-wm/i3/i3-4.13-r1.ebuild +++ b/x11-wm/i3/i3-4.13-r1.ebuild @@ -36,6 +36,9 @@ RDEPEND="${CDEPEND} dev-perl/JSON-XS" DOCS=( RELEASE-NOTES-${PV} ) +PATCHES=( + "${FILESDIR}/${P}-remove-git-polling.patch" +) src_prepare() { default