pinentry/pinentry.patch

Mon, 22 Nov 2010 12:41:49 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Mon, 22 Nov 2010 12:41:49 +0100
changeset 291
52571005077f
permissions
-rw-r--r--

Backport RPM boilerplate logic required by legacy OpenPKG scripts.

michael@282 1 Index: gtk+-2/gtksecentry.c
michael@282 2 --- gtk+-2/gtksecentry.c.orig 2004-09-02 03:47:13 +0200
michael@282 3 +++ gtk+-2/gtksecentry.c 2006-11-15 21:27:51 +0100
michael@282 4 @@ -39,6 +39,16 @@
michael@282 5 #include <gdk/gdkkeysyms.h>
michael@282 6 #include <gtk/gtk.h>
michael@282 7
michael@282 8 +#define g_malloc my_g_malloc
michael@282 9 +#define g_malloc0 my_g_malloc0
michael@282 10 +#define g_realloc my_g_realloc
michael@282 11 +#define g_free my_g_free
michael@282 12 +
michael@282 13 +gpointer g_malloc(gulong size);
michael@282 14 +gpointer g_malloc0(gulong size);
michael@282 15 +gpointer g_realloc(gpointer mem, gulong size);
michael@282 16 +void g_free(gpointer mem);
michael@282 17 +
michael@282 18 #include "gtksecentry.h"
michael@282 19 #include "memory.h"
michael@282 20

mercurial