diff --git a/libotf-automake-1.13.diff b/libotf-automake-1.13.diff new file mode 100644 index 0000000..da7c8ea --- /dev/null +++ b/libotf-automake-1.13.diff @@ -0,0 +1,13 @@ +Index: libotf-0.9.12/configure.ac +=================================================================== +--- libotf-0.9.12.orig/configure.ac ++++ libotf-0.9.12/configure.ac +@@ -25,7 +25,7 @@ dnl 330, Boston, MA 02111-1307, USA. + + AC_INIT(libotf, 0.9.12, handa@m17n.org) + AM_INIT_AUTOMAKE(libotf, 0.9.12) +-AM_CONFIG_HEADER(src/config.h) ++AC_CONFIG_HEADERS(src/config.h) + + # Checks for programs. + AC_PROG_CC diff --git a/libotf.changes b/libotf.changes index 57a2330..17c6abe 100644 --- a/libotf.changes +++ b/libotf.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Mar 5 07:19:38 UTC 2013 - pgajdos@suse.com + +- fix build with automake + ------------------------------------------------------------------- Mon Feb 13 10:49:07 UTC 2012 - coolo@suse.com diff --git a/libotf.spec b/libotf.spec index 49f1248..4af1d19 100644 --- a/libotf.spec +++ b/libotf.spec @@ -1,7 +1,7 @@ # # spec file for package libotf # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -30,6 +30,8 @@ Source0: http://www.m17n.org/libotf/libotf-%{version}.tar.bz2 Source1: baselibs.conf # PATCH-MISSING-TAG -- See http://en.opensuse.org/Packaging/Patches Patch: libotf-warning-fixes.diff +# patch not sent upstream, because m17n.org is currently down +Patch1: libotf-automake-1.13.diff BuildRequires: freetype2-devel BuildRequires: libtool BuildRequires: xorg-x11-devel @@ -60,6 +62,7 @@ to develop applications that require %{name}. %prep %setup -q %patch -p1 +%patch1 -p1 %build ./autogen.sh