From 59a03c43e4c08eee6f9c57081d03dfa679b2856e Mon Sep 17 00:00:00 2001 From: wilfried Date: Tue, 1 Jul 2008 08:25:57 +0000 Subject: [PATCH] include prototypes for malloc and strdup - fix 64-bit warnings --- audio/wmmp3/Makefile | 3 ++- audio/wmmp3/patches/patch-song_hash_c | 10 ++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 audio/wmmp3/patches/patch-song_hash_c diff --git a/audio/wmmp3/Makefile b/audio/wmmp3/Makefile index 743c802b9b3..775f39b9f3a 100644 --- a/audio/wmmp3/Makefile +++ b/audio/wmmp3/Makefile @@ -1,8 +1,9 @@ -# $OpenBSD: Makefile,v 1.14 2007/09/15 21:26:03 simon Exp $ +# $OpenBSD: Makefile,v 1.15 2008/07/01 08:25:57 wilfried Exp $ COMMENT= wm-dockapp; front end for an mp3 player DISTNAME= wmmp3-0.12 +PKGNAME= ${DISTNAME}p0 CATEGORIES= audio x11 x11/windowmaker HOMEPAGE= http://www.dotfiles.com/software/wmmp3/ diff --git a/audio/wmmp3/patches/patch-song_hash_c b/audio/wmmp3/patches/patch-song_hash_c new file mode 100644 index 00000000000..3767644b749 --- /dev/null +++ b/audio/wmmp3/patches/patch-song_hash_c @@ -0,0 +1,10 @@ +$OpenBSD: patch-song_hash_c,v 1.1 2008/07/01 08:25:57 wilfried Exp $ +--- song_hash.c.orig Mon Apr 3 02:17:22 2000 ++++ song_hash.c Mon Jun 30 13:33:00 2008 +@@ -1,4 +1,6 @@ + #include "song_hash.h" ++#include ++#include + + #define HASH_TABLE_SIZE 11 +