diff options
author | Simon Gloßner <viper@hometux.de> | 2008-05-12 21:46:00 +0200 |
---|---|---|
committer | Simon Gloßner <viper@hometux.de> | 2008-05-12 22:37:59 +0200 |
commit | 121f32a3dad5b1a0389e2440247e2e208a211eae (patch) | |
tree | 907799a031490e5dd12dc0316d0135a5a5933e8f /pinentry | |
parent | e7ac3b4b8b132523f0546a410adc5f08c5eef191 (diff) | |
download | opt-121f32a3dad5b1a0389e2440247e2e208a211eae.tar.gz opt-121f32a3dad5b1a0389e2440247e2e208a211eae.tar.xz |
pinentry: added a patch for glib 2.16
Diffstat (limited to 'pinentry')
-rw-r--r-- | pinentry/.md5sum | 1 | ||||
-rw-r--r-- | pinentry/Pkgfile | 6 | ||||
-rw-r--r-- | pinentry/pinentry-0.7.5.patch | 30 |
3 files changed, 35 insertions, 2 deletions
diff --git a/pinentry/.md5sum b/pinentry/.md5sum index 5d8ef0df9..6372e0e1f 100644 --- a/pinentry/.md5sum +++ b/pinentry/.md5sum @@ -1 +1,2 @@ +75037de4a7c18df1f1d1cc5b7e58aa51 pinentry-0.7.5.patch ca492afbbb59cd19f1c875533f18b269 pinentry-0.7.5.tar.gz diff --git a/pinentry/Pkgfile b/pinentry/Pkgfile index 393d66d41..04b5d8552 100644 --- a/pinentry/Pkgfile +++ b/pinentry/Pkgfile @@ -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 \ diff --git a/pinentry/pinentry-0.7.5.patch b/pinentry/pinentry-0.7.5.patch new file mode 100644 index 000000000..a50bd74e6 --- /dev/null +++ b/pinentry/pinentry-0.7.5.patch @@ -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; + |