Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Oct 2018 10:45:45 +0000 (UTC)
From:      Mark Linimon <linimon@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r483267 - in head/dns/mdnsd: . files
Message-ID:  <201810281045.w9SAjjUO073919@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201810281045.w9SAjjUO073919>