1From a54a5d086c5f7e0751f68ac1a2942d8077922ebc Mon Sep 17 00:00:00 2001
2From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
3Date: Sun, 7 Aug 2022 16:18:22 +0200
4Subject: [PATCH] drop C++ dependency
5
6C++ dependency has been added for nacl backend which has been added by
7https://gitlab.freedesktop.org/mesa/waffle/-/commit/6ca943584e593aec2bd4f9c66d91859e63e02d61
8and dropped by
9https://gitlab.freedesktop.org/mesa/waffle/-/commit/a7c7152b054e6d2b9af36ed9db9a0df44731b279
10
11Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
12[Upstream status: not sent yet]
13---
14 CMakeLists.txt            | 2 +-
15 src/waffle/CMakeLists.txt | 2 +-
16 2 files changed, 2 insertions(+), 2 deletions(-)
17
18diff --git a/CMakeLists.txt b/CMakeLists.txt
19index acece86..04ea68c 100644
20--- a/CMakeLists.txt
21+++ b/CMakeLists.txt
22@@ -23,7 +23,7 @@
23 # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
24 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25
26-project(waffle1 C CXX)
27+project(waffle1 C)
28
29 cmake_minimum_required(VERSION 2.8.12)
30
31diff --git a/src/waffle/CMakeLists.txt b/src/waffle/CMakeLists.txt
32index 8014b51..276f276 100644
33--- a/src/waffle/CMakeLists.txt
34+++ b/src/waffle/CMakeLists.txt
35@@ -238,7 +238,7 @@ include_directories(
36     ${XCB_INCLUDE_DIRS}
37     )
38
39-add_library(${waffle_libname} SHARED ${waffle_sources} ${waffle_cxx_sources})
40+add_library(${waffle_libname} SHARED ${waffle_sources})
41
42 # Debian's packaging system emits warnings if wflinfo directly links to any
43 # library that it doesn't directly use. Silence the warnings by annotating
44--
452.35.1
46
47