Mailinglist Archive: opensuse-commit (1942 mails)

< Previous Next >
commit yudit
  • From: root@xxxxxxxxxxxxxxx (h_root)
  • Date: Thu, 20 Nov 2008 02:04:28 +0100
  • Message-id: <20081120010429.17121678164@xxxxxxxxxxxxxxx>

Hello community,

here is the log from the commit of package yudit
checked in at Thu Nov 20 02:04:28 CET 2008.


--------
--- yudit/yudit.changes 2008-01-02 16:16:17.000000000 +0100
+++ /mounts/work_src_done/STABLE/yudit/yudit.changes 2008-11-18
12:55:04.000000000 +0100
@@ -1,0 +2,7 @@
+Tue Nov 18 12:32:28 CET 2008 - mfabian@xxxxxxx
+
+- bnc#445708: undefined C++ code: delete arrays correctly.
+- use fdupes
+- fix wrong end-of-line-encoding (dos2unix).
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


New:
----
bnc445708-delete-array.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ yudit.spec ++++++
--- /var/tmp/diff_new_pack.Jl1286/_old 2008-11-20 02:04:14.000000000 +0100
+++ /var/tmp/diff_new_pack.Jl1286/_new 2008-11-20 02:04:14.000000000 +0100
@@ -2,16 +2,27 @@
# spec file for package yudit (Version 2.9.0)
#
# 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: yudit
-BuildRequires: xorg-x11-devel
+BuildRequires: dos2unix xorg-x11-devel
+%if %suse_version > 1020
+BuildRequires: fdupes
+%endif
%if "%(xft-config --prefix)" == "/usr"
%define fontdir /usr/share/fonts/truetype
%define xbindir /usr/bin
@@ -25,7 +36,7 @@
AutoReqProv: on
PreReq: %suseconfig_fonts_prereq
Version: 2.9.0
-Release: 1
+Release: 71
Url: http://www.yudit.org/
Icon: %{name}.gif
Source0: http://yudit.org/download/yudit-%{version}.tar.bz2
@@ -35,6 +46,7 @@
Patch2: yudit-setlocale.patch
Patch3: print-preview.patch
Patch7: yudit-strip.patch
+Patch8: bnc445708-delete-array.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: Unicode text editor

@@ -55,6 +67,11 @@
%patch2 -p1 -b .setlocale
%patch3 -p1 -b .print-preview
%patch7
+%patch8 -p1
+for i in doc/HOWTO-baybayin.txt COPYING.TXT README.TXT
doc/HOWTO-devanagari.txt doc/bidi/yudit.css doc/HOWTO-syntax.txt
doc/notinstalled/cl.help
+do
+ dos2unix $i
+done

%build
rm -f config.cache
@@ -82,6 +99,12 @@
$RPM_BUILD_ROOT%{fontdir}
install -m 644 $RPM_SOURCE_DIR/fonts.scale.yudit \
$RPM_BUILD_ROOT%{fontdir}
+mkdir -p $RPM_BUILD_ROOT/%{_defaultdocdir}/%{name}
+cp -a C* FAQ* READM* TOD* *BUG* $RPM_BUILD_ROOT/%{_defaultdocdir}/%{name}
+cp -a doc $RPM_BUILD_ROOT/%{_defaultdocdir}/%{name}
+%if %suse_version > 1020
+%fdupes $RPM_BUILD_ROOT/usr/share
+%endif

%clean

@@ -93,8 +116,7 @@

%files
%defattr(-,root,root)
-%doc C* FAQ* READM* TOD* *BUG*
-%doc doc
+%doc %{_defaultdocdir}/%{name}
%config /usr/share/pixmaps/yudit.png
%{xbindir}/*
%dir %{fontdir}/
@@ -111,13 +133,17 @@
%{_datadir}/%{name}/syntax/

%changelog
-* Wed Jan 02 2008 - mfabian@xxxxxxx
+* Tue Nov 18 2008 mfabian@xxxxxxx
+- bnc#445708: undefined C++ code: delete arrays correctly.
+- use fdupes
+- fix wrong end-of-line-encoding (dos2unix).
+* Wed Jan 02 2008 mfabian@xxxxxxx
- update to 2.9.0. From CHANGELOG.TXT:
• Added spell checking support for rovasiras (Hungarian Runes)
-* Mon Dec 17 2007 - mfabian@xxxxxxx
+* Mon Dec 17 2007 mfabian@xxxxxxx
- use the compiler option -fPIE instead of -fpie to make it
build on s390 and s390x.
-* Mon Dec 17 2007 - mfabian@xxxxxxx
+* Mon Dec 17 2007 mfabian@xxxxxxx
- update to 2.8.2.beta36. From CHANGELOG.TXT:
• Added change to SHunspellPattern.cpp so that it compiles with
g++ 2.96
@@ -147,10 +173,10 @@
• Made syntax selection dialog box.
• Reporting errors when files are missing in syntax selection
box.
-* Sat Dec 08 2007 - mfabian@xxxxxxx
+* Sat Dec 08 2007 mfabian@xxxxxxx
- update to 2.8.2.beta26.
(fixes a problem in the Form Feed support).
-* Fri Dec 07 2007 - mfabian@xxxxxxx
+* Fri Dec 07 2007 mfabian@xxxxxxx
- update to 2.8.2.beta25.
Fixes remaining issue in bug #343820 (Form Feed support)
From CHANGELOG.TXT:
@@ -165,12 +191,12 @@
• Form Feed can be inserted with <ctrl><enter> (orange)
• Form feed now prints correctly on printer
• Created new glyphs for FF and LS
-* Thu Dec 06 2007 - mfabian@xxxxxxx
+* Thu Dec 06 2007 mfabian@xxxxxxx
- update to 2.8.2.beta21. From CHANGELOG.TXT:
• Added experimental support for hunspell spelling checker.
• Changed selected background to DeepSkyBlue4.
• Moved syntax colors in properties.
-* Wed Dec 05 2007 - mfabian@xxxxxxx
+* Wed Dec 05 2007 mfabian@xxxxxxx
- update to 2.8.2.beta18. From CHANGELOG.TXT:
• Made a framework around "syntax" keyword that could help to
integrate external spell-checkers into Yudit.
@@ -229,7 +255,7 @@
• Fixed compiler warnings with gcc 4.1.0
• Added Pali.kmap (original pali.kmap) from jon bressie
box100/prodigy.net
-* Wed Nov 21 2007 - mfabian@xxxxxxx
+* Wed Nov 21 2007 mfabian@xxxxxxx
- update to 2.8.1.
• Updated for Unicode 5.0.0 (cd bin; make map)
• Preparing yudit-2.8.1.
@@ -277,58 +303,58 @@
from Anshuman Pandey <apandey/u.washington.edu>
- remove yudit-null.patch, fix-c++-build-problem.patch
(included upstream).
-* Thu Jan 18 2007 - ssommer@xxxxxxx
+* Thu Jan 18 2007 ssommer@xxxxxxx
- fix duplicated assignment
-* Fri Aug 11 2006 - sndirsch@xxxxxxx
+* Fri Aug 11 2006 sndirsch@xxxxxxx
- fixed font path for X.Org 7 in yudit-properties.patch, but keep
it backward compatible (/usr/X11R6/lib/X11/fonts still in font
search path)
-* Thu Aug 10 2006 - mfabian@xxxxxxx
+* Thu Aug 10 2006 mfabian@xxxxxxx
- compile everything with -fpie, link everything with -pie.
-* Wed Aug 09 2006 - mfabian@xxxxxxx
+* Wed Aug 09 2006 mfabian@xxxxxxx
- move fonts to /usr/share/fonts/truetype and binaries to /usr/bin
(openSUSE 10.2 will use X11R7).
- use macro run_suseconfig_fonts
-* Wed Jan 25 2006 - mls@xxxxxxx
+* Wed Jan 25 2006 mls@xxxxxxx
- converted neededforbuild to BuildRequires
-* Fri Jan 20 2006 - schwab@xxxxxxx
+* Fri Jan 20 2006 schwab@xxxxxxx
- Don't strip binaries.
-* Tue Oct 18 2005 - mfabian@xxxxxxx
+* Tue Oct 18 2005 mfabian@xxxxxxx
- make it build with gcc 4.1.
-* Fri May 06 2005 - mfabian@xxxxxxx
+* Fri May 06 2005 mfabian@xxxxxxx
- update to 2.7.8.
-* Tue Feb 22 2005 - meissner@xxxxxxx
+* Tue Feb 22 2005 meissner@xxxxxxx
- Fixed some 0 -> NULL, fixed one global C++ anon struct
problem.
-* Sun Mar 21 2004 - mfabian@xxxxxxx
+* Sun Mar 21 2004 mfabian@xxxxxxx
- use %%suseconfig_fonts_prereq and run SuSEconfig.fonts
-* Thu Jan 15 2004 - mfabian@xxxxxxx
+* Thu Jan 15 2004 mfabian@xxxxxxx
- update to 2.7.6.
- fix "command not found" when using the print preview.
-* Sat Jan 10 2004 - adrian@xxxxxxx
+* Sat Jan 10 2004 adrian@xxxxxxx
- add %%defattr
-* Thu Sep 18 2003 - mfabian@xxxxxxx
+* Thu Sep 18 2003 mfabian@xxxxxxx
- segfault fixes from the author Gaspar Sinai:
* fixed stoolkit/SString.cpp - fixed array overflow segfault.
* fixed stoolkit/SParagraph.cpp - fixed array overflow segfault.
-* Mon Jun 16 2003 - mfabian@xxxxxxx
+* Mon Jun 16 2003 mfabian@xxxxxxx
- update to 2.5.7.
-* Fri Jun 13 2003 - mfabian@xxxxxxx
+* Fri Jun 13 2003 mfabian@xxxxxxx
- update to 2.5.7.beta15
- remove fixed local copy of yudit.ttf, fixed upstream now.
- remove obsolete patches: SAMPA.kmap.diff.txt,
yudit-2.7.2.patch1.txt, yudit-2.7.2.patch3.txt,
yudit-2.7.2.patch2.txt, yudit-2.7.2.patch4.txt
-* Wed May 07 2003 - ro@xxxxxxx
+* Wed May 07 2003 ro@xxxxxxx
- use g++ as CC
-* Tue Apr 29 2003 - mfabian@xxxxxxx
+* Tue Apr 29 2003 mfabian@xxxxxxx
- yudit-setlocale.patch: set only LC_CTYPE instead of LC_ALL when
switching input methods in order to avoid influencing LC_NUMERIC.
Otherwise printing fails when running in a German locale after
switching to the "German" input method because floating point
numbers are then printed using ',' instead of '.' into the
Postscript output.
-* Tue Jan 28 2003 - mfabian@xxxxxxx
+* Tue Jan 28 2003 mfabian@xxxxxxx
- update to 2.7.2 with yudit-2.7.2.patch{1,2,3,4}.txt and
SAMPA.kmap.diff.txt from upstream author.
- replace yudit.ttf with version which has the family name
@@ -336,7 +362,7 @@
(will be like that in the next upstream version as well,
remember to remove the fixed yudit.ttf again during the next
update).
-* Wed Nov 27 2002 - mfabian@xxxxxxx
+* Wed Nov 27 2002 mfabian@xxxxxxx
- update to 2.7 with yudit-2.7.patch{1,2,3,4}.txt from
upstream author Gaspar Sinai.
- add /usr/X11R6/lib/X11/fonts to yudit.fontpath
@@ -344,39 +370,39 @@
it usable by other applications as well
- add fonts.scale.yudit
- use x-devel-packages in '# neededforbuild'
-* Mon Aug 19 2002 - mfabian@xxxxxxx
+* Mon Aug 19 2002 mfabian@xxxxxxx
- make it build again.
-* Mon Aug 19 2002 - mfabian@xxxxxxx
+* Mon Aug 19 2002 mfabian@xxxxxxx
- update to 2.6.2
- use buildroot
-* Wed Jan 23 2002 - okir@xxxxxxx
+* Wed Jan 23 2002 okir@xxxxxxx
- Fixed tempfile race
-* Thu Nov 15 2001 - rolf@xxxxxxx
+* Thu Nov 15 2001 rolf@xxxxxxx
- update to 2.4.8
-* Tue Oct 30 2001 - ro@xxxxxxx
+* Tue Oct 30 2001 ro@xxxxxxx
- removed qtlib/klibs from neededforbuild (never needed)
-* Wed May 09 2001 - mfabian@xxxxxxx
+* Wed May 09 2001 mfabian@xxxxxxx
- bzip2 sources
-* Wed Feb 07 2001 - uli@xxxxxxx
+* Wed Feb 07 2001 uli@xxxxxxx
- fixed for glibc 2.2.1
- fixed group tag
-* Wed Oct 25 2000 - ro@xxxxxxx
+* Wed Oct 25 2000 ro@xxxxxxx
- fixed neededforbuild for new openmotif package names
-* Tue Oct 24 2000 - rolf@xxxxxxx
+* Tue Oct 24 2000 rolf@xxxxxxx
- patches for ia64
- switch to openmotif from lesstif
-* Wed Aug 23 2000 - mfabian@xxxxxxx
+* Wed Aug 23 2000 mfabian@xxxxxxx
- removed bogus 'Requires:' and 'neededforbuild'
-* Mon May 29 2000 - rolf@xxxxxxx
+* Mon May 29 2000 rolf@xxxxxxx
- a few changes, no new version yet
- changed yuditrc for SuSE freetype path
-* Fri Mar 03 2000 - rolf@xxxxxxx
+* Fri Mar 03 2000 rolf@xxxxxxx
- changed manpath to %%{_mandir}
-* Mon Jan 24 2000 - ro@xxxxxxx
+* Mon Jan 24 2000 ro@xxxxxxx
- freetype includes are in usr/include/freetype now
-* Mon Dec 13 1999 - ro@xxxxxxx
+* Mon Dec 13 1999 ro@xxxxxxx
- added lesstif to neededforbuild
-* Thu Dec 09 1999 - rolf@xxxxxxx
+* Thu Dec 09 1999 rolf@xxxxxxx
- build kde and motif versions as well
-* Thu Dec 09 1999 - rolf@xxxxxxx
+* Thu Dec 09 1999 rolf@xxxxxxx
- new package yudit 1.5

++++++ bnc445708-delete-array.patch ++++++
diff -ru yudit-2.9.0.orig//stoolkit/SBHashtable.cpp
yudit-2.9.0/stoolkit/SBHashtable.cpp
--- yudit-2.9.0.orig//stoolkit/SBHashtable.cpp 2006-05-21 10:57:44.000000000
+0200
+++ yudit-2.9.0/stoolkit/SBHashtable.cpp 2008-11-18 12:30:37.000000000
+0100
@@ -324,7 +324,9 @@
}
if (j==1)
{
- delete bv; GET_BUCKET (buffer->array, mod) = 0;
+ delete [] bv;
+ bv = NULL;
+ GET_BUCKET (buffer->array, mod) = 0;
break;
}
break;
@@ -365,7 +367,8 @@
bi = bv[j];
delete bi;
}
- delete bv;
+ delete [] bv;
+ bv = NULL;
}
}
delete buffer;
@@ -532,7 +535,8 @@
}
if (bv != 0)
{
- delete bv;
+ delete [] bv;
+ bv = NULL;
}
nv[count] = bi;
nv[count+1] = 0;
yudit-2.9.0/stoolkitだけに発見: SBHashtable.cpp.~1~


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages