pinentry: added a patch for glib 2.16
This commit is contained in:
parent
e7ac3b4b8b
commit
121f32a3da
@ -1 +1,2 @@
|
||||
75037de4a7c18df1f1d1cc5b7e58aa51 pinentry-0.7.5.patch
|
||||
ca492afbbb59cd19f1c875533f18b269 pinentry-0.7.5.tar.gz
|
||||
|
@ -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 \
|
||||
|
30
pinentry/pinentry-0.7.5.patch
Normal file
30
pinentry/pinentry-0.7.5.patch
Normal 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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user