summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-11-23 06:26:29 -0500
committerMike Frysinger <vapier@gentoo.org>2015-11-23 06:26:33 -0500
commitd2e0d720fd9440e55f2dab5eddecf4dd1f74364b (patch)
tree02c0eb335582423cc57563a3b8ba1b095ac6f300 /sys-devel/autogen
parentdev-python/pbr: Keyword under ALLARCHES policy (diff)
downloadgentoo-d2e0d720fd9440e55f2dab5eddecf4dd1f74364b.tar.gz
gentoo-d2e0d720fd9440e55f2dab5eddecf4dd1f74364b.tar.bz2
gentoo-d2e0d720fd9440e55f2dab5eddecf4dd1f74364b.zip
sys-devel/autogen: fix use of hardcoded /tmp paths during build #563352
Diffstat (limited to 'sys-devel/autogen')
-rw-r--r--sys-devel/autogen/autogen-5.18.4.ebuild4
-rw-r--r--sys-devel/autogen/files/autogen-5.18.4-tmp-log.patch17
2 files changed, 21 insertions, 0 deletions
diff --git a/sys-devel/autogen/autogen-5.18.4.ebuild b/sys-devel/autogen/autogen-5.18.4.ebuild
index c1d55b9cec37..a3969ab0b246 100644
--- a/sys-devel/autogen/autogen-5.18.4.ebuild
+++ b/sys-devel/autogen/autogen-5.18.4.ebuild
@@ -19,6 +19,10 @@ RDEPEND=">=dev-scheme/guile-1.8
dev-libs/libxml2"
DEPEND="${RDEPEND}"
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-5.18.4-tmp-log.patch #563352
+}
+
src_configure() {
# suppress possibly incorrect -R flag
export ag_cv_test_ldflags=
diff --git a/sys-devel/autogen/files/autogen-5.18.4-tmp-log.patch b/sys-devel/autogen/files/autogen-5.18.4-tmp-log.patch
new file mode 100644
index 000000000000..89e0277ab0ff
--- /dev/null
+++ b/sys-devel/autogen/files/autogen-5.18.4-tmp-log.patch
@@ -0,0 +1,17 @@
+https://bugs.gentoo.org/563352
+https://sourceforge.net/p/autogen/bugs/172/
+
+this is fixed upstream in commit f303a1d5d8d8e002974eb64818f74041325f2433
+
+--- a/pkg/libopts/mklibsrc.sh
++++ b/pkg/libopts/mklibsrc.sh
+@@ -18,8 +18,7 @@
+ ## You should have received a copy of the GNU General Public License along
+ ## with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-set -ex
+-exec 2> /tmp/mklibsrc-log.tx
++set -e
+
+ top_builddir=`cd $top_builddir ; pwd`
+ top_srcdir=`cd $top_srcdir ; pwd`