0003-drop-C-dependency.patch 1.6 KB

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