1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00

devel/love: update 11.3 → 11.4

- This update fixes rendering problems with 11.3
This commit is contained in:
Dmitry Marakasov 2022-03-16 17:06:54 +03:00
parent 1db58f324a
commit 81a9c9cf78
4 changed files with 7 additions and 32 deletions

View File

@ -1,9 +1,7 @@
PORTNAME= love
PORTVERSION= 11.3
PORTREVISION= 1
PORTVERSION= 11.4
CATEGORIES= devel games
MASTER_SITES= https://bitbucket.org/rude/love/downloads/ \
http://mirror.amdmi3.ru/distfiles/
MASTER_SITES= https://github.com/love2d/love/releases/download/${PORTVERSION}/
DISTNAME= ${PORTNAME}-${PORTVERSION}-linux-src
MAINTAINER= amdmi3@FreeBSD.org
@ -40,9 +38,7 @@ OPTIONS_DEFAULT_amd64= LUAJIT
LUAJIT_DESC= Use luajit
LUAJIT_LIB_DEPENDS= libluajit-5.1.so:lang/luajit
LUAJIT_CONFIGURE_ON= --with-lua=luajit
# does not build with newer lua versions:
# love.cpp:217:9: error: no matching function for call to 'lua_resume'
LUAJIT_USES_OFF= lua:51
LUAJIT_USES_OFF= lua:51 # stay compatible, e.g. games/mari0 crashes with 53..54
LUAJIT_CONFIGURE_OFF= --with-lua=lua \
--with-luaversion="-${LUA_VER}"
LUAJIT_CONFIGURE_ENV_OFF=LUA_EXECUTABLE="${LUA_CMD}"

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1572276055
SHA256 (love-11.3-linux-src.tar.gz) = 649f0db7750ca121e4de7b60208703661052356df35f4cfad490b1ba14dd1455
SIZE (love-11.3-linux-src.tar.gz) = 2898851
TIMESTAMP = 1647437233
SHA256 (love-11.4-linux-src.tar.gz) = e32feecaf5f4f210242a4b5f26cdf9ce9014bfde18d51286f643bb7fe51f5369
SIZE (love-11.4-linux-src.tar.gz) = 2925931

View File

@ -1,21 +0,0 @@
https://github.com/KhronosGroup/glslang/commit/24b3e8384e93
In file included from libraries/glslang/glslang/GenericCodeGen/CodeGen.cpp:35:
In file included from libraries/glslang/glslang/GenericCodeGen/../Include/Common.h:108:
libraries/glslang/glslang/GenericCodeGen/../Include/PoolAlloc.h:307:54: error: 'operator=' is a private member of 'glslang::TPoolAllocator'
void setAllocator(TPoolAllocator* a) { allocator = *a; }
~~~~~~~~~ ^ ~~
libraries/glslang/glslang/GenericCodeGen/../Include/PoolAlloc.h:244:21: note: declared private here
TPoolAllocator& operator=(const TPoolAllocator&); // don't allow assignment operator
^
--- src/libraries/glslang/glslang/Include/PoolAlloc.h.orig 2019-10-27 13:44:49 UTC
+++ src/libraries/glslang/glslang/Include/PoolAlloc.h
@@ -304,7 +304,6 @@ class pool_allocator { (public)
size_type max_size() const { return static_cast<size_type>(-1) / sizeof(T); }
size_type max_size(int size) const { return static_cast<size_type>(-1) / size; }
- void setAllocator(TPoolAllocator* a) { allocator = *a; }
TPoolAllocator& getAllocator() const { return allocator; }
protected:

View File

@ -1,5 +1,5 @@
bin/love
lib/liblove-11.3.so
lib/liblove-11.4.so
lib/liblove.so
man/man1/love.1.gz
share/applications/love.desktop