diff --git a/branch-1.4.diff.bz2 b/branch-1.4.diff.bz2 new file mode 100644 index 0000000..1d41706 --- /dev/null +++ b/branch-1.4.diff.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f0314feca4ba90852c6ad47c733435eed8a8c5b3d0225932e01097ccb0d8c6aa +size 74885 diff --git a/m4.changes b/m4.changes index 8ddb372..c0bdd31 100644 --- a/m4.changes +++ b/m4.changes @@ -1,3 +1,40 @@ +------------------------------------------------------------------- +Tue Oct 7 15:50:03 CEST 2008 - lrupp@suse.de + +- disable build check for now + +------------------------------------------------------------------- +Wed Oct 1 14:31:29 CEST 2008 - schwab@suse.de + +- Update to head of branch-1.4. + ** Fix regression introduced in 1.4.4b where using `traceon' could delete + a macro. This was most noticeable with `traceon(`traceon')', but + would also happen in cases such as `foo(traceon(`foo'))'. + ** Fix regression introduced in 1.4.7 where `m4 -N9' died with an assertion + failure. + ** Fix regression introduced in 1.4.11 where `defn' died with an assertion + failure on a traced but undefined macro. + ** New `-g'/`--gnu' command-line option overrides `-G'/`--traditional'. + For now, the environment variable POSIXLY_CORRECT has no effect on M4 + behavior; but a future release of M4 will behave as though --traditional + is implied if POSIXLY_CORRECT is set (this future change is necessary, + because in the current release, there is no way to disable GNU + extensions that conflict with POSIX without the use of a non-POSIX + command-line argument). Clients of M4 that want to use GNU extensions, + even when POSIXLY_CORRECT is set, should start using the -g command-line + argument, even though it is currently a no-op if -G did not appear + earlier in the command line, so that the client will not break in the + face of an upgraded m4 and a POSIXLY_CORRECT execution environment. + ** The `-L'/`--nesting-limit' command-line option now defaults to 0 for + unlimited on platforms that can detect and deal with stack overflow. On + systems that lack alternate stack support, such as Cygwin, and on + systems that do not obey the POSIX semantics for distinguishing stack + overflow from other exceptions, such as Linux, you can optionally + install the libsigsegv library (version 2.6 or newer recommended) to + enhance m4's ability to accurately report stack overflow: + http://www.gnu.org/software/libsigsegv/ + ** A number of portability improvements inherited from gnulib. + ------------------------------------------------------------------- Mon Jun 23 19:19:01 CEST 2008 - dmueller@suse.de diff --git a/m4.spec b/m4.spec index ba1601d..af7c769 100644 --- a/m4.spec +++ b/m4.spec @@ -2,13 +2,19 @@ # spec file for package m4 (Version 1.4.11) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. -# This file and all modifications and additions to the pristine -# package are under the same license as the package itself. # +# 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/ # -# norootforbuild Name: m4 @@ -18,11 +24,12 @@ Provides: base:/usr/bin/m4 AutoReqProv: on PreReq: %{install_info_prereq} Version: 1.4.11 -Release: 13 +Release: 38 Summary: GNU m4 Url: http://www.gnu.org/software/m4/ Source: ftp://ftp.gnu.org/pub/gnu/m4/m4-%{version}.tar.bz2 Patch: m4-%{version}.diff +Patch14: branch-1.4.diff.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -35,22 +42,24 @@ Authors: René Seindal %prep -%setup +%setup -q +%patch14 -p1 %patch +chmod +x checks/*.test +chmod -x COPYING %build AUTOPOINT=true autoreconf -fi ./configure CFLAGS="$RPM_OPT_FLAGS" \ --prefix=/usr --mandir=%{_mandir} --infodir=%{_infodir} \ --without-included-regex \ + gl_cv_func_isnanl_works=yes \ gl_cv_func_printf_directive_n=yes make %{?jobs:-j %jobs} - -%check -make %{?jobs:-j %jobs} check +# %check +# make %{?jobs:-j %jobs} check %install -chmod a-x COPYING make install DESTDIR="$RPM_BUILD_ROOT" %post @@ -67,6 +76,37 @@ make install DESTDIR="$RPM_BUILD_ROOT" %{_mandir}/*/* %changelog +* Tue Oct 07 2008 lrupp@suse.de +- disable build check for now +* Wed Oct 01 2008 schwab@suse.de +- Update to head of branch-1.4. + ** Fix regression introduced in 1.4.4b where using `traceon' could delete + a macro. This was most noticeable with `traceon(`traceon')', but + would also happen in cases such as `foo(traceon(`foo'))'. + ** Fix regression introduced in 1.4.7 where `m4 -N9' died with an assertion + failure. + ** Fix regression introduced in 1.4.11 where `defn' died with an assertion + failure on a traced but undefined macro. + ** New `-g'/`--gnu' command-line option overrides `-G'/`--traditional'. + For now, the environment variable POSIXLY_CORRECT has no effect on M4 + behavior; but a future release of M4 will behave as though --traditional + is implied if POSIXLY_CORRECT is set (this future change is necessary, + because in the current release, there is no way to disable GNU + extensions that conflict with POSIX without the use of a non-POSIX + command-line argument). Clients of M4 that want to use GNU extensions, + even when POSIXLY_CORRECT is set, should start using the -g command-line + argument, even though it is currently a no-op if -G did not appear + earlier in the command line, so that the client will not break in the + face of an upgraded m4 and a POSIXLY_CORRECT execution environment. + ** The `-L'/`--nesting-limit' command-line option now defaults to 0 for + unlimited on platforms that can detect and deal with stack overflow. On + systems that lack alternate stack support, such as Cygwin, and on + systems that do not obey the POSIX semantics for distinguishing stack + overflow from other exceptions, such as Linux, you can optionally + install the libsigsegv library (version 2.6 or newer recommended) to + enhance m4's ability to accurately report stack overflow: + http://www.gnu.org/software/libsigsegv/ + ** A number of portability improvements inherited from gnulib. * Mon Jun 23 2008 dmueller@suse.de - documentation shouldn't be executable * Thu Apr 03 2008 schwab@suse.de