From nobody Fri Nov 24 06:14:51 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Sc4T75PhLz51Mqw; Fri, 24 Nov 2023 06:14:51 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Sc4T74vTpz4Pq4; Fri, 24 Nov 2023 06:14:51 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700806491; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=HcR7+TuL4fSzk24rqyENe5FzPqhrB6YccIrElyCRvVs=; b=K7wMG54mWdri9Vu0TUQk+8mhauSkR51cN22YfBxEnO7fktxzD57NRUJySFFD+ZnDtw9ZRF N/CHWAI0R5u4DLwp3NB9o2Cbrw+LKho2Sh2Bx2ANt0rb7oykDftDQnS+Wy/+bHBVx/eBeX moEQEg2nEDM5ijpkVBsrtfHo/iNAb6hnLnpVp0fLDmEOHCHDArQ0iwmMvbTMfgWsfXAnqp x3Lg92eJSCblI+gH6kDTGi29yzvMxoiQD7tF4Kmt4VQ3aD4bh5azv7gNn45OH4/M9AfjJd Y+SHZOfikXizWTtsR8CXOWEcdOrOJrcNCIwqfXqBbTqKcvWdvh7WA5omi+mbBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700806491; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=HcR7+TuL4fSzk24rqyENe5FzPqhrB6YccIrElyCRvVs=; b=ubrtU9nYdbmUWkaidKM6FqvW3xadc6yBURLUCEE+7buL44cDeLAyGBCaPOE6GTZfRFs4CI 6QJas5Rs5wgF0LueASxD/MN3sEUu1ZaRGWBGPCRUTtOqSzhVNgz8DxuitR21MxB9iERxxw iToo7vz5TwewgP75Rf95eamBO2zhUaq80W+irIRV2vZZDtEzRl0kPhE6+UUrvrl9NVQnoc 1xmzVfBaq0I/jGKVcShn0B4iEBR++p1FTnRJeIaNJsNyLSjM1xHRUHcCj6glW6k0juS2fh x8cHRAiDZ7qsx1msCSrEm0jz9nwCaKg5pbFDIyxOtT0CrTE5SXhTeUuMkfLm1A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700806491; a=rsa-sha256; cv=none; b=CHu7jJFhi3j7bTNYnqU+tg5k7ffvT60p60o++IoQo1mXL1p8EfDUKfBkrFbo7C27Pd/Zwu pXShWG9/UlucxsCurLD4B29vHk4QIMx4IyQXE17R8WfLox4/ErnETA9A7asDw4kRyKVV+l 4AgDW7idQs90HklPnWStuKQBhxhFTJx7CARgwia3Xgjm5jTZx4GJGsMorIlzpe4hfLK4+b 2dm7bebrhQhkS94ILPpLlr4v2+wR6E3C9wG2WUG9OezHe1bKzkTi4IaEPxOkp5W1v/S+P+ Ute0GGQkTkPJSPTEbO0brKX5GzZ1v8T5NdYhtnDqDZ8dhh1yHQg1oHfBE/5oqw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Sc4T73yHCzZMF; Fri, 24 Nov 2023 06:14:51 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3AO6Ep1O027663; Fri, 24 Nov 2023 06:14:51 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3AO6Epmb027660; Fri, 24 Nov 2023 06:14:51 GMT (envelope-from git) Date: Fri, 24 Nov 2023 06:14:51 GMT Message-Id: <202311240614.3AO6Epmb027660@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Robert Clausecker Subject: git: 11a7b638a6c6 - main - dns/void-zones-tools: Fix build with WITH_PIE=YES List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: fuz X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 11a7b638a6c63425070e60ddcad9ebb27fad88c9 Auto-Submitted: auto-generated The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=11a7b638a6c63425070e60ddcad9ebb27fad88c9 commit 11a7b638a6c63425070e60ddcad9ebb27fad88c9 Author: Vidar Karlsen AuthorDate: 2023-11-13 21:21:58 +0000 Commit: Robert Clausecker CommitDate: 2023-11-24 06:12:30 +0000 dns/void-zones-tools: Fix build with WITH_PIE=YES Patch CFLAGS from being overridden and remove -fno-pic to facilitate building with WITH_PIE=yes PR: 275039 Reported by: Marek Zarychta --- dns/void-zones-tools/Makefile | 1 + dns/void-zones-tools/files/patch-Makefile | 15 ++++++++++++--- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/dns/void-zones-tools/Makefile b/dns/void-zones-tools/Makefile index aa43a50a11b3..eec68d79df7e 100644 --- a/dns/void-zones-tools/Makefile +++ b/dns/void-zones-tools/Makefile @@ -2,6 +2,7 @@ PORTNAME= void-zones-tools DISTVERSIONPREFIX= v DISTVERSION= 1.0.2-18 DISTVERSIONSUFFIX= -g204634a +PORTREVISION= 1 CATEGORIES= dns MAINTAINER= vidar@karlsen.tech diff --git a/dns/void-zones-tools/files/patch-Makefile b/dns/void-zones-tools/files/patch-Makefile index eff508c7c245..7d0d77e5c7ca 100644 --- a/dns/void-zones-tools/files/patch-Makefile +++ b/dns/void-zones-tools/files/patch-Makefile @@ -1,13 +1,22 @@ --- Makefile.orig 2023-08-28 22:28:23 UTC +++ Makefile -@@ -26,9 +26,7 @@ +@@ -26,15 +26,13 @@ CC ?= clang DV != $(CC) -dumpversion -.if $(MACHINE) == "i386" || $(MACHINE) == "amd64" || $(MACHINE) == "x86_64" -CFLAGS = $(CDEFS) -march=native -mssse3 -.elif $(MACHINE) == "arm" +-CFLAGS = $(CDEFS) -fsigned-char +.if $(MACHINE) == "arm" - CFLAGS = $(CDEFS) -fsigned-char ++CFLAGS += $(CDEFS) -fsigned-char .else - CFLAGS = $(CDEFS) +-CFLAGS = $(CDEFS) ++CFLAGS += $(CDEFS) + .endif + +-CFLAGS += -std=gnu11 -g0 -O3 -fno-pic -fvisibility=hidden -fstrict-aliasing -fno-common -fstack-protector -Wno-parentheses ++CFLAGS += -std=gnu11 -g0 -O3 -fvisibility=hidden -fstrict-aliasing -fno-common -fstack-protector -Wno-parentheses + + # Clang only flags come here + .if $(DV) == "4.2.1"