From 62494914a15260f8c3e4ce695fe1baa24fa8c3b6 Mon Sep 17 00:00:00 2001 From: Jacob Heider Date: Fri, 5 Apr 2024 11:55:03 -0400 Subject: [PATCH] fix(snappy) closes #5810 --- .../snappy/CMakeLists.txt.patch | 23 ------------------- projects/google.github.io/snappy/package.yml | 5 +--- 2 files changed, 1 insertion(+), 27 deletions(-) delete mode 100644 projects/google.github.io/snappy/CMakeLists.txt.patch diff --git a/projects/google.github.io/snappy/CMakeLists.txt.patch b/projects/google.github.io/snappy/CMakeLists.txt.patch deleted file mode 100644 index 0bc717e7..00000000 --- a/projects/google.github.io/snappy/CMakeLists.txt.patch +++ /dev/null @@ -1,23 +0,0 @@ -diff --git a/CMakeLists.txt b/CMakeLists.txt -index c3062e2..0ed2c1c 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -61,18 +61,6 @@ else(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC") - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall") - endif(NOT CMAKE_CXX_FLAGS MATCHES "-Wall") - -- # Use -Wextra for clang and gcc. -- if(NOT CMAKE_CXX_FLAGS MATCHES "-Wextra") -- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wextra") -- endif(NOT CMAKE_CXX_FLAGS MATCHES "-Wextra") -- -- # Use -Werror for clang only. -- if(CMAKE_CXX_COMPILER_ID MATCHES "Clang") -- if(NOT CMAKE_CXX_FLAGS MATCHES "-Werror") -- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror") -- endif(NOT CMAKE_CXX_FLAGS MATCHES "-Werror") -- endif(CMAKE_CXX_COMPILER_ID MATCHES "Clang") -- - # Disable C++ exceptions. - string(REGEX REPLACE "-fexceptions" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}") - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-exceptions") diff --git a/projects/google.github.io/snappy/package.yml b/projects/google.github.io/snappy/package.yml index d0c91b5b..dd03251e 100644 --- a/projects/google.github.io/snappy/package.yml +++ b/projects/google.github.io/snappy/package.yml @@ -12,11 +12,8 @@ build: gnu.org/patch: '*' script: # disable -Werror (because there are warnings lol) - - patch -p1