summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2005-08-25 23:51:45 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2005-08-25 23:51:45 +0000
commit254c2a7e2f22179b5b434317c42528f387d48036 (patch)
tree4306fc5e3774014dae758b69ea7d6c387f83db3a /gnome-extra/gcalctool/files
parentstable on ia64 (diff)
downloadgentoo-2-254c2a7e2f22179b5b434317c42528f387d48036.tar.gz
gentoo-2-254c2a7e2f22179b5b434317c42528f387d48036.tar.bz2
gentoo-2-254c2a7e2f22179b5b434317c42528f387d48036.zip
Added patch to build gcalctool on Gentoo/FreeBSD as per bug #103574. See also gnome bug #314375. Fix already applied for next upstream version.
(Portage version: 2.0.51.22)
Diffstat (limited to 'gnome-extra/gcalctool/files')
-rw-r--r--gnome-extra/gcalctool/files/digest-gcalctool-5.5.42-r21
-rw-r--r--gnome-extra/gcalctool/files/gcalctool-5.5.42-malloc.patch13
2 files changed, 14 insertions, 0 deletions
diff --git a/gnome-extra/gcalctool/files/digest-gcalctool-5.5.42-r2 b/gnome-extra/gcalctool/files/digest-gcalctool-5.5.42-r2
new file mode 100644
index 000000000000..76f9798750de
--- /dev/null
+++ b/gnome-extra/gcalctool/files/digest-gcalctool-5.5.42-r2
@@ -0,0 +1 @@
+MD5 0f42e6e437f64c844b7b30e3255b02aa gcalctool-5.5.42.tar.bz2 1072489
diff --git a/gnome-extra/gcalctool/files/gcalctool-5.5.42-malloc.patch b/gnome-extra/gcalctool/files/gcalctool-5.5.42-malloc.patch
new file mode 100644
index 000000000000..66b7827e4c74
--- /dev/null
+++ b/gnome-extra/gcalctool/files/gcalctool-5.5.42-malloc.patch
@@ -0,0 +1,13 @@
+Index: gcalctool-5.5.42/gcalctool/syntax_translation.c
+===================================================================
+--- gcalctool-5.5.42.orig/gcalctool/syntax_translation.c
++++ gcalctool-5.5.42/gcalctool/syntax_translation.c
+@@ -21,7 +21,7 @@
+
+ #include <stdio.h>
+ #include <libintl.h>
+-#include <malloc.h>
++#include <stdlib.h>
+ #include <assert.h>
+ #include <string.h>
+