svn commit: r483267 - in head/dns/mdnsd: . files

Mark Linimon linimon at FreeBSD.org
Sun Oct 28 10:45:46 UTC 2018


Author: linimon
Date: Sun Oct 28 10:45:44 2018
New Revision: 483267
URL: https://svnweb.freebsd.org/changeset/ports/483267

Log:
  Fix build with powerpc64.
  
  PR:		232447
  Submitted by:	Piotr Kubaj
  Approved by:	portmgr (tier-2 blanket)

Added:
  head/dns/mdnsd/files/patch-libmdnsd_CMakeLists.txt   (contents, props changed)
Modified:
  head/dns/mdnsd/Makefile

Modified: head/dns/mdnsd/Makefile
==============================================================================
--- head/dns/mdnsd/Makefile	Sun Oct 28 10:38:18 2018	(r483266)
+++ head/dns/mdnsd/Makefile	Sun Oct 28 10:45:44 2018	(r483267)
@@ -15,8 +15,6 @@ COMMENT=	Advertise a service via Rendezvous
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BROKEN_powerpc64=	fails to compile: unrecognized command line option "-Wpedantic"
-
 USES=		cmake:outsource
 USE_GITHUB=	yes
 GH_ACCOUNT=	Pro

Added: head/dns/mdnsd/files/patch-libmdnsd_CMakeLists.txt
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/dns/mdnsd/files/patch-libmdnsd_CMakeLists.txt	Sun Oct 28 10:45:44 2018	(r483267)
@@ -0,0 +1,11 @@
+--- 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


More information about the svn-ports-all mailing list