Hello community, here is the log from the commit of package xcoral checked in at Thu Nov 6 01:01:32 CET 2008. -------- --- xcoral/xcoral.changes 2008-05-26 12:52:43.000000000 +0200 +++ /mounts/work_src_done/STABLE/xcoral/xcoral.changes 2008-11-05 17:00:29.000000000 +0100 @@ -1,0 +2,5 @@ +Wed Nov 5 17:00:14 CET 2008 - meissner@suse.de + +- use RPM_OPT_FLAGS, fixed all check_gcc_output errors and warnings. + +------------------------------------------------------------------- calling whatdependson for head-i586 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xcoral.spec ++++++ --- /var/tmp/diff_new_pack.m16172/_old 2008-11-06 01:01:17.000000000 +0100 +++ /var/tmp/diff_new_pack.m16172/_new 2008-11-06 01:01:17.000000000 +0100 @@ -2,9 +2,16 @@ # spec file for package xcoral (Version 3.47) # # 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/ # @@ -19,7 +26,7 @@ AutoReqProv: on Summary: X11 Editor with C/C++/Java Browser and lots more ;) Version: 3.47 -Release: 1 +Release: 44 Url: http://xcoral.free.fr/ Source: xcoral-3.47.tar.bz2 Patch0: xcoral-3.47.configure.diff @@ -50,11 +57,12 @@ Dominique Leveque <xcoral@free.fr> %prep -%setup +%setup -q %patch -P 0 %patch1 %build +CFLAGS="$RPM_OPT_FLAGS" \ ./configure --prefix=/usr --bindir=/usr/bin make @@ -81,13 +89,15 @@ /usr/lib/xcoral %changelog +* Wed Nov 05 2008 meissner@suse.de +- use RPM_OPT_FLAGS, fixed all check_gcc_output errors and warnings. * Mon May 26 2008 ma@suse.de - Version 3.47 - Fix using an outdated /etc/skel/.xcoralrc. Use the one included in the tarball. * Wed Dec 05 2007 ro@suse.de - move /etc/skel/.xcoralrc here -* Sat Jan 27 2007 ma@suse.de +* Fri Jan 26 2007 ma@suse.de - Fixed array subscript out of range (#152845). * Wed Jan 24 2007 ro@suse.de - move from /usr/X11R6 to /usr ++++++ xcoral-arraysubscript.patch ++++++ --- /var/tmp/diff_new_pack.m16172/_old 2008-11-06 01:01:18.000000000 +0100 +++ /var/tmp/diff_new_pack.m16172/_new 2008-11-06 01:01:18.000000000 +0100 @@ -1,6 +1,38 @@ +--- Smac/Makefile.in ++++ Smac/Makefile.in +@@ -37,7 +37,7 @@ + all : $(OBJS) + + word.h : word.c +- $(CC) -o word word.c ++ $(CC) $(CFLAGS) -o word word.c + rm -f word.h + ./word > word.h + rm -f word +--- Smac/declaration.c ++++ Smac/declaration.c +@@ -242,7 +242,7 @@ + + HashTable__Add(DynamicVarsHashTable, (Object) varname, (Object) var); + +- VarLocList = AddLast(VarLocList, List__List(0, var)); ++ AddLast(VarLocList, List__List(0, var)); + + if (Type__IsaArray(type)) { + /* vecteur local, memorise en pile l'adresse en pile pour +--- color_area.c ++++ color_area.c +@@ -80,6 +80,7 @@ + + static PrivateCmap pcmap[32]; + ++void + InitPcmap () + { + int i=0; --- fs_box.c -+++ fs_box.c 2007/01/26 21:26:26 -@@ -299,7 +299,7 @@ ++++ fs_box.c +@@ -301,7 +301,7 @@ if ( msg != 0 ) { if ( strlen ( msg ) > (TITLE_SIZE - 2) ) { (void) strncpy ( fs_box.title_text, msg, TITLE_SIZE -1 ); @@ -9,9 +41,29 @@ } else (void) strcpy ( fs_box.title_text, msg ); +--- handle_menus.c ++++ handle_menus.c +@@ -38,6 +38,7 @@ + ######################################################################## */ + + #include <stdio.h> ++#include <string.h> + #include <X11/Xlib.h> + #include <X11/Xutil.h> + +--- init_menus.c ++++ init_menus.c +@@ -39,6 +39,7 @@ + + + #include <stdio.h> ++#include <string.h> + #include <X11/Xlib.h> + #include <X11/Xutil.h> + --- list_box.c -+++ list_box.c 2007/01/26 21:26:36 -@@ -493,7 +493,7 @@ ++++ list_box.c +@@ -530,7 +530,7 @@ if ( msg != 0 ) { if ( strlen ( msg ) > (TITLE_SIZE - 2) ) { (void) strncpy ( l_box.title_text, msg, TITLE_SIZE -1 ); @@ -20,3 +72,72 @@ } else (void) strcpy ( l_box.title_text, msg ); +--- macros.c ++++ macros.c +@@ -39,6 +39,7 @@ + + + #include <stdio.h> ++#include <string.h> + #include <X11/Xlib.h> + #include <X11/Xutil.h> + +--- main_events.c ++++ main_events.c +@@ -38,6 +38,7 @@ + ######################################################################## */ + + #include <stdio.h> ++#include <string.h> + #include <setjmp.h> + #include <signal.h> + #include <sys/types.h> +--- page.c ++++ page.c +@@ -45,6 +45,7 @@ + #include <sys/types.h> + #include <sys/time.h> + #include <stdlib.h> ++#include <string.h> + + #include "main_text.h" + #include "page.h" +--- process.c ++++ process.c +@@ -39,6 +39,7 @@ + + + #include <stdio.h> ++#include <unistd.h> + #include <X11/Xlib.h> + #include <X11/Xutil.h> + #include <sys/types.h> +@@ -160,7 +161,7 @@ + strcpy(shell,"/bin/csh"); + } + } +- (void) execlp (shell, shell, "-i", 0); ++ (void) execlp (shell, shell, "-i", NULL); + (void) fprintf ( stderr, "Can't exec shell\n" ); + break; + case -1: +--- xcoral.c ++++ xcoral.c +@@ -92,6 +92,7 @@ + ** Creer la premiere fenetre de texte et entre dans + ** la boucle d'evenements. + */ ++int + main ( argc, argv ) + int argc; + char **argv; +@@ -300,8 +301,8 @@ + no_window = False; + + WaitForEvent (); +- + /*NOTREACHED*/ ++ return 0; + } + + /* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org