***** aclocal *****
***** PWD: /var/tmp/portage/app-office/dia-0.97.2-r1/work/dia-0.97.2
aclocal-1.13: warning: autoconf input should be named 'configure.ac', not 'conf\
configure.in:11: error: 'AM_CONFIG_HEADER': this macro is obsolete.
You should use the 'AC_CONFIG_HEADERS' macro instead.
/usr/share/aclocal-1.13/obsolete-err.m4:12: AM_CONFIG_HEADER is expanded from..\
configure.in:11: the top level
autom4te-2.69: /usr/bin/m4 failed with exit status: 1
aclocal-1.13: error: echo failed with exit status: 1
Created attachment 346700 [details, diff]
Patch to use the new AC_CONFIG_HEADERS function
Created attachment 346702 [details]
Apply patch in ebuild
Adding this will also fix it
# AM_CONFIG_HEADER is obsolete and causes build failure with
sed -i -e 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g' configure.in || die
*** Bug 467590 has been marked as a duplicate of this bug. ***
Works great for me.
+*dia-0.97.2-r2 (22 Sep 2013)
+ 22 Sep 2013; Pacho Ramos <email@example.com> +dia-0.97.2-r2.ebuild,
+ Migrate to new python eclasses, improve desktop file translations, drop
+ unneeded libgnome* deps, let it compile with latest automake, don't mess with
+ localedir, fix glib-2.36 compat, apply upstream patch to fix some warnings.