char is unsigned on some archs (powerpc, arm)
This commit is contained in:
parent
b00ca14075
commit
7de1d17451
@ -1,9 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.10 2009/10/10 22:51:48 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.11 2009/10/14 14:27:34 naddy Exp $
|
||||
|
||||
COMMENT= cross-platform 3D audio API
|
||||
|
||||
DISTNAME= openal-0.0.8
|
||||
PKGNAME= ${DISTNAME}p2
|
||||
PKGNAME= ${DISTNAME}p3
|
||||
CATEGORIES= audio
|
||||
SHARED_LIBS += openal 1.0 # .0.0
|
||||
|
||||
|
12
audio/openal/patches/patch-common_include_AL_al_h
Normal file
12
audio/openal/patches/patch-common_include_AL_al_h
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-common_include_AL_al_h,v 1.1 2009/10/14 14:27:34 naddy Exp $
|
||||
--- common/include/AL/al.h.orig Wed Oct 14 16:22:21 2009
|
||||
+++ common/include/AL/al.h Wed Oct 14 16:22:52 2009
|
||||
@@ -73,7 +73,7 @@ typedef char ALboolean;
|
||||
typedef char ALchar;
|
||||
|
||||
/** signed 8-bit 2's complement integer */
|
||||
-typedef char ALbyte;
|
||||
+typedef signed char ALbyte;
|
||||
|
||||
/** unsigned 8-bit integer */
|
||||
typedef unsigned char ALubyte;
|
@ -1,9 +1,19 @@
|
||||
$OpenBSD: patch-common_include_AL_alc_h,v 1.1 2009/10/10 13:55:44 phessler Exp $
|
||||
$OpenBSD: patch-common_include_AL_alc_h,v 1.2 2009/10/14 14:27:34 naddy Exp $
|
||||
|
||||
plain char is unsigned on some architectures
|
||||
typedef void is illegal in newer versions of GCC
|
||||
|
||||
--- common/include/AL/alc.h.orig Sun May 17 21:50:13 2009
|
||||
+++ common/include/AL/alc.h Sun May 17 21:50:29 2009
|
||||
--- common/include/AL/alc.h.orig Sat Feb 11 10:36:55 2006
|
||||
+++ common/include/AL/alc.h Wed Oct 14 16:22:38 2009
|
||||
@@ -52,7 +52,7 @@ typedef char ALCboolean;
|
||||
typedef char ALCchar;
|
||||
|
||||
/** signed 8-bit 2's complement integer */
|
||||
-typedef char ALCbyte;
|
||||
+typedef signed char ALCbyte;
|
||||
|
||||
/** unsigned 8-bit integer */
|
||||
typedef unsigned char ALCubyte;
|
||||
@@ -82,7 +82,7 @@ typedef float ALCfloat;
|
||||
typedef double ALCdouble;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user