From f79c474e9b2f53c795f0a6be9b11f52f3d99187d Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Wed, 5 Feb 2020 03:28:16 +0000 Subject: [PATCH] games/openbor: unbreak build on 13.0 powerpc64 In file included from source/gfxlib/2xSaI.c:10: source/gamelib/borendian.h:63:60: error: unsupported inline asm: input with type 'int' matching output with type 'UInt16' (aka 'unsigned short') __asm__("rlwimi %0,%2,8,16,23" : "=&r" (result) : "0" (x >> 8), "r" (x)); ~~~~~~ ^~~~~~ PR: 243865 Reported by: pkubaj --- games/openbor/Makefile | 7 +++++++ games/openbor/distinfo | 2 ++ games/openbor3482/distinfo | 2 ++ games/openbor3711/distinfo | 2 ++ games/openbor3979/distinfo | 2 ++ games/openbor4432/distinfo | 2 ++ 6 files changed, 17 insertions(+) diff --git a/games/openbor/Makefile b/games/openbor/Makefile index d09db03d5591..28f6c16a183e 100644 --- a/games/openbor/Makefile +++ b/games/openbor/Makefile @@ -8,6 +8,13 @@ PORTREVISION= 0 .endif CATEGORIES= games +PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ +.if ${PORTVERSION} < 3971 +PATCHFILES+= 794ba23189a3.patch:-p2 +.elif ${PORTVERSION} < 7084 +PATCHFILES+= 731d96887795.patch:-p2 +.endif + MAINTAINER= jbeich@FreeBSD.org COMMENT= 2D side scrolling engine for beat 'em ups, shooters, and more #' diff --git a/games/openbor/distinfo b/games/openbor/distinfo index c0e3284febdc..d0ef6ca7f045 100644 --- a/games/openbor/distinfo +++ b/games/openbor/distinfo @@ -1,3 +1,5 @@ TIMESTAMP = 1573579354 SHA256 (DCurrent-openbor-7082-5428eec8_GH0.tar.gz) = 17eee53f51e4db36baf6b4a8a2f3300c0fd2ee6af742eb8fac4bee3dacfa6274 SIZE (DCurrent-openbor-7082-5428eec8_GH0.tar.gz) = 26904474 +SHA256 (731d96887795.patch) = 355c50f2562f091015b306e4eb34a7c1f9ea8c64d32e9ba36aed2d46aac85548 +SIZE (731d96887795.patch) = 1291 diff --git a/games/openbor3482/distinfo b/games/openbor3482/distinfo index 3c269cc92332..f632bad764af 100644 --- a/games/openbor3482/distinfo +++ b/games/openbor3482/distinfo @@ -1,3 +1,5 @@ TIMESTAMP = 1317171905 SHA256 (DCurrent-openbor-3482-2c1ecd7_GH0.tar.gz) = 9e92378bd1f97f9d3c6af05faabe9372cbc36f82d41dfa4e1083f9ff2bcf51d3 SIZE (DCurrent-openbor-3482-2c1ecd7_GH0.tar.gz) = 3024595 +SHA256 (794ba23189a3.patch) = 39c736c0a593e4f8a30552dd66be1a30502d3e1644432818ea1e0b796bd45231 +SIZE (794ba23189a3.patch) = 1276 diff --git a/games/openbor3711/distinfo b/games/openbor3711/distinfo index d5fcbc812db3..13c40fa4cf8b 100644 --- a/games/openbor3711/distinfo +++ b/games/openbor3711/distinfo @@ -1,3 +1,5 @@ TIMESTAMP = 1341365279 SHA256 (DCurrent-openbor-3711-6ec17fa_GH0.tar.gz) = adaebfb09d48c6a3bef6c11fce038cac63070fb47660bf1c63b72ccaeaa20e0c SIZE (DCurrent-openbor-3711-6ec17fa_GH0.tar.gz) = 3029909 +SHA256 (794ba23189a3.patch) = 39c736c0a593e4f8a30552dd66be1a30502d3e1644432818ea1e0b796bd45231 +SIZE (794ba23189a3.patch) = 1276 diff --git a/games/openbor3979/distinfo b/games/openbor3979/distinfo index b1883f9ba7e4..45b4d6c14657 100644 --- a/games/openbor3979/distinfo +++ b/games/openbor3979/distinfo @@ -1,3 +1,5 @@ TIMESTAMP = 1377224669 SHA256 (DCurrent-openbor-3979-2bcf25b_GH0.tar.gz) = 089a07e7a2ac921167687f8b21d637f85f1e6fcd56862f3d63be54e333358cc5 SIZE (DCurrent-openbor-3979-2bcf25b_GH0.tar.gz) = 5683070 +SHA256 (731d96887795.patch) = 355c50f2562f091015b306e4eb34a7c1f9ea8c64d32e9ba36aed2d46aac85548 +SIZE (731d96887795.patch) = 1291 diff --git a/games/openbor4432/distinfo b/games/openbor4432/distinfo index c7c141e71833..32e21a24bcad 100644 --- a/games/openbor4432/distinfo +++ b/games/openbor4432/distinfo @@ -1,3 +1,5 @@ TIMESTAMP = 1485387608 SHA256 (DCurrent-openbor-4432-ba1eb4f_GH0.tar.gz) = 0c26130127d1ec1d98c6c5e68b38a11df3e405ed7e43b7c61762f6ae862538c5 SIZE (DCurrent-openbor-4432-ba1eb4f_GH0.tar.gz) = 6087650 +SHA256 (731d96887795.patch) = 355c50f2562f091015b306e4eb34a7c1f9ea8c64d32e9ba36aed2d46aac85548 +SIZE (731d96887795.patch) = 1291