nixpkgs/pkgs/tools/misc/pinentry/duplicate-glib-defs.patch
Ludovic Courtès 6d92197ffd Pinentry 0.7.5.
svn path=/nixpkgs/trunk/; revision=13597
2008-12-08 21:22:20 +00:00

21 lines
449 B
Diff

Comment out definitions of functions that are part of Glib.
--- pinentry-0.7.5/gtk+-2/gtksecentry.c 2007-11-19 12:20:50.000000000 +0100
+++ pinentry-0.7.5/gtk+-2/gtksecentry.c 2008-12-08 22:08:22.000000000 +0100
@@ -269,6 +269,7 @@ gboolean g_use_secure_mem = FALSE;
} while(0)
+#if 0
gpointer
g_malloc(gulong size)
{
@@ -347,6 +348,7 @@ g_free(gpointer mem)
free(mem);
}
}
+#endif
GType
gtk_secure_entry_get_type(void)