Author: baggins                      Date: Thu Nov  4 10:52:03 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- https://bugzilla.redhat.com/show_bug.cgi?id=525783

---- Files affected:
packages/gcolor2:
   gcolor2-missing-includes.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/gcolor2/gcolor2-missing-includes.patch
diff -u /dev/null packages/gcolor2/gcolor2-missing-includes.patch:1.1
--- /dev/null   Thu Nov  4 11:52:03 2010
+++ packages/gcolor2/gcolor2-missing-includes.patch     Thu Nov  4 11:51:58 2010
@@ -0,0 +1,52 @@
+Nur in gcolor2-0.4/po: potfiles.
+diff -dur gcolor2-0.4.orig/src/callbacks.c gcolor2-0.4/src/callbacks.c
+--- gcolor2-0.4.orig/src/callbacks.c   2005-07-12 20:06:12.000000000 +0200
++++ gcolor2-0.4/src/callbacks.c        2009-10-03 13:56:41.000000000 +0200
+@@ -9,6 +9,8 @@
+ #include "interface.h"
+ #include "support.h"
+ 
++#include <string.h>
++#include <glib/gprintf.h>
+ 
+ GtkWidget        *savedialog;
+ gchar            *colorname;
+diff -dur gcolor2-0.4.orig/src/main.c gcolor2-0.4/src/main.c
+--- gcolor2-0.4.orig/src/main.c        2005-07-11 16:55:49.000000000 +0200
++++ gcolor2-0.4/src/main.c     2009-10-03 13:59:32.000000000 +0200
+@@ -8,6 +8,9 @@
+ #include "interface.h"
+ #include "support.h"
+ #include "callbacks.h"
++#include <stdlib.h>
++#include <string.h>
++#include <glib/gprintf.h>
+ 
+ GtkListStore *liststore;
+ GdkWindow    *gdkwin;
+@@ -48,8 +51,6 @@
+ 
+ void add_list_color (gchar *spec, gchar *name, gchar *type, gboolean 
is_new_color)
+ {
+-      GdkPixmap   *pixmap;
+-      GdkBitmap   *mask;
+       GdkPixbuf   *buf;
+       GtkTreeIter  iter;
+       
+@@ -103,7 +104,7 @@
+       gchar *name;
+       gchar  buffer[512];
+       gchar  spec[8];
+-      gint   r, g, b, lr, lg, lb;
++      gint   r, g, b, lr=0, lg=0, lb=0;
+       
+       fp = fopen (filename, "r");
+       if (!fp)
+@@ -140,7 +141,6 @@
+       GtkTreeViewColumn *column;
+       GtkWidget         *treeview;
+       GtkTreeSelection  *select;
+-      gchar             *buf;
+       
+ #ifdef ENABLE_NLS
+       bindtextdomain (GETTEXT_PACKAGE, PACKAGE_LOCALE_DIR);
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to