Hello community,

here is the log from the commit of package fam for openSUSE:Factory
checked in at Fri Mar 18 09:15:26 CET 2011.



--------
--- fam/fam.changes     2010-12-07 22:22:08.000000000 +0100
+++ /mounts/work_src_done/STABLE/fam/fam.changes        2011-03-17 
11:25:51.000000000 +0100
@@ -1,0 +2,5 @@
+Thu Mar 17 10:25:31 UTC 2011 - [email protected]
+
+- fix build with gcc 4.6 (use set variables)
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


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

Other differences:
------------------
++++++ fam.spec ++++++
--- /var/tmp/diff_new_pack.xQwlU3/_old  2011-03-18 09:14:13.000000000 +0100
+++ /var/tmp/diff_new_pack.xQwlU3/_new  2011-03-18 09:14:13.000000000 +0100
@@ -1,7 +1,7 @@
 #
-# spec file for package fam (Version 2.7.0)
+# spec file for package fam
 #
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 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
@@ -31,7 +31,7 @@
 Summary:        File Alteration Monitoring Daemon
 Url:            http://oss.sgi.com/projects/fam/
 Version:        2.7.0
-Release:        143
+Release:        149
 %define fc_version 0.6.5
 Source0:        fam-%{version}.tar.bz2
 Source1:        sysconfig.fam

++++++ fileschanged.diff ++++++
--- /var/tmp/diff_new_pack.xQwlU3/_old  2011-03-18 09:14:13.000000000 +0100
+++ /var/tmp/diff_new_pack.xQwlU3/_new  2011-03-18 09:14:13.000000000 +0100
@@ -1,6 +1,8 @@
---- configure.ac
-+++ configure.ac
-@@ -23,13 +23,13 @@
+Index: configure.ac
+===================================================================
+--- configure.ac.orig  2006-04-19 21:42:18.000000000 +0200
++++ configure.ac       2011-03-17 11:14:02.267321232 +0100
+@@ -23,13 +23,13 @@ AC_PROG_CC
  
  
  dnl Checks for libraries.
@@ -16,8 +18,10 @@
  AC_CHECK_HEADERS(unistd.h time.h string.h dirent.h argp.h)
  
  PACKAGE_MAINTAINER="Ben Asselstine"
---- info/fileschanged.texinfo
-+++ info/fileschanged.texinfo
+Index: info/fileschanged.texinfo
+===================================================================
+--- info/fileschanged.texinfo.orig     2006-04-19 21:42:18.000000000 +0200
++++ info/fileschanged.texinfo  2011-03-17 11:14:02.267321232 +0100
 @@ -9,6 +9,10 @@
  
  @include package.texinfo
@@ -29,9 +33,11 @@
  
  @ifinfo
  This file documents the @command{fileschanged} command which displays altered 
files
---- src/Makefile.am
-+++ src/Makefile.am
-@@ -10,5 +10,8 @@
+Index: src/Makefile.am
+===================================================================
+--- src/Makefile.am.orig       2006-04-19 21:42:28.000000000 +0200
++++ src/Makefile.am    2011-03-17 11:14:02.267321232 +0100
+@@ -10,5 +10,8 @@ fileschanged_SOURCES= \
        filelist.c filelist.h \
        handlers.c handlers.h \
        wl.c wl.h gettext.h
@@ -40,8 +46,10 @@
 +
  localdir = $(datadir)/locale
  AM_CFLAGS = -Wall -Werror -DLOCALEDIR=\"$(localdir)\"
---- src/wl.h
-+++ src/wl.h
+Index: src/wl.h
+===================================================================
+--- src/wl.h.orig      2006-04-19 21:42:30.000000000 +0200
++++ src/wl.h   2011-03-17 11:14:02.268321359 +0100
 @@ -3,5 +3,5 @@
  void wl_init();
  void wl_add_file(char *filename);
@@ -49,3 +57,78 @@
 -void wl_show_changed_files();
 +void wl_show_changed_files(unsigned int filechangetimeout, void 
(*handler)(char *, struct stat *statbuf));
  #endif
+Index: src/monitor.c
+===================================================================
+--- src/monitor.c.orig 2006-04-19 21:42:29.000000000 +0200
++++ src/monitor.c      2011-03-17 11:20:08.077623538 +0100
+@@ -70,7 +70,7 @@ monitor_close (FAMConnection *c)
+ int 
+ monitor_begin (FAMConnection *c, void *list)
+ {
+-  int retval;
++  int retval = 0;
+   unsigned int i;
+   unsigned int count;
+   struct node_t *node;
+@@ -94,7 +94,7 @@ monitor_begin (FAMConnection *c, void *l
+       }
+       monitor_handle_events (c, list, 0, 30);
+     }
+-  return 0;
++  return retval;
+ }
+ 
+ static int 
+Index: src/filelist.c
+===================================================================
+--- src/filelist.c.orig        2006-04-19 21:42:28.000000000 +0200
++++ src/filelist.c     2011-03-17 11:23:41.071582764 +0100
+@@ -40,12 +40,12 @@ static int
+ on_the_command_line (int (*process_file)(void *list, char *filename), void 
*list)
+ {
+   unsigned int i;
+-  int retval;
++  int retval = 0;
+   for(i = 0; i < arguments.arraylen; i++)
+     {
+       retval = process_file (list, arguments.args[i]);
+     }
+-  return 0;
++  return retval;
+ }
+ 
+ static void 
+@@ -66,7 +66,7 @@ in_filelist_file (int (*process_file)(vo
+   char *filename;
+   char *line = NULL;
+   size_t n = 0;
+-  int retval;
++  int retval = 0;
+   filename = arguments.fileschanged.filelist_filename;
+   if (strcmp (filename, "-") == 0)
+     fileptr = stdin;
+@@ -87,13 +87,13 @@ in_filelist_file (int (*process_file)(vo
+ 
+   if (fileptr != stdin)
+     fclose (fileptr);
+-  return 0;
++  return retval;
+ }
+ 
+ static int 
+ add_it_to_the (void *list, char *filename)
+ {
+-  int retval;
++  int retval = 0;
+   struct node_t node;
+   retval = node_new (&node, filename);
+   if (retval == 0)
+@@ -132,7 +132,7 @@ add_it_to_the (void *list, char *filenam
+       node_free (&node);
+     }
+ 
+-  return 0;
++  return retval;
+ }
+ 
+ static int


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



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to