aboutsummaryrefslogtreecommitdiff
path: root/multimedia/xbmc-pvr/files/patch-xbmc__linux__FreeBSDGNUReplacements.h
diff options
context:
space:
mode:
authorJuergen Lock <nox@FreeBSD.org>2011-12-18 18:32:02 +0000
committerJuergen Lock <nox@FreeBSD.org>2011-12-18 18:32:02 +0000
commitdf4439a7f0e516c75f29d47bfd797b73dea6db38 (patch)
tree0ba8c5ec73bb7f69091aee95fa2ae37b51c62c29 /multimedia/xbmc-pvr/files/patch-xbmc__linux__FreeBSDGNUReplacements.h
parent529289231791bace1daef440ff1d87598441988e (diff)
Notes
Diffstat (limited to 'multimedia/xbmc-pvr/files/patch-xbmc__linux__FreeBSDGNUReplacements.h')
-rw-r--r--multimedia/xbmc-pvr/files/patch-xbmc__linux__FreeBSDGNUReplacements.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/multimedia/xbmc-pvr/files/patch-xbmc__linux__FreeBSDGNUReplacements.h b/multimedia/xbmc-pvr/files/patch-xbmc__linux__FreeBSDGNUReplacements.h
new file mode 100644
index 000000000000..1b65441afd4e
--- /dev/null
+++ b/multimedia/xbmc-pvr/files/patch-xbmc__linux__FreeBSDGNUReplacements.h
@@ -0,0 +1,28 @@
+--- /dev/null 2010-12-16 17:00:01.000000000 +0100
++++ xbmc/linux/FreeBSDGNUReplacements.h 2010-12-16 16:54:02.098300652 +0100
+@@ -0,0 +1,25 @@
++#ifndef __FREEBSDGNUREPLACEMENTS_H__
++#define __FREEBSDGNUREPLACEMENTS_H__
++
++#include <sys/param.h>
++#include <string.h>
++#include <stdio.h>
++
++#ifdef __cplusplus
++extern "C" {
++#endif /* __cplusplus */
++
++#if __FreeBSD_version < 800067
++
++size_t strnlen(const char *s, size_t n);
++ssize_t getdelim(char **lineptr, size_t *n, int delimiter, FILE *stream);
++
++#endif
++
++int strverscmp(const char *s1, const char *s2);
++
++#ifdef __cplusplus
++}
++#endif /* __cplusplus */
++
++#endif