summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Peterson <lavajoe@gentoo.org>2007-10-24 15:38:29 +0000
committerJoe Peterson <lavajoe@gentoo.org>2007-10-24 15:38:29 +0000
commitc3f1a43ee0478ab6aec1c367f02586790f8d3c70 (patch)
tree3b69f8a751e2376c8ef764ee25ecd542b94229df /media-libs/libprojectm/files
parentx86 stable, bug #196840 (diff)
downloadgentoo-2-c3f1a43ee0478ab6aec1c367f02586790f8d3c70.tar.gz
gentoo-2-c3f1a43ee0478ab6aec1c367f02586790f8d3c70.tar.bz2
gentoo-2-c3f1a43ee0478ab6aec1c367f02586790f8d3c70.zip
Make malloc.h -> stdlib.h patch unconditional
(Portage version: 2.1.3.16)
Diffstat (limited to 'media-libs/libprojectm/files')
-rw-r--r--media-libs/libprojectm/files/libprojectm-1.01-freebsd.patch15
-rw-r--r--media-libs/libprojectm/files/libprojectm-1.01-malloc.patch11
2 files changed, 11 insertions, 15 deletions
diff --git a/media-libs/libprojectm/files/libprojectm-1.01-freebsd.patch b/media-libs/libprojectm/files/libprojectm-1.01-freebsd.patch
deleted file mode 100644
index f98176c64ec2..000000000000
--- a/media-libs/libprojectm/files/libprojectm-1.01-freebsd.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-diff -Nur libprojectM-1.01.old/MoodBar.cpp libprojectM-1.01/MoodBar.cpp
---- libprojectM-1.01.old/MoodBar.cpp 2007-10-10 08:47:14 -0600
-+++ libprojectM-1.01/MoodBar.cpp 2007-10-23 14:42:32 -0600
-@@ -19,7 +19,11 @@
-
- #include <cmath>
- extern "C" {
-+#ifdef __FreeBSD__
-+#include <stdlib.h>
-+#else
- #include <malloc.h>
-+#endif
- }
- #include <iostream>
- #include <cassert>
diff --git a/media-libs/libprojectm/files/libprojectm-1.01-malloc.patch b/media-libs/libprojectm/files/libprojectm-1.01-malloc.patch
new file mode 100644
index 000000000000..f847d19a939a
--- /dev/null
+++ b/media-libs/libprojectm/files/libprojectm-1.01-malloc.patch
@@ -0,0 +1,11 @@
+--- libprojectM-1.01/MoodBar.cpp.old 2007-10-10 08:47:14 -0600
++++ libprojectM-1.01/MoodBar.cpp 2007-10-24 09:01:46 -0600
+@@ -19,7 +19,7 @@
+
+ #include <cmath>
+ extern "C" {
+-#include <malloc.h>
++#include <stdlib.h>
+ }
+ #include <iostream>
+ #include <cassert>