pinentry: added a patch for glib 2.16

This commit is contained in:
Simon Gloßner 2008-05-12 21:46:00 +02:00
parent e7ac3b4b8b
commit 121f32a3da
3 changed files with 35 additions and 2 deletions

View File

@ -1 +1,2 @@
75037de4a7c18df1f1d1cc5b7e58aa51 pinentry-0.7.5.patch
ca492afbbb59cd19f1c875533f18b269 pinentry-0.7.5.tar.gz

View File

@ -7,11 +7,13 @@
name=pinentry
version=0.7.5
release=1
source=(ftp://ftp.gnupg.org/gcrypt/$name/$name-$version.tar.gz)
release=2
source=(ftp://ftp.gnupg.org/gcrypt/$name/$name-$version.tar.gz $name-$version.patch)
build() {
cd $name-$version
patch -p1 < $SRC/$name-$version.patch
./configure \
--prefix=/usr \

View File

@ -0,0 +1,30 @@
diff -Nru pinentry-0.7.5/gtk+-2/gtksecentry.c pinentry-0.7.5-new/gtk+-2/gtksecentry.c
--- pinentry-0.7.5/gtk+-2/gtksecentry.c 2007-11-19 12:20:50.000000000 +0100
+++ pinentry-0.7.5-new/gtk+-2/gtksecentry.c 2008-04-02 17:49:43.000000000 +0200
@@ -270,7 +270,7 @@
gpointer
-g_malloc(gulong size)
+g_malloc(gsize size)
{
gpointer p;
@@ -288,7 +288,7 @@
}
gpointer
-g_malloc0(gulong size)
+g_malloc0(gsize size)
{
gpointer p;
@@ -308,7 +308,7 @@
}
gpointer
-g_realloc(gpointer mem, gulong size)
+g_realloc(gpointer mem, gsize size)
{
gpointer p;