Hello community, here is the log from the commit of package gnucash for openSUSE:Factory checked in at 2012-07-22 15:14:31 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gnucash (Old) and /work/SRC/openSUSE:Factory/.gnucash.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gnucash", Maintainer is "gnome-maintain...@suse.de" Changes: -------- --- /work/SRC/openSUSE:Factory/gnucash/gnucash.changes 2012-03-09 21:22:57.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.gnucash.new/gnucash.changes 2012-07-22 15:14:33.000000000 +0200 @@ -1,0 +2,14 @@ +Sat Jul 21 10:24:05 UTC 2012 - dims...@opensuse.org + +- Add gnucash-tip-of-the-day.patch: Fix "Tip of the day" parsing + when building with gcc 4.7: When making the text file + tips-of-the-day, GnuCash expects 'gcc -E' to preserve at least + one of the whitespace lines between entries. However, this relies + on behavior of 'gcc -E' that isn't actually part of the spec, + and is a historical accident. And it changed in gcc-4.7, such + that all the whitespace is removed. Work around this by + explicitly adding a newline in the sed expression. Pre gcc-4.7 + there will be two newlines between tips, but this has no impact + on the tip displaying code. + +------------------------------------------------------------------- New: ---- gnucash-tip-of-the-day.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gnucash.spec ++++++ --- /var/tmp/diff_new_pack.SEIG9D/_old 2012-07-22 15:14:35.000000000 +0200 +++ /var/tmp/diff_new_pack.SEIG9D/_new 2012-07-22 15:14:35.000000000 +0200 @@ -27,6 +27,8 @@ Source1: %{name}-rpmlintrc # PATCH-FIX-UPSTREAM gnucash-fix-python-install.patch bgo#668196 vu...@opensuse.org -- Fix installation of python bindings Patch0: gnucash-fix-python-install.patch +# PATCH-FIX-UPSTREAM gnucash-tip-of-the-day.patch bnc#771603 dims...@opensuse.org -- Fix tip-of-the-day with gcc-4.7, svn commit r22246 +Patch1: gnucash-tip-of-the-day.patch # PATCH-MISSING-TAG -- See http://wiki.opensuse.org/Packaging/Patches Patch3: gnucash-cpan-warning.patch BuildRequires: automake @@ -129,6 +131,7 @@ %prep %setup -q %patch0 -p1 +%patch1 # This patch must be applied: %patch3 ++++++ gnucash-tip-of-the-day.patch ++++++ Index: doc/Makefile.am =================================================================== --- doc/Makefile.am (revision 22245) +++ doc/Makefile.am (revision 22246) @@ -49,7 +49,7 @@ tip_of_the_day.list: tip_of_the_day.list.in Makefile ${CC} -E -P -x c -D'N_(x)=x' -o $@.tmp $< cat -s $@.tmp | ${SED} -e 's/^ *"//' \ - -e 's/" *$$//' \ + -e 's/" *$$/\n/' \ -e 's/"* *[|] */|/' \ -e 's:@-GNUCASH_LATEST_STABLE_SERIES-@:${GNUCASH_LATEST_STABLE_SERIES}:g' > $@ rm -f $@.tmp -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org