summarylogtreecommitdiffstats
path: root/ucl-1.03-autoconf-compat.patch
diff options
context:
space:
mode:
authorAndrew Sun2018-08-30 11:53:07 -0400
committerAndrew Sun2018-08-30 11:53:07 -0400
commitf4834bc76f5f54fdcf262bd456da7de181d25260 (patch)
tree147e9a6c683f6ec82d3ea3f7a84472b2ed38486d /ucl-1.03-autoconf-compat.patch
downloadaur-mingw-w64-ucl.tar.gz
add mingw-w64-ucl (version 1.03)
Diffstat (limited to 'ucl-1.03-autoconf-compat.patch')
-rw-r--r--ucl-1.03-autoconf-compat.patch61
1 files changed, 61 insertions, 0 deletions
diff --git a/ucl-1.03-autoconf-compat.patch b/ucl-1.03-autoconf-compat.patch
new file mode 100644
index 000000000000..305ff07ed973
--- /dev/null
+++ b/ucl-1.03-autoconf-compat.patch
@@ -0,0 +1,61 @@
+--- ucl-1.03/Makefile.am.orig 2004-07-20 01:01:47.000000000 +0200
++++ ucl-1.03/Makefile.am 2013-03-13 21:25:41.453183500 +0100
+@@ -3,7 +3,8 @@
+ # Copyright (C) 1996-2004 Markus F.X.J. Oberhumer
+ #
+
+-AUTOMAKE_OPTIONS = 1.8.5 foreign
++AUTOMAKE_OPTIONS = 1.14
++ACLOCAL_AMFLAGS = -I m4
+
+ SUBDIRS = include src examples
+
+--- ucl-1.03/configure.ac.orig 2004-07-20 01:01:47.000000000 +0200
++++ ucl-1.03/configure.ac 2013-03-13 21:25:41.453183500 +0100
+@@ -36,9 +36,10 @@ All Rights Reserved.
+ This configure script may be copied, distributed and modified under the
+ terms of the GNU General Public License; see COPYING for more details.])
+
+-AC_PREREQ(2.59)
++AC_PREREQ(2.69)
+ AC_INIT(ucl,1.03,markus@oberhumer.com)
+ AC_MSG_NOTICE([Configuring UCL $PACKAGE_VERSION])
++AC_CONFIG_MACRO_DIR([m4])
+ AC_CONFIG_SRCDIR(src/ucl_init.c)
+ AC_CONFIG_AUX_DIR(acconfig)
+ AC_PREFIX_DEFAULT(/usr/local)
+@@ -48,7 +49,7 @@ AC_CANONICAL_TARGET
+ AM_MAINTAINER_MODE
+
+ if test -z "$ac_abs_top_srcdir"; then
+- _AC_SRCPATHS(.)
++ _AC_SRCDIRS(.)
+ fi
+ if test -r .Conf.settings1; then
+ . ./.Conf.settings1
+--- ucl-1.03/examples/Makefile.am.orig 2004-07-20 01:01:47.000000000 +0200
++++ ucl-1.03/examples/Makefile.am 2013-03-13 21:25:41.453183500 +0100
+@@ -3,7 +3,7 @@
+ # Copyright (C) 1996-2004 Markus F.X.J. Oberhumer
+ #
+
+-INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)
++AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)
+
+ noinst_PROGRAMS = simple uclpack
+
+--- ucl-1.03/src/Makefile.am.orig 2004-07-20 01:01:47.000000000 +0200
++++ ucl-1.03/src/Makefile.am 2013-03-13 21:25:41.453183500 +0100
+@@ -6,9 +6,9 @@
+ VPATH = @srcdir@@UCL_ASM_VPATH@
+ SUFFIXES = .S
+
+-INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)
+-CPPFLAGS = $(UCL_CPPFLAGS) $(configure_CPPFLAGS) $(UCL_EXTRA_CPPFLAGS)
+-CFLAGS = $(UCL_CFLAGS) $(configure_CFLAGS) $(UCL_EXTRA_CFLAGS)
++AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)
++AM_CPPFLAGS += $(UCL_CPPFLAGS) $(configure_CPPFLAGS) $(UCL_EXTRA_CPPFLAGS)
++AM_CFLAGS = $(UCL_CFLAGS) $(configure_CFLAGS) $(UCL_EXTRA_CFLAGS)
+
+ lib_LTLIBRARIES = libucl.la
+