From nobody Mon Jun 27 07:10:24 2022 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 44924869658; Mon, 27 Jun 2022 07:10:25 +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 4LWf4x1MBrz4VRk; Mon, 27 Jun 2022 07:10:25 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1656313825; 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=gL3AJ+vQ7J8sYqAZxiMBFbeCWQ2RWlbXkqoXYNop5PA=; b=gL63FogePKUmrZi3AAhQhk5+hIMqComyIOv95CuOG9Z26cPMBWe6BKPUBr1Q0JlizQmjM+ bnKkZQQJk8Nz+3zmvHw5TWqdnpX7MNjC4QD496Vo9Pt120uh7a3K1IYrLUvowtxrOIUOLi htxmvQZR0fwwSk581sjBnJCS2cvhhmTOcB8Snx6MY0ef5zKCDGbNuNYnlE4WeWsGjhykOH 5Vou+nHO/t+TgR3qkV1/LD5IzjnK6bhTVRVktyw5/ztcmwuxkps4/yLLWRt/DfugQMeKUs YRJ0hvd/QlPuuW9CbG7F6jEg0pEMjKZzy9hILUlXgaUKxX65zoBPFZuF7xS5kQ== 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 0FC3C2387D; Mon, 27 Jun 2022 07:10:25 +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 25R7AOQN006395; Mon, 27 Jun 2022 07:10:24 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 25R7AO4B006394; Mon, 27 Jun 2022 07:10:24 GMT (envelope-from git) Date: Mon, 27 Jun 2022 07:10:24 GMT Message-Id: <202206270710.25R7AO4B006394@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Li-Wen Hsu Subject: git: a0109b55f2f1 - main - emulators/libretro-mame: Fix fetch of distfiles, fix 32-bit / i386 build 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: lwhsu X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a0109b55f2f188328d77c6a375a77c26ee0aa4d2 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1656313825; 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=gL3AJ+vQ7J8sYqAZxiMBFbeCWQ2RWlbXkqoXYNop5PA=; b=sjscwpm5ppOBf7AM/jP76aSwwkcnQJYcSbGgd8YuULTYTf6GmRnBReI1smLKQXGkVDMmoy 2aDBuoXhJcrEZycab+wIHLc8bEbfPOSMDPI9NnFKATnCHONGiVHjukeHI2vY+FV69iUJXl Gw6ikn4Anjf+Y64TnVXHKUxRTfq7bFF/RvPzBSBtkVf08BYHE80xTi5e/Ix8Ww4vYqC7en HsVuiZlQJsJ3U2T1FUqUDiSmR2ZUwsq6YNtaDO1QG75eXgIt6G59ELLjuT9T9lnY806Ymf laRXQ3tjv4y/YT2gsoMRW2ktvKz6yHj/nshlbl2roJ0jXUKrX0ewayeGBrU/7w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1656313825; a=rsa-sha256; cv=none; b=ShnG9WuqeTK5Lhs0u0DZ3EdvonTHGs0ln+xgJAT7g6x4lEDZY9qsR5hAak4qnNattu3k+F 4ygWvvM5O2m29N35ulJ9FyypqJwhOBnsB0PKWdHDgIQtEUjGoIL6/x9rNab8Uz+Jp9Ieb/ 0iyzCRLelTWaDxGDgrjJFGkHvY5own5XOjfSWjIJ2MliPWTQt/uswwLIgsuz3QS4Dkp2Zi pdsTYYKxYtIIamVsErojZ4urT4ffXADvDMN+FpQSNmpuyhkoZPTGRclgR7WEasPwn13kIH mpGaYtgVK2Qy+UT0rWWO2+fvE5fTnwu8JvXf30gHP1MlCv4/glqpucRPze6anw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by lwhsu: URL: https://cgit.FreeBSD.org/ports/commit/?id=a0109b55f2f188328d77c6a375a77c26ee0aa4d2 commit a0109b55f2f188328d77c6a375a77c26ee0aa4d2 Author: Timothy Beyer AuthorDate: 2022-06-27 07:06:56 +0000 Commit: Li-Wen Hsu CommitDate: 2022-06-27 07:06:56 +0000 emulators/libretro-mame: Fix fetch of distfiles, fix 32-bit / i386 build PR: 264215 --- emulators/libretro-mame/Makefile | 15 +++++++++------ emulators/libretro-mame/distinfo | 6 +++--- emulators/libretro-mame/files/patch-Makefile.libretro | 11 +++++++++++ 3 files changed, 23 insertions(+), 9 deletions(-) diff --git a/emulators/libretro-mame/Makefile b/emulators/libretro-mame/Makefile index 5a94d1157be8..1859c46be88b 100644 --- a/emulators/libretro-mame/Makefile +++ b/emulators/libretro-mame/Makefile @@ -2,6 +2,7 @@ PORTNAME= libretro-mame PORTVERSION= 20220124 +PORTREVISION= 1 CATEGORIES= emulators games MAINTAINER= beyert@cs.ucr.edu @@ -10,10 +11,10 @@ COMMENT= MAME-current for libretro LICENSE= BSD2CLAUSE GPLv2 LICENSE_COMB= multi -USES= compiler:c++11-lib gl gmake pkgconfig python:3.7,build +USES= compiler:c++11-lib gl gmake pkgconfig python:3.7,build USE_LDCONFIG= yes -USE_GL= gl +USE_GL= gl USE_GITHUB= yes GH_ACCOUNT= libretro @@ -22,13 +23,14 @@ GH_TAGNAME= ec47e94 MAKEFILE= ${WRKSRC}/Makefile.libretro -MAKE_ENV= CXX="${CXX}" \ +MAKE_ENV= ARCH=${ARCH} \ + CXX="${CXX}" \ LD="${CXX}" \ OPT_FLAGS="${CXXFLAGS}" \ PYTHON="${PYTHON_CMD}" \ PYTHON_EXECUTABLE="${PYTHON_CMD}" -GENIE= ${WRKSRC}/3rdparty/genie +GENIE= ${WRKSRC}/3rdparty/genie MAKE_JOBS_UNSAFE= yes @@ -67,7 +69,8 @@ post-patch: @${MV} ${WRKSRC}/src/lib/util/png.h ${WRKSRC}/src/lib/util/localpng.h do-install: - ${MKDIR} ${STAGEDIR}/${PREFIX}/lib/libretro; - ${INSTALL_LIB} ${WRKSRC}/mame_libretro.so ${STAGEDIR}/${PREFIX}/lib/libretro; + @${MKDIR} ${STAGEDIR}/${PREFIX}/lib/libretro; + ${INSTALL_LIB} ${WRKSRC}/mame_libretro.so \ + ${STAGEDIR}/${PREFIX}/lib/libretro; .include diff --git a/emulators/libretro-mame/distinfo b/emulators/libretro-mame/distinfo index c936ab53eea9..d8042a7c4de1 100644 --- a/emulators/libretro-mame/distinfo +++ b/emulators/libretro-mame/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1644819807 -SHA256 (libretro-mame-20220124-ec47e94_GH0.tar.gz) = 36593def33266b9a6171338941743b6ef01865bc3b8f38e7ad0c6b84d971ed1b -SIZE (libretro-mame-20220124-ec47e94_GH0.tar.gz) = 183780588 +TIMESTAMP = 1653366767 +SHA256 (libretro-mame-20220124-ec47e94_GH0.tar.gz) = 776e7159d35bcef0bd0ae9b71956c85b5e8f5dee1ad207ec09b3d37db9f9a915 +SIZE (libretro-mame-20220124-ec47e94_GH0.tar.gz) = 183781090 diff --git a/emulators/libretro-mame/files/patch-Makefile.libretro b/emulators/libretro-mame/files/patch-Makefile.libretro new file mode 100644 index 000000000000..0c7da5fc496a --- /dev/null +++ b/emulators/libretro-mame/files/patch-Makefile.libretro @@ -0,0 +1,11 @@ +--- Makefile.libretro.orig 2022-01-24 21:33:37 UTC ++++ Makefile.libretro +@@ -61,6 +61,8 @@ endif + + ifeq ($(ARCH),x86) + PTR64 := 0 ++else ifeq ($(ARCH),i386) ++ PTR64 := 0 + endif + + ###########################################################################