let glue match the compat glue in libc++, and also removes one clang
warning... helps kdeenlive build eventually
This commit is contained in:
parent
13efb686f0
commit
778206982e
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.14 2017/05/22 13:55:53 espie Exp $
|
||||
# $OpenBSD: Makefile,v 1.15 2017/05/24 16:30:52 espie Exp $
|
||||
|
||||
COMMENT-main = multimedia transformations framework
|
||||
COMMENT-gpl2 = GPLv2-licensed modules for mlt
|
||||
@ -6,7 +6,7 @@ VERSION = 6.0.0
|
||||
DISTNAME = mlt-${VERSION}
|
||||
PKGNAME-main = ${DISTNAME}
|
||||
PKGNAME-gpl2 = mlt-gpl2-${VERSION}
|
||||
REVISION-main = 1
|
||||
REVISION-main = 2
|
||||
REVISION-gpl2 = 0
|
||||
|
||||
# XXX versions should be kept in sync together
|
||||
|
18
multimedia/mlt/patches/patch-src_framework_mlt_property_h
Normal file
18
multimedia/mlt/patches/patch-src_framework_mlt_property_h
Normal file
@ -0,0 +1,18 @@
|
||||
$OpenBSD: patch-src_framework_mlt_property_h,v 1.1 2017/05/24 16:30:52 espie Exp $
|
||||
|
||||
Index: src/framework/mlt_property.h
|
||||
--- src/framework/mlt_property.h.orig
|
||||
+++ src/framework/mlt_property.h
|
||||
@@ -30,8 +30,11 @@
|
||||
#include <sys/param.h>
|
||||
#endif
|
||||
|
||||
-#if defined(__GLIBC__) || defined(__APPLE__) || (__FreeBSD_version >= 900506)
|
||||
+#if defined(__GLIBC__) || defined(__APPLE__) || defined(__FreeBSD_version) && (__FreeBSD_version >= 900506)
|
||||
#include <xlocale.h>
|
||||
+#elif defined(__OpenBSD__)
|
||||
+/* XXX matches __nop_locale glue in libc++ */
|
||||
+typedef void* locale_t;
|
||||
#else
|
||||
typedef char* locale_t;
|
||||
#endif
|
Loading…
x
Reference in New Issue
Block a user