commit unifdef for openSUSE:Factory
Hello community, here is the log from the commit of package unifdef for openSUSE:Factory checked in at 2015-12-06 07:41:36 Comparing /work/SRC/openSUSE:Factory/unifdef (Old) and /work/SRC/openSUSE:Factory/.unifdef.new (New) Package is "unifdef" Changes: --- /work/SRC/openSUSE:Factory/unifdef/unifdef.changes 2014-02-28 16:22:32.0 +0100 +++ /work/SRC/openSUSE:Factory/.unifdef.new/unifdef.changes 2015-12-06 07:41:37.0 +0100 @@ -1,0 +2,8 @@ +Fri Dec 4 09:58:25 UTC 2015 - sweet_...@gmx.de + +- Update to 2.11: + * bug fixes + * add support for additional #if/#elif operators + * improve portability to Windows + +--- Old: unifdef-2.10.tar.xz New: unifdef-2.11.tar.xz Other differences: -- ++ unifdef.spec ++ --- /var/tmp/diff_new_pack.NzYjsr/_old 2015-12-06 07:41:37.0 +0100 +++ /var/tmp/diff_new_pack.NzYjsr/_new 2015-12-06 07:41:37.0 +0100 @@ -20,7 +20,7 @@ Summary:Removes ifdefs from C files License:BSD-2-Clause Group: Development/Libraries/C and C++ -Version:2.10 +Version:2.11 Release:0 Url:http://dotat.at/prog/unifdef/ Source: http://dotat.at/prog/unifdef/unifdef-%{version}.tar.xz ++ unifdef-2.10.tar.xz -> unifdef-2.11.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/unifdef-2.10/.travis.yml new/unifdef-2.11/.travis.yml --- old/unifdef-2.10/.travis.yml2014-01-07 20:18:30.0 +0100 +++ new/unifdef-2.11/.travis.yml2015-12-03 13:12:04.0 +0100 @@ -4,9 +4,6 @@ - gcc - clang -git: - depth: 0 - matrix: include: - compiler: i586-mingw32msvc-gcc @@ -28,8 +25,7 @@ echo -e '#!/bin/bash\nexec wine $0.exe "$@"' > unifdef; chmod ugo+x unifdef; make version.h && - make -f win32/Makefile.mingw && - make test; + make -f win32/Makefile.mingw test; fi ## whitelist diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/unifdef-2.10/COPYING new/unifdef-2.11/COPYING --- old/unifdef-2.10/COPYING2014-01-07 20:18:30.0 +0100 +++ new/unifdef-2.11/COPYING2015-12-03 13:12:04.0 +0100 @@ -14,7 +14,7 @@ Unless otherwise stated, the files in this package are: - Copyright (c) 2002 - 2014 Tony Finch+ Copyright (c) 2002 - 2015 Tony Finch unifdefall.sh is: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/unifdef-2.10/Changelog new/unifdef-2.11/Changelog --- old/unifdef-2.10/Changelog 2014-01-07 20:18:30.0 +0100 +++ new/unifdef-2.11/Changelog 2015-12-03 13:12:04.0 +0100 @@ -1,6 +1,385 @@ --- -2014-01-07 19:16:02 + Tony Finch (HEAD, tag: unifdef-2.10, -master) +2015-12-03 12:10:08 + Tony Finch (HEAD -> master, tag: +unifdef-2.11) + +Bump copyright dates + + COPYING | 2 +- + unifdef.1 | 4 ++-- + unifdef.c | 2 +- + 3 files changed, 4 insertions(+), 4 deletions(-) + +--- +2015-12-03 12:06:33 + Tony Finch + +unifdef-2.11 + + README | 3 +++ + web/index.html | 6 +++--- + 2 files changed, 6 insertions(+), 3 deletions(-) + +--- +2015-12-03 11:50:46 + Tony Finch (github/master) + +Fix uninitialized variable in evaluator. + +Inner expressions typically return LT_IF without setting their +value pointer when they encounter an unknown value. Binary +operators then blindly use these inner values before checking if +they are unknown - before checking for LT_IF. This is undefined +behaviour, but we usually dodge the bullet - except division can +cause things to explode and expose the bug. + +Initializing the value to zero avoids undefined behaviour. But this +means that instead of avoiding division when the denominator is +definitely zero (because it might be unknown and zero) we now only +divide if it is definitely non-zero. + + unifdef.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +--- +2015-12-03 11:42:04 + Tony Finch + +test: unexpected /0 exception happening in another part of the test + + tests/div.sh | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +--- +2015-12-03 11:37:56 + Tony Finch + +travis: clone deeply, so version tags are included + + .travis.yml | 3 --- + 1 file changed, 3
commit unifdef for openSUSE:Factory
Hello community, here is the log from the commit of package unifdef for openSUSE:Factory checked in at 2014-02-28 16:22:31 Comparing /work/SRC/openSUSE:Factory/unifdef (Old) and /work/SRC/openSUSE:Factory/.unifdef.new (New) Package is unifdef Changes: --- /work/SRC/openSUSE:Factory/unifdef/unifdef.changes 2013-06-11 09:38:15.0 +0200 +++ /work/SRC/openSUSE:Factory/.unifdef.new/unifdef.changes 2014-02-28 16:22:32.0 +0100 @@ -1,0 +2,7 @@ +Tue Feb 25 13:45:59 UTC 2014 - sweet_...@gmx.de + +- Update to 2.10: + * fix a bug in the -f option's support for #undef directives + * improve portability to Windows + +--- Old: unifdef-2.9.tar.xz New: unifdef-2.10.tar.xz Other differences: -- ++ unifdef.spec ++ --- /var/tmp/diff_new_pack.SJUcDm/_old 2014-02-28 16:22:33.0 +0100 +++ /var/tmp/diff_new_pack.SJUcDm/_new 2014-02-28 16:22:33.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package unifdef # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 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 @@ -20,10 +20,11 @@ Summary:Removes ifdefs from C files License:BSD-2-Clause Group: Development/Libraries/C and C++ -Version:2.9 +Version:2.10 Release:0 Url:http://dotat.at/prog/unifdef/ Source: http://dotat.at/prog/unifdef/unifdef-%{version}.tar.xz +BuildRequires: xz BuildRoot: %{_tmppath}/%{name}-%{version}-build %description ++ unifdef-2.9.tar.xz - unifdef-2.10.tar.xz ++ 7937 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit unifdef for openSUSE:Factory
Hello community, here is the log from the commit of package unifdef for openSUSE:Factory checked in at 2013-06-11 06:39:24 Comparing /work/SRC/openSUSE:Factory/unifdef (Old) and /work/SRC/openSUSE:Factory/.unifdef.new (New) Package is unifdef Changes: --- /work/SRC/openSUSE:Factory/unifdef/unifdef.changes 2013-05-07 16:03:13.0 +0200 +++ /work/SRC/openSUSE:Factory/.unifdef.new/unifdef.changes 2013-06-11 09:38:15.0 +0200 @@ -1,0 +2,12 @@ +Mon Jun 10 12:04:41 CEST 2013 - p...@suse.de + +- Update to 2.9: + * further debugging improvements + * improve indirect macro definitions + * Note in the debug output when a macro value is updated. + * Do not change a macro from defined to undefined. + * Recursive definitions no longer cause a loop. + * support for simple macro value indirection + + +--- Old: unifdef-2.8.tar.gz New: unifdef-2.9.tar.xz Other differences: -- ++ unifdef.spec ++ --- /var/tmp/diff_new_pack.VauYk1/_old 2013-06-11 09:38:16.0 +0200 +++ /var/tmp/diff_new_pack.VauYk1/_new 2013-06-11 09:38:16.0 +0200 @@ -20,10 +20,10 @@ Summary:Removes ifdefs from C files License:BSD-2-Clause Group: Development/Libraries/C and C++ -Version:2.8 +Version:2.9 Release:0 Url:http://dotat.at/prog/unifdef/ -Source: http://dotat.at/prog/unifdef/unifdef-%{version}.tar.gz +Source: http://dotat.at/prog/unifdef/unifdef-%{version}.tar.xz BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -42,7 +42,7 @@ -e 's,^\(mandir\).*=.*,\1 =\t%{_mandir},' %build -make CFLAGS=$RPM_OPT_FLAGS +make CFLAGS=%optflags %check make test -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit unifdef for openSUSE:Factory
Hello community, here is the log from the commit of package unifdef for openSUSE:Factory checked in at 2013-05-07 16:03:12 Comparing /work/SRC/openSUSE:Factory/unifdef (Old) and /work/SRC/openSUSE:Factory/.unifdef.new (New) Package is unifdef Changes: --- /work/SRC/openSUSE:Factory/unifdef/unifdef.changes 2013-04-02 20:44:41.0 +0200 +++ /work/SRC/openSUSE:Factory/.unifdef.new/unifdef.changes 2013-05-07 16:03:13.0 +0200 @@ -1,0 +2,11 @@ +Mon May 6 22:19:29 UTC 2013 - sweet_...@gmx.de + +- update to 2.8: + * read #define and #undef preprocessor directives from auxiliary +header-like files given with the -f command line option. + * you can use -f instead of or in addition to the -D and -U options + * test suite fixes +- remove unifdef-2.7-tests-fix-multimissing.sh.patch +- fix broken (out-commented) rpm description text + +--- Old: unifdef-2.7-tests-fix-multimissing.sh.patch unifdef-2.7.tar.gz New: unifdef-2.8.tar.gz Other differences: -- ++ unifdef.spec ++ --- /var/tmp/diff_new_pack.9dAVFl/_old 2013-05-07 16:03:14.0 +0200 +++ /var/tmp/diff_new_pack.9dAVFl/_new 2013-05-07 16:03:14.0 +0200 @@ -20,26 +20,22 @@ Summary:Removes ifdefs from C files License:BSD-2-Clause Group: Development/Libraries/C and C++ -Version:2.7 +Version:2.8 Release:0 Url:http://dotat.at/prog/unifdef/ Source: http://dotat.at/prog/unifdef/unifdef-%{version}.tar.gz -# sent upstream -Patch1: unifdef-2.7-tests-fix-multimissing.sh.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description -Unifdef is useful for removing ifdef'ed lines from a file while -otherwise leaving the file alone. Unifdef acts on #ifdef, #ifndef, -#else, and #endif lines, and it knows only enough about C to know when -one of these is inactive because it is inside a comment, or a single or -double quote. +Unifdef is useful for removing ifdef'ed lines from a file while otherwise +leaving the file alone. Unifdef acts on #ifdef, #ifndef, #else, and #endif +lines, and it knows only enough about C to know when one of these is +inactive because it is inside a comment, or a single or double quote. %prep %setup -q -%patch1 -p1 sed -i Makefile \ -e 's,^\(prefix\).*=.*,\1 =\t%{_prefix},' \ -e 's,^\(bindir\).*=.*,\1 =\t%{_bindir},' \ ++ unifdef-2.7.tar.gz - unifdef-2.8.tar.gz ++ 2094 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit unifdef for openSUSE:Factory
Hello community, here is the log from the commit of package unifdef for openSUSE:Factory checked in at 2013-04-02 20:44:40 Comparing /work/SRC/openSUSE:Factory/unifdef (Old) and /work/SRC/openSUSE:Factory/.unifdef.new (New) Package is unifdef, Maintainer is p...@suse.com Changes: --- /work/SRC/openSUSE:Factory/unifdef/unifdef.changes 2012-01-26 14:08:50.0 +0100 +++ /work/SRC/openSUSE:Factory/.unifdef.new/unifdef.changes 2013-04-02 20:44:41.0 +0200 @@ -1,0 +2,11 @@ +Tue Apr 2 09:47:34 UTC 2013 - sweet_...@gmx.de + +- update to 2.7: + * process multiple files with one invocation + * include filenames on #line directives when appropriate. + * experimental support for Windows, feedback from Windows +developers is welcome + * various bug fixes +- add unifdef-2.7-tests-fix-multimissing.sh.patch + +--- Old: unifdef-2.6.tar.gz New: unifdef-2.7-tests-fix-multimissing.sh.patch unifdef-2.7.tar.gz Other differences: -- ++ unifdef.spec ++ --- /var/tmp/diff_new_pack.Eibre1/_old 2013-04-02 20:44:42.0 +0200 +++ /var/tmp/diff_new_pack.Eibre1/_new 2013-04-02 20:44:42.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package unifdef # -# 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 @@ -16,15 +16,16 @@ # - Name: unifdef Summary:Removes ifdefs from C files License:BSD-2-Clause Group: Development/Libraries/C and C++ -Version:2.6 +Version:2.7 Release:0 Url:http://dotat.at/prog/unifdef/ -Source: %{name}-%{version}.tar.gz +Source: http://dotat.at/prog/unifdef/unifdef-%{version}.tar.gz +# sent upstream +Patch1: unifdef-2.7-tests-fix-multimissing.sh.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -38,6 +39,7 @@ %prep %setup -q +%patch1 -p1 sed -i Makefile \ -e 's,^\(prefix\).*=.*,\1 =\t%{_prefix},' \ -e 's,^\(bindir\).*=.*,\1 =\t%{_bindir},' \ ++ unifdef-2.7-tests-fix-multimissing.sh.patch ++ From 260a66eb9cc1f14ec61a20ca20a0ac1239f512b3 Mon Sep 17 00:00:00 2001 From: Ruediger Meier ruediger.me...@ga-group.nl Date: Tue, 2 Apr 2013 13:20:37 +0200 Subject: [PATCH 1/2] tests, fix multimissing.sh Don't rely on mv's platform dependent error message. Failed on any openSUSE system (at least between 11.4 and 12.3) Signed-off-by: Ruediger Meier ruediger.me...@ga-group.nl --- tests/multimissing.sh |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/tests/multimissing.sh b/tests/multimissing.sh index e082c71..a95b255 100644 --- a/tests/multimissing.sh +++ b/tests/multimissing.sh @@ -3,5 +3,5 @@ e=$? diff -u if1.c~ if1.c | sed 's/ 20.*//' diff -u if2.c~ if2.c | sed 's/ 20.*//' mv if1.c~ if1.c -mv if2.c~ if2.c +test -e if2.c~ || echo mv: if2.c~: No such file or directory 2 exit $e -- 1.7.6.1 ++ unifdef-2.6.tar.gz - unifdef-2.7.tar.gz ++ 3503 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit unifdef for openSUSE:Factory
Hello community, here is the log from the commit of package unifdef for openSUSE:Factory checked in at 2012-01-26 14:08:49 Comparing /work/SRC/openSUSE:Factory/unifdef (Old) and /work/SRC/openSUSE:Factory/.unifdef.new (New) Package is unifdef, Maintainer is p...@suse.com Changes: --- /work/SRC/openSUSE:Factory/unifdef/unifdef.changes 2011-09-23 12:49:27.0 +0200 +++ /work/SRC/openSUSE:Factory/.unifdef.new/unifdef.changes 2012-01-26 14:08:50.0 +0100 @@ -1,0 +2,12 @@ +Mon Jan 16 16:02:21 UTC 2012 - sweet_...@gmx.de + +- update to 2.6 using the latest fork of the original NetBSD + project +- license changed to BSD-2-Clause + +--- +Fri Dec 2 15:49:37 UTC 2011 - co...@suse.com + +- add automake as buildrequire to avoid implicit dependency + +--- Old: Makefile.am configure.ac unifdef-1.0.tar.gz unifdef-codecleanup.diff New: unifdef-2.6.tar.gz Other differences: -- ++ unifdef.spec ++ --- /var/tmp/diff_new_pack.m91IS1/_old 2012-01-26 14:08:51.0 +0100 +++ /var/tmp/diff_new_pack.m91IS1/_new 2012-01-26 14:08:51.0 +0100 @@ -1,7 +1,7 @@ # -# spec file for package unifdef (Version 1.0) +# spec file for package unifdef # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 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 @@ -15,19 +15,16 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild Name: unifdef -License:BSD 3-Clause -Group: Development/Libraries/C and C++ Summary:Removes ifdefs from C files -Version:1.0 -Release:142 -Source: http://www.cs.cmu.edu/~ajw/dist/unifdef-1.0.tar.gz -Patch: unifdef-codecleanup.diff -Source1:Makefile.am -Source2:configure.ac +License:BSD-2-Clause +Group: Development/Libraries/C and C++ +Version:2.6 +Release:0 +Url:http://dotat.at/prog/unifdef/ +Source: %{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -41,23 +38,26 @@ %prep %setup -q -rm -f Makefile unifdef *.o -cp %{S:1} %{S:2} . -%patch +sed -i Makefile \ + -e 's,^\(prefix\).*=.*,\1 =\t%{_prefix},' \ + -e 's,^\(bindir\).*=.*,\1 =\t%{_bindir},' \ + -e 's,^\(mandir\).*=.*,\1 =\t%{_mandir},' %build -autoreconf -fi -export CFLAGS=$RPM_OPT_FLAGS -W -Wall -./configure --prefix=/usr --mandir=%{_mandir} -make +make CFLAGS=$RPM_OPT_FLAGS + +%check +make test %install -make DESTDIR=%{buildroot} install +%{?make_install} %{!?make_install:make install DESTDIR=%{buildroot}} %files %defattr(-,root,root) %{_bindir}/unifdef +%{_bindir}/unifdefall %{_mandir}/man1/unifdef.1* -%doc LICENSE README unifdef.1 +%{_mandir}/man1/unifdefall.1* +%doc Changelog COPYING README %changelog ++ unifdef-1.0.tar.gz - unifdef-2.6.tar.gz ++ 9781 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org