Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

freedink:bump to 109.6 #2533

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions games/freedink-data/DETAILS
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
MODULE=freedink-data
# Also check for freedink version. They are not always the same.
VERSION=1.08.20170409
VERSION=1.08.20190120
SOURCE=${MODULE}-${VERSION}.tar.gz
SOURCE_URL=https://ftp.gnu.org/gnu/freedink/
SOURCE_VFY=sha256:e1f1e23c7846bc74479610a65cc0169906e844c5193f0d83ba69accc54a3bdf5
SOURCE_VFY=sha256:715f44773b05b73a9ec9b62b0e152f3f281be1a1512fbaaa386176da94cffb9d
WEB_SITE=https://www.gnu.org/software/freedink/index.html
ENTERED=20130822
UPDATED=20181225
UPDATED=20230802
SHORT="A version of the Dink Smallwood game engine data"
ARCHIVE=off
cat <<EOF
Expand Down
2 changes: 2 additions & 0 deletions games/freedink/BUILD
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
OPTS+=" --disable-tests"

default_game_build
8 changes: 4 additions & 4 deletions games/freedink/DETAILS
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
MODULE=freedink
# Also check for freedink-data version. They are not always the same.
VERSION=108.4
VERSION=109.6
SOURCE=${MODULE}-${VERSION}.tar.gz
SOURCE_URL=http://ftp.gnu.org/gnu/freedink/
SOURCE_VFY=sha256:82cfb2e019e78b6849395dc4750662b67087d14f406d004f6d9e39e96a0c8521
SOURCE_URL=$GNU_URL/freedink/
SOURCE_VFY=sha256:5e0b35ac8f46d7bb87e656efd5f9c7c2ac1a6c519a908fc5b581e52657981002
WEB_SITE=http://www.gnu.org/software/freedink/index.html
ENTERED=20130822
UPDATED=20181225
UPDATED=20230802
SHORT="A version of the Dink Smallwood game engine"

cat <<EOF
Expand Down
3 changes: 3 additions & 0 deletions games/freedink/PRE_BUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
default_pre_build &&

sedit 's@SDL_SetHint(SDL_HINT_ANDROID_SEPARATE_MOUSE_AND_TOUCH@//&@' src/input.cpp
20 changes: 20 additions & 0 deletions games/freedink/patch.d/001-const_gfx_fonts.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
src/gfx_fonts.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/gfx_fonts.cpp b/src/gfx_fonts.cpp
index b00816e..2cedd8a 100644
--- a/src/gfx_fonts.cpp
+++ b/src/gfx_fonts.cpp
@@ -293,10 +293,10 @@ void set_font_color(int no, int r, int g, int b)
*/
void setup_font(TTF_Font *font)
{
- char *familyname = TTF_FontFaceFamilyName(font);
+ const char *familyname = TTF_FontFaceFamilyName(font);
if(familyname)
log_info("The family name of the face in the font is: %s", familyname);
- char *stylename = TTF_FontFaceStyleName(font);
+ const char *stylename = TTF_FontFaceStyleName(font);
if(stylename)
log_info("The name of the face in the font is: %s", stylename);
log_info("The font max height is: %d", TTF_FontHeight(font));