Forgot to remove old patches and add new one

This commit is contained in:
rsadowski 2022-07-10 12:24:07 +00:00
parent 329beeae4f
commit b3a8cd5ad5
3 changed files with 21 additions and 23 deletions

View File

@ -0,0 +1,21 @@
Index: CMakeLists.txt
--- CMakeLists.txt.orig
+++ CMakeLists.txt
@@ -58,7 +58,7 @@ else()
set( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fwrapv -fPIC" )
set( CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -Werror -Wall -Wextra -Wunused-parameter" )
- set( CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -O3" )
+ set( CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE}" )
#
if( CYGWIN )
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=gnu++11" )
@@ -66,7 +66,7 @@ else()
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -fPIC" )
endif()
set( CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -g -O0 -fdiagnostics-show-option -Werror -Wall -Wextra -pedantic -Wcast-align -Wcast-qual -Wctor-dtor-privacy -Wdisabled-optimization -Winit-self -Wlogical-op -Wmissing-include-dirs -Woverloaded-virtual -Wredundant-decls -Wshadow -Wsign-promo -Wstrict-null-sentinel -Wstrict-overflow=4 -Wundef -Wno-unused -Wunused-variable -Wno-variadic-macros -Wno-parentheses -Wno-unknown-pragmas -Wwrite-strings -Wswitch -Wunused-parameter -Wfloat-equal -Wold-style-cast -Wnoexcept" )
- set( CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O3" )
+ set( CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE}" )
endif()
option(BUILD_SHARED_LIBS "Build the ${PROJECT_NAME} libraries shared." ON)

View File

@ -1,12 +0,0 @@
Index: src/appendzip.cpp
--- src/appendzip.cpp.orig
+++ src/appendzip.cpp
@@ -5,6 +5,8 @@
#include "zipios++/ziphead.h"
#include "zipios++/zipheadio.h"
+#include <stdlib.h>
+
using namespace std ;
using namespace zipios ;

View File

@ -1,11 +0,0 @@
Index: src/directory.h
--- src/directory.h.orig
+++ src/directory.h
@@ -31,6 +31,7 @@
#include <string>
#include <ctime>
#include <stdexcept>
+#include <cstddef>
// #include <boost.h> Contents of boost.h