summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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`