]> git.pld-linux.org Git - packages/gcolor2.git/commitdiff
- https://bugzilla.redhat.com/show_bug.cgi?id=525783
authorJan Rękorajski <baggins@pld-linux.org>
Thu, 4 Nov 2010 10:51:58 +0000 (10:51 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    gcolor2-missing-includes.patch -> 1.1

gcolor2-missing-includes.patch [new file with mode: 0644]

diff --git a/gcolor2-missing-includes.patch b/gcolor2-missing-includes.patch
new file mode 100644 (file)
index 0000000..a70e2ee
--- /dev/null
@@ -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);
This page took 0.153859 seconds and 4 git commands to generate.