pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/audio/openal-soft
Module Name: pkgsrc
Committed By: jperkin
Date: Thu Apr 9 13:35:21 UTC 2020
Modified Files:
pkgsrc/audio/openal-soft: distinfo
Added Files:
pkgsrc/audio/openal-soft/patches: patch-alc_backends_solaris.cpp
patch-include_AL_al.h
Log Message:
openal-soft: Fix build on SunOS.
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/audio/openal-soft/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/audio/openal-soft/patches/patch-alc_backends_solaris.cpp \
pkgsrc/audio/openal-soft/patches/patch-include_AL_al.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/audio/openal-soft/distinfo
diff -u pkgsrc/audio/openal-soft/distinfo:1.6 pkgsrc/audio/openal-soft/distinfo:1.7
--- pkgsrc/audio/openal-soft/distinfo:1.6 Sat Jan 25 14:58:13 2020
+++ pkgsrc/audio/openal-soft/distinfo Thu Apr 9 13:35:21 2020
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.6 2020/01/25 14:58:13 nia Exp $
+$NetBSD: distinfo,v 1.7 2020/04/09 13:35:21 jperkin Exp $
SHA1 (openal-soft-1.20.1.tar.bz2) = 77c3d2736adf4058ec3e19f26e51fac9b5412ac1
RMD160 (openal-soft-1.20.1.tar.bz2) = dd53b9aac8710db7344f16fb49c93f9f73af8b6d
@@ -6,3 +6,5 @@ SHA512 (openal-soft-1.20.1.tar.bz2) = a8
Size (openal-soft-1.20.1.tar.bz2) = 512971 bytes
SHA1 (patch-alc_alconfig.cpp) = 0539016dadf1827e5a86700c2db5a96479a8b70d
SHA1 (patch-alc_backends_alsa.cpp) = 3ee7f86e544d9b33ccbe9422eb87b9540623053a
+SHA1 (patch-alc_backends_solaris.cpp) = 62e7a5bddb5c4ed7f7e4c4889b2234dd778be960
+SHA1 (patch-include_AL_al.h) = 5545de5f606320b64ddd713569c9a86c8552eb46
Added files:
Index: pkgsrc/audio/openal-soft/patches/patch-alc_backends_solaris.cpp
diff -u /dev/null pkgsrc/audio/openal-soft/patches/patch-alc_backends_solaris.cpp:1.1
--- /dev/null Thu Apr 9 13:35:21 2020
+++ pkgsrc/audio/openal-soft/patches/patch-alc_backends_solaris.cpp Thu Apr 9 13:35:21 2020
@@ -0,0 +1,14 @@
+$NetBSD: patch-alc_backends_solaris.cpp,v 1.1 2020/04/09 13:35:21 jperkin Exp $
+
+Fix SunOS build.
+
+--- alc/backends/solaris.cpp.orig 2020-01-24 07:28:45.000000000 +0000
++++ alc/backends/solaris.cpp
+@@ -29,6 +29,7 @@
+ #include <fcntl.h>
+ #include <stdlib.h>
+ #include <stdio.h>
++#include <string.h>
+ #include <memory.h>
+ #include <unistd.h>
+ #include <errno.h>
Index: pkgsrc/audio/openal-soft/patches/patch-include_AL_al.h
diff -u /dev/null pkgsrc/audio/openal-soft/patches/patch-include_AL_al.h:1.1
--- /dev/null Thu Apr 9 13:35:21 2020
+++ pkgsrc/audio/openal-soft/patches/patch-include_AL_al.h Thu Apr 9 13:35:21 2020
@@ -0,0 +1,19 @@
+$NetBSD: patch-include_AL_al.h,v 1.1 2020/04/09 13:35:21 jperkin Exp $
+
+Fix SunOS build, int8_t is not always the same as signed char.
+
+--- include/AL/al.h.orig 2020-01-24 07:28:45.000000000 +0000
++++ include/AL/al.h
+@@ -41,7 +41,12 @@ typedef char ALboolean;
+ typedef char ALchar;
+
+ /** signed 8-bit 2's complement integer */
++#ifdef __sun
++#include <inttypes.h>
++typedef int8_t ALbyte;
++#else
+ typedef signed char ALbyte;
++#endif
+
+ /** unsigned 8-bit integer */
+ typedef unsigned char ALubyte;
Home |
Main Index |
Thread Index |
Old Index