From nobody Tue Jul 25 09:42:29 2023 X-Original-To: dev-commits-ports-main@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 4R9Bs1322Mz4p9bq; Tue, 25 Jul 2023 09:42:29 +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 4R9Bs12cBFz4WgR; Tue, 25 Jul 2023 09:42:29 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690278149; 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=bYXqw+lGQ2LAAAWRPNn6XFg8zMxJAUCQe1ucyKjtrqw=; b=eD5GHuVPcxKdW49zhoJKL3W3XjXlq0YcpBuU7CxAeh8ORcxIqWkg24O1qYJ2JI/LzIhIkK 97pw5Q7eveuzSQWoroa0/rTfoNqYjGY4Lh6fK6z1Y5+aYkrLomlacBpcH1esX3hdqQsEiA H3TalAhyxVhgCCefkfR5VG+GGyY+3JqR7PVchGG6N22VF/PjXF3C0c/Bq2x329Mq2EAgBc AS5jexCQUITiJxKoZzW23/XhIgwGG1axB0YM+4gDxpRVcZlB50v5hQ9ExeUicgARYbwXNv WLFZask/Lcn7HpJdurw4gKQiDUAQ9VAMT8/X9EDnphmUdKs9k2xTby/p1QxjCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690278149; 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=bYXqw+lGQ2LAAAWRPNn6XFg8zMxJAUCQe1ucyKjtrqw=; b=Rmw1ZxKZf5v4eLRTf+9UGo1QhiaBwQ3gC/yCQqUayJr6Z1t72XcPKD2hZLczz2YxhYTnJH 8uFNB0p8aTu+xRQEj4Q4u5TF4pI4vSUbSdwyDAwP7iRBhDtqL2BQVFSC+qbf5XgafEyBru IhheUGwshCNnKAK+K7XY6A9u6c6/hh4JNBpww0LnPBvJAZZ+FQ0pnA0eQimi737+6XjeYX A+nXKt1rze2vykYjSxO2xScMu8oFsUDXky2Cji49aqHPr+ukMRTet6Ai6/M3zDE96IddAf n3SLuldafbuaJTuuq29U3E8Mlw53ejwc3Zqv7nnFF3MG73edFn/zDPyTKU+oag== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1690278149; a=rsa-sha256; cv=none; b=cI8UZAv97J24n6LKhRCA8wT+HotDBOAvSYpv540ikDIRl8mhJxSf72tA74A5Xcophc5dBa nj/b1F8aYfbVYHK2tMdW/N/89nUcGV+66Gc7Ao2hECKIESHTDMCjs5+acYIg0eQXrDKtzW mfnlN1rFkwrPZKa2IoclgJIQqVnLGpCOTIlFPeRF74Ag0/b1SP+cRF9VbPx+LfuQcprHHf Z0x5JvOevcynaDsheofNj+9RC6T+YKWFG38F8r6QubOGZnYXQjk/FihvF5b/txd9qr9nD6 AU3sFVz9knsgoZpUjnF+nXlSZrzCNzEbRvC2xRzN2tYwIPfb+UE3ZL54hQyJSg== 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 4R9Bs11hTwzw6x; Tue, 25 Jul 2023 09:42:29 +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 36P9gTMt069755; Tue, 25 Jul 2023 09:42:29 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36P9gTgN069754; Tue, 25 Jul 2023 09:42:29 GMT (envelope-from git) Date: Tue, 25 Jul 2023 09:42:29 GMT Message-Id: <202307250942.36P9gTgN069754@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: e624acf53d68 - main - x11-wm/jewel: Fix build with llvm16 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e624acf53d68aabc52bbdb81ba0c9f7b63ac645b Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=e624acf53d68aabc52bbdb81ba0c9f7b63ac645b commit e624acf53d68aabc52bbdb81ba0c9f7b63ac645b Author: Muhammad Moinur Rahman AuthorDate: 2023-07-25 08:44:09 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-07-25 09:42:18 +0000 x11-wm/jewel: Fix build with llvm16 - Pet portclippy Sponsored by: The FreeBSD Foundation --- x11-wm/jewel/Makefile | 7 +++++-- x11-wm/jewel/files/patch-goodies-fspanel_Makefile | 6 +++--- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/x11-wm/jewel/Makefile b/x11-wm/jewel/Makefile index 01c1b18cb745..5d2e9081de99 100644 --- a/x11-wm/jewel/Makefile +++ b/x11-wm/jewel/Makefile @@ -12,14 +12,17 @@ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/LICENSE USES= compiler gmake xorg +USE_CXXSTD= c++14 USE_XORG= x11 xext xpm -ALL_TARGET= all -PORTDOCS= Changelog Changelog.DLR Changelog.jewel INSTALL README + MAKE_ARGS= CFLAGS="${CXXFLAGS}" +ALL_TARGET= all CXXFLAGS+= ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}} CXXFLAGS_clang= -Wno-c++11-narrowing +PORTDOCS= Changelog Changelog.DLR Changelog.jewel INSTALL README + OPTIONS_DEFINE= DOCS post-patch: diff --git a/x11-wm/jewel/files/patch-goodies-fspanel_Makefile b/x11-wm/jewel/files/patch-goodies-fspanel_Makefile index 0ad2306dfed3..3a1aa220fa77 100644 --- a/x11-wm/jewel/files/patch-goodies-fspanel_Makefile +++ b/x11-wm/jewel/files/patch-goodies-fspanel_Makefile @@ -4,10 +4,10 @@ -CC = gcc -C_FLAGS = -DNOSTDLIB -DHAVE_XPM -Wall -I$(XROOT)/include -m386 -malign-loops=2 -malign-jumps=2 -malign-functions=2 +CC ?= gcc -+C_FLAGS = -DNOSTDLIB -DHAVE_XPM -Wall -I$(XROOT)/include -falign-functions=2 ++C_FLAGS = -DNOSTDLIB -DHAVE_XPM -Wall -I$(XROOT)/include -falign-functions=2 --std=c++14 L_FLAGS = -O1 -Xlinker -s -L$(XROOT)/lib -lX11 -lXpm PROGNAME = fspanel - + +all: $(PROGNAME) + $(PROGNAME): Makefile fspanel.c fspanel.h icon.xpm @@ -15,7 +15,7 @@ @ls -l $(PROGNAME) @@ -14,4 +16,4 @@ cp -r $(PROGNAME) $(DESTDIR)$(prefix)/bin - + uninstall: - rm $(DESTDIR)$(prefix)/bin/$(PROGNAME) \ No newline at end of file