1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-15 07:56:36 +00:00
freebsd-ports/dns/mdnsd/files/patch-libmdnsd_CMakeLists.txt
Mark Linimon cf82067535 Fix build with powerpc64.
PR:		232447
Submitted by:	Piotr Kubaj
Approved by:	portmgr (tier-2 blanket)
2018-10-28 10:45:44 +00:00

12 lines
627 B
Plaintext

--- libmdnsd/CMakeLists.txt.orig 2018-10-19 15:18:01 UTC
+++ libmdnsd/CMakeLists.txt
@@ -10,7 +10,7 @@ mark_as_advanced(MDNSD_COMPILE_AS_CXX)
if(NOT MDNSD_COMPILE_AS_CXX AND (CMAKE_COMPILER_IS_GNUCC OR "x${CMAKE_C_COMPILER_ID}" STREQUAL "xClang"))
add_definitions(-std=c99 -pipe
- -Wall -Wextra -Werror -Wpedantic
+ -Wall -Wextra
-Wno-unused-parameter # some methods may require unused arguments to cast to a method pointer
-Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls
-Wformat -Wformat-security -Wformat-nonliteral