Update of /cvsroot/fink/experimental/dmacks/finkinfo/gnome
In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv17867
Modified Files:
control-center.info control-center.patch
Log Message:
fix some memory handling
Index: control-center.info
===================================================================
RCS file: /cvsroot/fink/experimental/dmacks/finkinfo/gnome/control-center.info,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- control-center.info 6 Aug 2009 15:57:29 -0000 1.6
+++ control-center.info 6 Aug 2009 19:00:05 -0000 1.7
@@ -1,6 +1,6 @@
Package: control-center
Version: 2.26.0
-Revision: 2.3
+Revision: 2.4
Depends: <<
%N2-shlibs (>= %v-%r),
atk1-shlibs (>= 1.26.0-1),
@@ -126,7 +126,7 @@
Source:
mirror:gnome:sources/gnome-control-center/2.26/gnome-control-center-%v.tar.bz2
Source-MD5: eed8feccc37712e34d88bd3b20e46962
PatchFile: %n.patch
-PatchFile-MD5: 7174329a0b170a12135ecded8cbc06a9
+PatchFile-MD5: 8d673a4b1ac800297ae849d7bca430a5
PatchScript: <<
#!/bin/sh -ev
%{default_script}
Index: control-center.patch
===================================================================
RCS file:
/cvsroot/fink/experimental/dmacks/finkinfo/gnome/control-center.patch,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- control-center.patch 6 Aug 2009 15:57:29 -0000 1.3
+++ control-center.patch 6 Aug 2009 19:00:05 -0000 1.4
@@ -833,7 +833,7 @@
+#define THUMBNAIL_TYPE_ICON "icon"
diff -Nurd -x'*~'
gnome-control-center-2.26.0.orig/capplets/common/theme-thumbnail.c
gnome-control-center-2.26.0/capplets/common/theme-thumbnail.c
--- gnome-control-center-2.26.0.orig/capplets/common/theme-thumbnail.c
2008-11-04 11:09:47.000000000 -0500
-+++ gnome-control-center-2.26.0/capplets/common/theme-thumbnail.c
2009-08-06 11:25:19.000000000 -0400
++++ gnome-control-center-2.26.0/capplets/common/theme-thumbnail.c
2009-08-06 13:35:27.000000000 -0400
@@ -1,17 +1,10 @@
#include <config.h>
#include <unistd.h>
@@ -1584,7 +1584,7 @@
static void
generate_next_in_queue (void)
{
-@@ -1184,50 +471,38 @@
+@@ -1184,50 +471,39 @@
void
theme_thumbnail_factory_init (int argc, char *argv[])
{
@@ -1626,7 +1626,7 @@
- data.icon_theme_name = g_byte_array_new ();
- data.application_font = g_byte_array_new ();
+ /* create a new NULL-terminated argv pointer array for subprocess */
-+ subargv = malloc (argc * sizeof(char *) + 1);
++ subargv = malloc ( (argc+1) * sizeof(char *) );
+ for (i = 0; i < argc; i++) {
+ subargv[i] = argv[i];
+ }
@@ -1647,11 +1647,12 @@
- gtk_main ();
- _exit (0);
+ execv (child_name, subargv);
++ free (subargv);
+ g_error("execl(%s) failed in fork!\n", child_name);
}
g_assert (child_pid > 0);
-@@ -1235,7 +510,6 @@
+@@ -1235,7 +511,6 @@
/* Parent */
close (pipe_to_factory_fd[0]);
close (pipe_from_factory_fd[1]);
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs