fix for GCC 3.1
This commit is contained in:
parent
a804ae66cf
commit
62786d194e
@ -1,4 +1,4 @@
|
|||||||
# $OpenBSD: Makefile,v 1.1.1.1 2002/06/03 14:51:26 naddy Exp $
|
# $OpenBSD: Makefile,v 1.2 2002/06/15 14:52:58 naddy Exp $
|
||||||
|
|
||||||
NOT_FOR_ARCHS= ${NO_SHARED_ARCHS}
|
NOT_FOR_ARCHS= ${NO_SHARED_ARCHS}
|
||||||
|
|
||||||
@ -22,6 +22,7 @@ MASTER_SITES= http://www.proustmedia.de/bonk-xmms/
|
|||||||
|
|
||||||
LIB_DEPENDS= xmms.3::audio/xmms
|
LIB_DEPENDS= xmms.3::audio/xmms
|
||||||
|
|
||||||
|
MAKE_ENV= CXX="${CXX}"
|
||||||
ALL_TARGET=
|
ALL_TARGET=
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
|
21
audio/xmms-bonk/patches/patch-bonk-xmms_cc
Normal file
21
audio/xmms-bonk/patches/patch-bonk-xmms_cc
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
$OpenBSD: patch-bonk-xmms_cc,v 1.1 2002/06/15 14:52:58 naddy Exp $
|
||||||
|
--- bonk-xmms.cc.orig Fri May 31 20:22:09 2002
|
||||||
|
+++ bonk-xmms.cc Sat Jun 15 14:38:45 2002
|
||||||
|
@@ -44,6 +44,8 @@
|
||||||
|
#include <string>
|
||||||
|
#include <algorithm>
|
||||||
|
|
||||||
|
+using namespace std;
|
||||||
|
+
|
||||||
|
// == Déclarations plugin ======================================================
|
||||||
|
|
||||||
|
#define VERSION "0.11"
|
||||||
|
@@ -151,7 +153,7 @@
|
||||||
|
* @param format char* Chaîne de format
|
||||||
|
* @param ... Liste d'arguments variables
|
||||||
|
*/
|
||||||
|
- void bonk_xmms__log(int line, char *func, char *format, ...)
|
||||||
|
+ void bonk_xmms__log(int line, const char *func, char *format, ...)
|
||||||
|
{
|
||||||
|
#ifdef DEBUG
|
||||||
|
FILE *logfile = fopen("/tmp/plugin-bonk.log", "a");
|
Loading…
Reference in New Issue
Block a user