pkgsrc/multimedia/xine-lib/patches/patch-al

19 lines
610 B
Text
Raw Normal View History

2006-06-26 19:13:11 +02:00
$NetBSD: patch-al,v 1.6 2006/06/26 17:13:11 wiz Exp $
2006-06-26 19:13:11 +02:00
--- src/xine-utils/xineutils.h.orig 2005-10-08 13:57:49.000000000 +0000
+++ src/xine-utils/xineutils.h
2006-06-26 19:13:11 +02:00
@@ -679,7 +679,13 @@ void xine_strdupa(char *dest, char *src)
/* compatibility macros */
#define xine_strpbrk(S, ACCEPT) strpbrk((S), (ACCEPT))
+
+#ifndef HAVE_STRSEP
+#define strsep(STRINGP, DELIM) _xine_private_strsep((STRINGP), (DELIM))
+char *_xine_private_strsep(char **stringp, const char *delim);
+#endif
#define xine_strsep(STRINGP, DELIM) strsep((STRINGP), (DELIM))
+
#define xine_setenv(NAME, VAL, XX) setenv((NAME), (VAL), (XX))
/*