summaryrefslogtreecommitdiffstats
path: root/multimedia/totem-pl-parser
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2008-02-10 00:20:53 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2008-02-10 00:20:53 +0800
commitd5ad6175fc0e00a2ea394b2f294437894e2bef1d (patch)
treee18d202e2c6870886316392619f64178795af57d /multimedia/totem-pl-parser
parentfdc838125efe0eded8ec9ef368018b858b5855c5 (diff)
downloadmarcuscom-ports-d5ad6175fc0e00a2ea394b2f294437894e2bef1d.tar
marcuscom-ports-d5ad6175fc0e00a2ea394b2f294437894e2bef1d.tar.gz
marcuscom-ports-d5ad6175fc0e00a2ea394b2f294437894e2bef1d.tar.bz2
marcuscom-ports-d5ad6175fc0e00a2ea394b2f294437894e2bef1d.tar.lz
marcuscom-ports-d5ad6175fc0e00a2ea394b2f294437894e2bef1d.tar.xz
marcuscom-ports-d5ad6175fc0e00a2ea394b2f294437894e2bef1d.tar.zst
marcuscom-ports-d5ad6175fc0e00a2ea394b2f294437894e2bef1d.zip
Fix the build on 5.X.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@10374 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'multimedia/totem-pl-parser')
-rw-r--r--multimedia/totem-pl-parser/files/patch-lib_memmem.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/multimedia/totem-pl-parser/files/patch-lib_memmem.c b/multimedia/totem-pl-parser/files/patch-lib_memmem.c
new file mode 100644
index 000000000..7048026ea
--- /dev/null
+++ b/multimedia/totem-pl-parser/files/patch-lib_memmem.c
@@ -0,0 +1,14 @@
+--- lib/memmem.c.orig 2008-02-09 11:14:06.000000000 -0500
++++ lib/memmem.c 2008-02-09 11:16:51.000000000 -0500
+@@ -31,8 +31,10 @@
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ */
++#if !defined(__sun) && !defined(__FreeBSD__)
+ #include "bbs.h"
+-#ifndef SOLARIS
++#endif
++#ifndef __sun
+ #include <sys/cdefs.h>
+ #endif
+