From nobody Sun Feb 26 08:51:06 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 4PPcmW09SDz3t595; Sun, 26 Feb 2023 08:51:07 +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 4PPcmV6WMyz4Jhj; Sun, 26 Feb 2023 08:51:06 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1677401466; 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=XwF1ZWGnNmetgSIqP1+ILE65yJvjWLq/XMBZeeeuVXA=; b=h7lBWIP2C09xqS6PaVfki51wxw89agqMqEhej810FQo8dlLC72P+d81uRGRJeCLSpb3sIK pOHLerMqZgtugATj4LFXltMfjzfoHML5jcjROHxTE4s90FdHskCKQZ2dE8dn14HFz5r3Fp U7URJDetZSCgfsQvpNVC4XMPBIHcmxH9kCs7TtSBkNVAK/tTzI/Ha/Nqoh8f9uO+0BD/Za FlrWwi+FQNiyW+llQyRg1ussLEsQqyO9g1S6kP7U1oIXrVTSvmQsmw7J9sJd4ENRRS7QeA D+av9o/ZUPJAfPBea7TRFJINamRQwxQLmMhRQOZdygGxftNiz3R++mpku2cNbQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1677401466; 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=XwF1ZWGnNmetgSIqP1+ILE65yJvjWLq/XMBZeeeuVXA=; b=hO66zp7xhw/nV7jbaGb/0NzmTf4Bw7AbSOTuFr+M68R23+1J9FKwW8yf0HHV4uL1/G9tib yz30PKY2Ku3vbgDYaqaZ3m9vGkkERh219r/JMWx9uO+Xfz7OaUQ9VIcyWiF2Bn5fWcn/xn /psD26Cz9Op9rx04tvc76aWqM6XAhcH7h1qhC3F1NK9bPrPGvzc2ebec7ycNlHGruMc4Kb /lHJRE66WTZ+slquvK1Dbk5HABfSnfMueW/Z12g7GNwxR9QcfGy+pHHP5etBiXSvrps6ld nhZrt3PCYwdlW5rSbPwSRo9txUYkJGPb2SpnY9714+N0u8ya+q1AlCpGOUGgAA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1677401466; a=rsa-sha256; cv=none; b=mxoqCRVHeuqT/t077ylOT4keCjqkfHEt/zn39mSTfe59KBwW/+ueWQnV5unpSCgbzj268D qBIBMdvDsoNtXLDgSMVAABuA+p8e3yd4XQUkhFUIB+agXe79r3zvg4B7GebEPnC7AbS29G CnXVgFcqYrpZvcteP3S1+U8s19H0X+wOC0raWagf97tivJ5hmd1E2O5yqnMOvVmh72SsRE 3kCUYjgr/gh/ZFufjTZM6yxfIPOKXw2/oceUYVBp1bwS0V8fF55x5FFPe1GLL6w6rsE0pR v1nJQwFqgpZ5+NoxUv2Mc4wt14jbjCL+Nl+PNXHPXuiigSM108sgflqYEbwoxg== 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 4PPcmV5ZhvzfTV; Sun, 26 Feb 2023 08:51:06 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 31Q8p6v6046587; Sun, 26 Feb 2023 08:51:06 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 31Q8p6Px046586; Sun, 26 Feb 2023 08:51:06 GMT (envelope-from git) Date: Sun, 26 Feb 2023 08:51:06 GMT Message-Id: <202302260851.31Q8p6Px046586@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: a036ab4649a8 - main - devel/libvex: Add missing C++ files; Remove debug flag; Add arch-specific define 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: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a036ab4649a8a73102ec59e757f775d6eb5669f9 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=a036ab4649a8a73102ec59e757f775d6eb5669f9 commit a036ab4649a8a73102ec59e757f775d6eb5669f9 Author: Yuri Victorovich AuthorDate: 2023-02-26 08:18:45 +0000 Commit: Yuri Victorovich CommitDate: 2023-02-26 08:18:45 +0000 devel/libvex: Add missing C++ files; Remove debug flag; Add arch-specific define --- devel/libvex/Makefile | 3 +++ devel/libvex/files/patch-Makefile-gcc | 30 ++++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+) diff --git a/devel/libvex/Makefile b/devel/libvex/Makefile index 3f68284b203a..b404042cbfa1 100644 --- a/devel/libvex/Makefile +++ b/devel/libvex/Makefile @@ -1,5 +1,6 @@ PORTNAME= libvex DISTVERSION= g20230201 +PORTREVISION= 1 CATEGORIES= devel MAINTAINER= yuri@FreeBSD.org @@ -20,6 +21,8 @@ WRKSRC_SUBDIR= VEX MAKEFILE= Makefile-gcc +CFLAGS+= -DVGA_${ARCH:S/i386/x86/:S/aarch64/arm/:S/powerpc64/ppc64le/:S/powerpc/ppc32/:S/mips/mips64/} + MAKE_ARGS= EXTRA_CFLAGS="${CFLAGS}" do-install: diff --git a/devel/libvex/files/patch-Makefile-gcc b/devel/libvex/files/patch-Makefile-gcc new file mode 100644 index 000000000000..88e96d8e3dc3 --- /dev/null +++ b/devel/libvex/files/patch-Makefile-gcc @@ -0,0 +1,30 @@ +--- Makefile-gcc.orig 2023-02-01 10:16:51 UTC ++++ Makefile-gcc +@@ -68,6 +68,7 @@ LIB_OBJS = priv/ir_defs.o \ + priv/host_generic_simd128.o \ + priv/host_generic_simd256.o \ + priv/host_generic_reg_alloc2.o \ ++ priv/host_generic_reg_alloc3.o \ + priv/guest_generic_x87.o \ + priv/guest_generic_bb_to_IR.o \ + priv/guest_x86_helpers.o \ +@@ -107,7 +108,7 @@ CCFLAGS = -Wall -Wmissing-prototypes -Wstrict-prototyp + -Wpointer-arith -Wbad-function-cast -Wcast-qual \ + -Wcast-align -Wmissing-declarations \ + -Wwrite-strings -Wformat -Wformat-security \ +- $(EXTRA_CFLAGS) -g -O2 -fstrict-aliasing ++ $(EXTRA_CFLAGS) -O2 -fstrict-aliasing + + #CC = icc + #CCFLAGS = -g -Wall -wd981 -wd279 -wd1287 -wd869 -wd111 -wd188 -wd186 +@@ -346,6 +347,10 @@ priv/host_generic_simd256.o: $(ALL_HEADERS) priv/host_ + priv/host_generic_reg_alloc2.o: $(ALL_HEADERS) priv/host_generic_reg_alloc2.c + $(CC) $(CCFLAGS) $(ALL_INCLUDES) -o priv/host_generic_reg_alloc2.o \ + -c priv/host_generic_reg_alloc2.c ++ ++priv/host_generic_reg_alloc3.o: $(ALL_HEADERS) priv/host_generic_reg_alloc3.c ++ $(CC) $(CCFLAGS) $(ALL_INCLUDES) -o priv/host_generic_reg_alloc3.o \ ++ -c priv/host_generic_reg_alloc3.c + + priv/guest_x86_toIR.o: $(ALL_HEADERS) priv/guest_x86_toIR.c + $(CC) $(CCFLAGS) $(ALL_INCLUDES) -o priv/guest_x86_toIR.o \