pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/multimedia/xine-lib/patches when the os is missing str...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/250bdad736e9
branches:  trunk
changeset: 499341:250bdad736e9
user:      dmcmahill <dmcmahill%pkgsrc.org@localhost>
date:      Tue Sep 20 12:10:53 2005 +0000

description:
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:

 multimedia/xine-lib/patches/patch-al |  18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)

diffs (22 lines):

diff -r 708aefac7edb -r 250bdad736e9 multimedia/xine-lib/patches/patch-al
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/xine-lib/patches/patch-al      Tue Sep 20 12:10:53 2005 +0000
@@ -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))
+ 
+ /*



Home | Main Index | Thread Index | Old Index