Hello community,
here is the log from the commit of package autoconf261 for openSUSE:Factory
checked in at Mon Mar 1 17:27:03 CET 2010.
--------
New Changes file:
--- /dev/null 2009-09-30 08:50:26.000000000 +0200
+++ autoconf261/autoconf261.changes 2010-03-01 16:31:51.000000000 +0100
@@ -0,0 +1,5 @@
+-------------------------------------------------------------------
+Mon Mar 1 15:26:16 UTC 2010 - coolo@novell.com
+
+- clone of old autoconf 2.61 package
+
calling whatdependson for head-i586
New:
----
ac-func-mktime.diff
ac-proc-sed.diff
autoconf-2.61.tar.bz2
autoconf261.changes
autoconf261.spec
autoreconf-ltdl.diff
tests.diff
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ autoconf261.spec ++++++
#
# spec file for package autoconf261 (Version 2.61)
#
# Copyright (c) 2010 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: autoconf261
BuildRequires: help2man
License: GPLv2+
Group: Development/Tools/Building
Url: http://www.gnu.org/software/autoconf
AutoReqProv: on
Requires: m4 >= %(rpm -q --qf=%%{VERSION} m4)
PreReq: %{install_info_prereq}
Version: 2.61
Release: 1
Summary: A GNU Tool for Automatically Configuring Source Code
Source: autoconf-%{version}.tar.bz2
Patch: autoreconf-ltdl.diff
Patch1: ac-proc-sed.diff
Patch2: ac-func-mktime.diff
Patch3: tests.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
GNU Autoconf is a tool for configuring source code and makefiles. Using
autoconf, programmers can create portable and configurable packages,
because the person building the package is allowed to specify various
configuration options.
You should install autoconf if you are developing software and would
like to create shell scripts to configure your source code packages.
Note that the autoconf package is not required for the end user who may
be configuring software with an autoconf-generated script; autoconf is
only required for the generation of the scripts, not their use.
%prep
%setup -q -n autoconf-%{version}
%patch
%patch1
%patch2 -p1
%patch3 -p1
%build
%{suse_update_config -f config}
./configure --prefix=%{_prefix} --infodir=%{_infodir} --mandir=%{_mandir} --program-suffix=-2.61 --datadir=%_prefix/share/autoconf-2.61
make
%install
make install DESTDIR=$RPM_BUILD_ROOT
rm -f $RPM_BUILD_ROOT%{_prefix}/share/emacs/site-lisp/*.el*
# do not confuse info
rm -rf $RPM_BUILD_ROOT%{_infodir}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc AUTHORS COPYING NEWS README TODO
%{_prefix}/bin/*
%{_prefix}/share/autoconf-2.61
%doc %{_mandir}/man1/*.gz
%changelog
++++++ ac-func-mktime.diff ++++++
2006-12-22 Paul Eggert
* lib/autoconf/functions.m4 (AC_FUNC_MKTIME):
Include , and use its INT_MAX to rewrite the
j loop so that it does not overflow 'int'. Problem reported by
Ralf Wildenhues in
http://lists.gnu.org/archive/html/bug-gnulib/2006-12/msg00084.html.
Play it safe by shifting left by 1 rather than multiplying by 2,
as GCC is less likely to optimize this away when the value
is signed (when it assumes overflow leads to undefined behavior).
Also, don't assume time_t uses two's complement.
diff --git a/lib/autoconf/functions.m4 b/lib/autoconf/functions.m4
index 185376e..a34c9f0 100644
--- a/lib/autoconf/functions.m4
+++ b/lib/autoconf/functions.m4
@@ -984,6 +984,7 @@ AC_CACHE_CHECK([for working mktime], ac_cv_func_working_mktime,
# endif
#endif
+#include
#include
#ifdef HAVE_UNISTD_H
@@ -1132,12 +1133,15 @@ main ()
isn't worth using anyway. */
alarm (60);
- for (time_t_max = 1; 0 < time_t_max; time_t_max *= 2)
- continue;
- time_t_max--;
- if ((time_t) -1 < 0)
- for (time_t_min = -1; (time_t) (time_t_min * 2) < 0; time_t_min *= 2)
- continue;
+ for (;;)
+ {
+ t = (time_t_max << 1) + 1;
+ if (t <= time_t_max)
+ break;
+ time_t_max = t;
+ }
+ time_t_min = - ((time_t) ~ (time_t) 0 == (time_t) -1) - time_t_max;
+
delta = time_t_max / 997; /* a suitable prime number */
for (i = 0; i < N_STRINGS; i++)
{
@@ -1152,10 +1156,12 @@ main ()
&& mktime_test ((time_t) (60 * 60 * 24))))
return 1;
- for (j = 1; 0 < j; j *= 2)
+ for (j = 1; ; j <<= 1)
if (! bigtime_test (j))
return 1;
- if (! bigtime_test (j - 1))
+ else if (INT_MAX / 2 < j)
+ break;
+ if (! bigtime_test (INT_MAX))
return 1;
}
return ! (irix_6_4_bug () && spring_forward_gap () && year_2050_test ());
++++++ ac-proc-sed.diff ++++++
2007-01-11 Ralf Wildenhues
* lib/autoconf/programs.m4 (AC_PROG_SED): When closing a pipe
early on the reader side, drop stderr of the input to avoid
`broken pipe' error output; this may happen even with shell
builtin `echo' of some bash versions. Reports by Ian Macdonald
and Sam Sexton .
Index: lib/autoconf/programs.m4
===================================================================
RCS file: /sources/autoconf/autoconf/lib/autoconf/programs.m4,v
retrieving revision 1.63
retrieving revision 1.64
diff -u -a -p -u -p -a -r1.63 -r1.64
--- lib/autoconf/programs.m4 17 Nov 2006 21:04:54 -0000 1.63
+++ lib/autoconf/programs.m4 11 Jan 2007 21:17:37 -0000 1.64
@@ -859,7 +859,7 @@ AC_DEFUN([AC_PROG_SED],
for ac_i in 1 2 3 4 5 6 7; do
ac_script="$ac_script$as_nl$ac_script"
done
- echo "$ac_script" | sed 99q >conftest.sed
+ echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
$as_unset ac_script || ac_script=
_AC_PATH_PROG_FEATURE_CHECK(SED, [sed gsed],
[_AC_FEATURE_CHECK_LENGTH([ac_path_SED], [ac_cv_path_SED],
++++++ autoreconf-ltdl.diff ++++++
--- bin/autoreconf.in
+++ bin/autoreconf.in
@@ -456,6 +456,8 @@
'AC_CONFIG_AUX_DIR:AC_CONFIG_AUX_DIR:\$1',
'AC_CONFIG_HEADERS',
'AC_CONFIG_SUBDIRS:AC_CONFIG_SUBDIRS:\$1',
+ 'AC_LIBLTDL_CONVENIENCE:AC_LIBLTDL_CONVENIENCE:\$1',
+ 'AC_LIBLTDL_INSTALLABLE:AC_LIBLTDL_INSTALLABLE:\$1',
'AC_INIT',
'AC_PROG_LIBTOOL',
'LT_INIT',
@@ -471,6 +473,7 @@
$uses_gettext_via_traces = 1 if /AM_GNU_GETTEXT/;
$uses_libtool = 1 if /(AC_PROG_LIBTOOL|LT_INIT)/;
$uses_libltdl = 1 if /LT_CONFIG_LTDL_DIR/;
+ $uses_libltdl = 1 if /AC_LIBLTDL_(CONVENIENCE|INSTALLABLE)/;
$uses_autoheader = 1 if /AC_CONFIG_HEADERS/;
$uses_automake = 1 if /AM_INIT_AUTOMAKE/;
push @subdir, split (' ', $1) if /AC_CONFIG_SUBDIRS:(.*)/ && $recursive;
++++++ tests.diff ++++++
2007-12-12 Eric Blake
Fix spurious testsuite failure with M4 1.4.11.
* tests/local.at (AT_CHECK_M4): Cater to new m4 error message.
Index: autoconf-2.61/tests/local.at
===================================================================
--- autoconf-2.61.orig/tests/local.at 2006-09-11 18:42:57.000000000 +0200
+++ autoconf-2.61/tests/local.at 2010-03-01 16:00:21.000000000 +0100
@@ -64,11 +64,16 @@ m4_define([AT_CHECK_PERL_SYNTAX],
# AT_CHECK_M4(COMMAND, [EXIT-STATUS = 0], STDOUT, STDERR)
# -------------------------------------------------------
# If stderr is specified, normalize the observed stderr.
-# This (using GNU M4 1.4.6 or later)
+# This (using GNU M4 1.4.6)
#
# /usr/local/bin/m4:script.4s:1: cannot open `foo': No such file or directory
# autom4te: /usr/local/bin/m4 failed with exit status: 1
#
+# or this (GNU M4 1.4.11)
+#
+# /usr/local/bin/m4:script.4s:1: include: cannot open `foo': No such file or directory
+# autom4te: /usr/local/bin/m4 failed with exit status: 1
+#
# or this (GNU M4 1.4 installed as gm4)
#
# script.4s:1: /usr/local/bin/gm4: Cannot open foo: No such file or directory
@@ -87,6 +92,7 @@ m4_define([AT_CHECK_PERL_SYNTAX],
#
# and
# m4:(file):(line): Cannot open foo:
+# or m4:(file):(line): include: cannot open `foo':
# to m4:(file):(line): cannot open `foo':
#
# and
@@ -102,7 +108,8 @@ m4_define([AT_CHECK_M4],
m4_ifval([$4],
[AT_CHECK([[sed 's/^[^:]*m4: *\([^:]*:\) *\([0-9][0-9]*: \)/m4:\1\2/
s/^\([^:]*:\) *\([0-9][0-9]*:\)[^:]*m4: /m4:\1\2 /
- s/^\(m4:[^:]*:[0-9][0-9]*: \)C\(annot open \)\([^`:]*\):/\1c\2`\3'\'':/
+ s/: C\(annot open \)\([^`:]*\):/: c\1`\2'\'':/
+ s/: include:\( cannot open\)/:\1/
s/^autom4te: [^ ]*m4 /autom4te: m4 /
s/^autom4te: [^ ]*m4\.exe /autom4te: m4 /
s/ (E[A-Z]*)$//
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org