nixpkgs/pkgs/tools/security/pinentry/duplicate-glib-defs.patch
Yury G. Kudryashov 0466e94091 Add polkit-kde-agent
Move pinentry and polkit-gnome to tools/security.

svn path=/nixpkgs/trunk/; revision=28656
2011-08-18 12:52:50 +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)