diff options
author | dmcmahill <dmcmahill@pkgsrc.org> | 2005-09-20 12:10:53 +0000 |
---|---|---|
committer | dmcmahill <dmcmahill@pkgsrc.org> | 2005-09-20 12:10:53 +0000 |
commit | 6b41c6a2aacdb750a6f54a498be1f5878f60a0e5 (patch) | |
tree | a65fb7804f07b719e7c57d55d4e1b48df7e2fa5b /multimedia | |
parent | 12eb18a92515c4719891acd1570227c2138d0418 (diff) | |
download | pkgsrc-6b41c6a2aacdb750a6f54a498be1f5878f60a0e5.tar.gz |
when the os is missing strsep() and we provide a replacement,
do it in the header file too otherwise xine-ui won't find the
replacement.
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/xine-lib/patches/patch-al | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/multimedia/xine-lib/patches/patch-al b/multimedia/xine-lib/patches/patch-al new file mode 100644 index 00000000000..a2f36db5954 --- /dev/null +++ b/multimedia/xine-lib/patches/patch-al @@ -0,0 +1,18 @@ +$NetBSD: patch-al,v 1.5 2005/09/20 12:10:53 dmcmahill Exp $ + +--- src/xine-utils/xineutils.h.orig 2004-12-12 08:51:30.000000000 -0500 ++++ src/xine-utils/xineutils.h +@@ -666,7 +666,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)) + + /* |