diff --git a/srcpkgs/msg2/patches/fix-cflags.patch b/srcpkgs/msg2/patches/fix-cflags.patch new file mode 100644 index 00000000000..64404bf44fc --- /dev/null +++ b/srcpkgs/msg2/patches/fix-cflags.patch @@ -0,0 +1,13 @@ +Index: CMakeLists.txt +=================================================================== +--- CMakeLists.txt.orig ++++ CMakeLists.txt +@@ -3,7 +3,7 @@ project(msg2) + + # Flags + set(CMAKE_CXX_STANDARD 17) +-set(CMAKE_CXX_FLAGS "-Os -pipe -fPIC -fno-plt -fstack-protector-strong -Wall -Wshadow -pedantic -Wno-parentheses -Wfatal-errors") ++set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pipe -fPIC -fno-plt -fstack-protector-strong -Wall -Wshadow -pedantic -Wno-parentheses -Wfatal-errors") + + # Add source files + add_executable(msg2 main.cpp) diff --git a/srcpkgs/msg2/template b/srcpkgs/msg2/template index b4f77400bf2..473b3c4ec4d 100644 --- a/srcpkgs/msg2/template +++ b/srcpkgs/msg2/template @@ -1,7 +1,7 @@ # Template file for 'msg2' pkgname=msg2 version=1.2.0 -revision=1 +revision=2 build_style=cmake short_desc="Output a blue arrow and a white message on the commandline" maintainer="Orphaned "