File bino-1.4.2-openal-fix.patch of Package bino (Revision 9da0af408e47a98a6a9b2b0abdd55df7)

Currently displaying revision 9da0af408e47a98a6a9b2b0abdd55df7 , Show latest

36
 
1
From 2f7a9ff7f2444c0f4d477a5aaf980b887871e1c4 Mon Sep 17 00:00:00 2001
2
From: Martin Lambers <marlam@marlam.de>
3
Date: Tue, 29 Jan 2013 10:31:51 +0000
4
Subject: Audio output: include AL/alext.h
5
6
This is for older versions of OpenAL, e.g. the one on Ubuntu 12.04, to provide
7
ALC_ALL_DEVICES_SPECIFIER. Reported by Vittorio Giovara.
8
---
9
diff --git a/src/audio_output.h b/src/audio_output.h
10
index 99d8367..1203f4a 100644
11
--- a/src/audio_output.h
12
+++ b/src/audio_output.h
13
@@ -1,7 +1,7 @@
14
 /*
15
  * This file is part of bino, a 3D video player.
16
  *
17
- * Copyright (C) 2010, 2011, 2012
18
+ * Copyright (C) 2010, 2011, 2012, 2013
19
  * Martin Lambers <marlam@marlam.de>
20
  * Gabriele Greco <gabrielegreco@gmail.com>
21
  * Frédéric Devernay <Frederic.Devernay@inrialpes.fr>
22
@@ -29,9 +29,11 @@
23
 #if !defined(__APPLE__) || defined(HAVE_AL_AL_H)
24
 #  include <AL/al.h>
25
 #  include <AL/alc.h>
26
+#  include <AL/alext.h>
27
 #else
28
 #  include <OpenAL/al.h>
29
 #  include <OpenAL/alc.h>
30
+#  include <OpenAL/alext.h>
31
 #endif
32
 
33
 #include "dispatch.h"
34
--
35
cgit v0.9.0.2
36