Fix compilation with some C++ based programs.
This commit is contained in:
parent
c2785a3b4c
commit
debc96f684
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.37 2008/08/20 01:54:01 brad Exp $
|
||||
# $OpenBSD: Makefile,v 1.38 2008/08/21 21:56:49 brad Exp $
|
||||
|
||||
SHARED_ONLY= Yes
|
||||
|
||||
@ -9,7 +9,7 @@ COMMENT-jack= jackd audio output module for xine-lib
|
||||
|
||||
V= 1.1.15
|
||||
DISTNAME= xine-lib-${V}
|
||||
PKGNAME-main= ${DISTNAME}
|
||||
PKGNAME-main= ${DISTNAME}p0
|
||||
PKGNAME-esd= xine-lib-esd-${V}
|
||||
PKGNAME-arts= xine-lib-arts-${V}
|
||||
PKGNAME-jack= xine-lib-jack-${V}
|
||||
|
12
multimedia/xine-lib/patches/patch-src_xine-engine_buffer_h
Normal file
12
multimedia/xine-lib/patches/patch-src_xine-engine_buffer_h
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-src_xine-engine_buffer_h,v 1.1 2008/08/21 21:56:49 brad Exp $
|
||||
--- src/xine-engine/buffer.h.orig Thu Aug 21 12:31:23 2008
|
||||
+++ src/xine-engine/buffer.h Thu Aug 21 12:35:07 2008
|
||||
@@ -676,7 +676,7 @@ void _x_bmiheader_le2me( xine_bmiheader *bih ) XINE_PR
|
||||
/* convert xine_waveformatex struct from little endian */
|
||||
void _x_waveformatex_le2me( xine_waveformatex *wavex ) XINE_PROTECTED;
|
||||
|
||||
-static inline _x_is_fourcc(void *ptr, void *tag) {
|
||||
+static __inline int _x_is_fourcc(void *ptr, void *tag) {
|
||||
return memcmp(ptr, tag, 4) == 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user