From owner-dev-commits-ports-main@freebsd.org Wed May 19 13:49:23 2021 Return-Path: Delivered-To: dev-commits-ports-main@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 97C62642C75; Wed, 19 May 2021 13:49:23 +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 4FlZ3l2BfDz4p20; Wed, 19 May 2021 13:49:23 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 263B913B6A; Wed, 19 May 2021 13:49:23 +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 14JDnNXg087883; Wed, 19 May 2021 13:49:23 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 14JDnNcd087882; Wed, 19 May 2021 13:49:23 GMT (envelope-from git) Date: Wed, 19 May 2021 13:49:23 GMT Message-Id: <202105191349.14JDnNcd087882@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dmitry Marakasov Subject: git: 194fda4858ba - main - devel/love08: fix build MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: amdmi3 X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 194fda4858ba75fd4d4e4b2866b6f739c2988f40 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-main@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commits to the main branch of the FreeBSD ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 May 2021 13:49:23 -0000 The branch main has been updated by amdmi3: URL: https://cgit.FreeBSD.org/ports/commit/?id=194fda4858ba75fd4d4e4b2866b6f739c2988f40 commit 194fda4858ba75fd4d4e4b2866b6f739c2988f40 Author: Dmitry Marakasov AuthorDate: 2021-05-19 11:20:15 +0000 Commit: Dmitry Marakasov CommitDate: 2021-05-19 13:46:26 +0000 devel/love08: fix build --- devel/love08/Makefile | 2 -- ...atch-src_libraries_Box2D_Collision_Shapes_b2ChainShape.h | 13 +++++++++++++ .../files/patch-src_modules_graphics_opengl_Canvas.cpp | 10 ++++++++++ .../files/patch-src_modules_graphics_opengl_Graphics.cpp | 10 ++++++++++ .../files/patch-src_modules_graphics_opengl_PixelEffect.cpp | 10 ++++++++++ .../patch-src_modules_graphics_opengl_VertexBuffer.cpp | 10 ++++++++++ 6 files changed, 53 insertions(+), 2 deletions(-) diff --git a/devel/love08/Makefile b/devel/love08/Makefile index 704a3af371ef..f3f0594db8dc 100644 --- a/devel/love08/Makefile +++ b/devel/love08/Makefile @@ -10,8 +10,6 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}-linux-src MAINTAINER= amdmi3@FreeBSD.org COMMENT= Open-source 2D game engine -BROKEN= fails to build - LIB_DEPENDS= libIL.so:graphics/devil \ libmodplug.so:audio/libmodplug \ libmpg123.so:audio/mpg123 \ diff --git a/devel/love08/files/patch-src_libraries_Box2D_Collision_Shapes_b2ChainShape.h b/devel/love08/files/patch-src_libraries_Box2D_Collision_Shapes_b2ChainShape.h new file mode 100644 index 000000000000..5b74f207c931 --- /dev/null +++ b/devel/love08/files/patch-src_libraries_Box2D_Collision_Shapes_b2ChainShape.h @@ -0,0 +1,13 @@ +--- src/libraries/Box2D/Collision/Shapes/b2ChainShape.h.orig 2012-04-06 18:15:01 UTC ++++ src/libraries/Box2D/Collision/Shapes/b2ChainShape.h +@@ -95,8 +95,8 @@ inline b2ChainShape::b2ChainShape() + m_radius = b2_polygonRadius; + m_vertices = NULL; + m_count = 0; +- m_hasPrevVertex = NULL; +- m_hasNextVertex = NULL; ++ m_hasPrevVertex = false; ++ m_hasNextVertex = false; + } + + #endif diff --git a/devel/love08/files/patch-src_modules_graphics_opengl_Canvas.cpp b/devel/love08/files/patch-src_modules_graphics_opengl_Canvas.cpp new file mode 100644 index 000000000000..fcca7b15eabd --- /dev/null +++ b/devel/love08/files/patch-src_modules_graphics_opengl_Canvas.cpp @@ -0,0 +1,10 @@ +--- src/modules/graphics/opengl/Canvas.cpp.orig 2012-04-06 18:15:01 UTC ++++ src/modules/graphics/opengl/Canvas.cpp +@@ -18,6 +18,7 @@ + * 3. This notice may not be removed or altered from any source distribution. + **/ + ++#define GL_GLEXT_PROTOTYPES + #include "Canvas.h" + #include "Graphics.h" + #include diff --git a/devel/love08/files/patch-src_modules_graphics_opengl_Graphics.cpp b/devel/love08/files/patch-src_modules_graphics_opengl_Graphics.cpp new file mode 100644 index 000000000000..37747e8eea39 --- /dev/null +++ b/devel/love08/files/patch-src_modules_graphics_opengl_Graphics.cpp @@ -0,0 +1,10 @@ +--- src/modules/graphics/opengl/Graphics.cpp.orig 2012-04-06 18:15:01 UTC ++++ src/modules/graphics/opengl/Graphics.cpp +@@ -18,6 +18,7 @@ + * 3. This notice may not be removed or altered from any source distribution. + **/ + ++#define GL_GLEXT_PROTOTYPES + #include + #include + #include diff --git a/devel/love08/files/patch-src_modules_graphics_opengl_PixelEffect.cpp b/devel/love08/files/patch-src_modules_graphics_opengl_PixelEffect.cpp new file mode 100644 index 000000000000..0142ea8c9d0d --- /dev/null +++ b/devel/love08/files/patch-src_modules_graphics_opengl_PixelEffect.cpp @@ -0,0 +1,10 @@ +--- src/modules/graphics/opengl/PixelEffect.cpp.orig 2012-04-06 18:15:01 UTC ++++ src/modules/graphics/opengl/PixelEffect.cpp +@@ -18,6 +18,7 @@ + * 3. This notice may not be removed or altered from any source distribution. + **/ + ++#define GL_GLEXT_PROTOTYPES + #include "PixelEffect.h" + #include "GLee.h" + diff --git a/devel/love08/files/patch-src_modules_graphics_opengl_VertexBuffer.cpp b/devel/love08/files/patch-src_modules_graphics_opengl_VertexBuffer.cpp new file mode 100644 index 000000000000..4a88fda8a26a --- /dev/null +++ b/devel/love08/files/patch-src_modules_graphics_opengl_VertexBuffer.cpp @@ -0,0 +1,10 @@ +--- src/modules/graphics/opengl/VertexBuffer.cpp.orig 2012-04-06 18:15:01 UTC ++++ src/modules/graphics/opengl/VertexBuffer.cpp +@@ -18,6 +18,7 @@ + * 3. This notice may not be removed or altered from any source distribution. + **/ + ++#define GL_GLEXT_PROTOTYPES + #include "VertexBuffer.h" + + #include "common/Exception.h"