Hello community,
here is the log from the commit of package xosview
checked in at Sun Mar 18 06:56:57 CET 2007.
--------
--- xosview/xosview.changes 2007-03-16 11:59:09.000000000 +0100
+++ /mounts/work_src_done/STABLE/xosview/xosview.changes 2007-03-16 15:58:56.000000000 +0100
@@ -1,0 +2,5 @@
+Fri Mar 16 15:58:37 CET 2007 - werner@suse.de
+
+- More one thin-skinned Gcc42
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ xosview.spec ++++++
--- /var/tmp/diff_new_pack.Jh1251/_old 2007-03-18 06:56:36.000000000 +0100
+++ /var/tmp/diff_new_pack.Jh1251/_new 2007-03-18 06:56:36.000000000 +0100
@@ -19,7 +19,7 @@
# desktop selections.
#Requires: desktop-data-SuSE
Version: 1.8.3
-Release: 44
+Release: 45
Summary: System Load Information
URL: http://sourceforge.net/projects/xosview/
Source: xosview-%{version}.tar.bz2
@@ -142,6 +142,8 @@
%changelog
* Fri Mar 16 2007 - werner@suse.de
+- More one thin-skinned Gcc42
+* Fri Mar 16 2007 - werner@suse.de
- Gcc42 seems to be thin-skinned
* Fri Mar 09 2007 - werner@suse.de
- Fix the last fix by re-adding g++
++++++ xosview-1.8.3.dif ++++++
--- /var/tmp/diff_new_pack.Jh1251/_old 2007-03-18 06:56:36.000000000 +0100
+++ /var/tmp/diff_new_pack.Jh1251/_new 2007-03-18 06:56:36.000000000 +0100
@@ -500,6 +500,17 @@
+*NFSStatDecay: True
+*NFSStatGraph: False
+*NFSStatUsedFormat: percent
+--- Xrm.h
++++ Xrm.h 2007-03-16 15:30:54.000000000 +0100
+@@ -34,7 +34,7 @@ public:
+ private:
+ XrmDatabase _db;
+ XrmClass _class, _instance;
+- char* _display_name; // Used solely for getting the display's resources.
++ const char* _display_name; // Used solely for getting the display's resources.
+
+ //void getArgs(int argc, char **argv);
+ static Bool enumCB(XrmDatabase *, XrmBindingList bindings,
--- bitmeter.cc
+++ bitmeter.cc 2006-07-26 18:10:55.000000000 +0200
@@ -94,9 +94,9 @@ void BitMeter::draw( void ){
@@ -514,6 +525,17 @@
parent_->drawString( x_ - offset + 1, y_ + height_, title_ );
parent_->setForeground( onColor_ );
+--- defresources.awk
++++ defresources.awk 2007-03-16 15:32:20.000000000 +0100
+@@ -28,7 +28,7 @@ BEGIN {
+ # general.h file. Let's let this .cc file do that, since it doesn't
+ # have an associated header file.
+ print "CVSID_DOT_H(GENERAL_H_CVSID);\n";
+- printf "char *defaultXResourceString = \"";
++ printf "const char *defaultXResourceString = \"";
+ }
+
+ #
--- fieldmeter.cc
+++ fieldmeter.cc 2006-07-27 13:45:40.000000000 +0200
@@ -196,9 +196,9 @@ FieldMeter<F>::draw( void ){
@@ -566,6 +588,56 @@
#else
/* Don't put the CVS Id strings in the .o files -- the
compiler will probably print tons of warning about
+--- llist.cc
++++ llist.cc 2007-03-16 15:56:22.000000000 +0100
+@@ -242,24 +242,32 @@ void *LList::findc( int which ){
+ }
+
+ void LList::save( int size, FILE *fp ){
++ size_t r;
+ int i;
+ void *buf;
+
+- fwrite( &n_, sizeof( int ), 1, fp ); /* save n */
++ r = fwrite( &n_, sizeof( int ), 1, fp ); /* save n */
++ if (r != sizeof ( int ))
++ return ;
+
+ setc( 1 );
+ for ( i = 1 ; i <= n_ ; i ++ ) {
+ buf = findc();
+- fwrite ( buf, size, 1, fp );
++ r = fwrite ( buf, size, 1, fp );
++ if (r != size)
++ break;
+ incc();
+ }
+ }
+
+ int LList::restore( int size, FILE *fp ){
+- int i;
++ size_t r;
++ int i = 0;
+ void *buf;
+
+- fread ( &i, sizeof ( int ), 1, fp );
++ r = fread ( &i, sizeof ( int ), 1, fp );
++ if (r != sizeof ( int ))
++ return ( 1 );
+
+ for ( ; i > 0 ; i-- ) {
+ if ( ( buf = new char[size] ) == NULL ) return ( 0 );
+--- main.cc
++++ main.cc 2007-03-16 15:33:22.000000000 +0100
+@@ -14,7 +14,7 @@ CVSID("$Id$");
+ int main( int argc, char *argv[] ) {
+ /* Icky. Need to check for -name option here. */
+ char** argp = argv;
+- char* instanceName = "xosview"; // Default value.
++ const char* instanceName = "xosview"; // Default value.
+ while (argp && *argp)
+ {
+ if (!strncmp(*argp, "-name", 6))
--- xosview.1
+++ xosview.1 2006-07-26 18:08:30.000000000 +0200
@@ -345,7 +345,7 @@ and \'purple\'):
@@ -578,8 +650,37 @@
It should be noted that it is OK to have a resource defined for a port of
--- xosview.cc
-+++ xosview.cc 2006-07-26 18:08:30.000000000 +0200
-@@ -168,9 +168,9 @@ void XOSView::checkVersion(int argc, cha
++++ xosview.cc 2007-03-16 15:48:58.000000000 +0100
+@@ -9,6 +9,7 @@
+ #include