aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeel Chauhan <nc@FreeBSD.org>2022-05-07 04:00:35 +0000
committerNeel Chauhan <nc@FreeBSD.org>2022-05-07 04:00:35 +0000
commit457d3d98e269fb634e2696de67df8bef1070a4b9 (patch)
tree277c5d61aea3d8307a3700bdedf8883446d9f4da
parent2057a73264fdbb7b437fb2821b1c7dd47eb5c63d (diff)
downloadports-457d3d98e269fb634e2696de67df8bef1070a4b9.tar.gz
ports-457d3d98e269fb634e2696de67df8bef1070a4b9.zip
emulators/dosbox-x: Update to 0.83.25
-rw-r--r--emulators/dosbox-x/Makefile2
-rw-r--r--emulators/dosbox-x/distinfo6
-rw-r--r--emulators/dosbox-x/files/patch-src_gui_sdl__gui.cpp18
-rw-r--r--emulators/dosbox-x/pkg-plist1
4 files changed, 17 insertions, 10 deletions
diff --git a/emulators/dosbox-x/Makefile b/emulators/dosbox-x/Makefile
index 4ee0f0ac3531..318c5b83d5bd 100644
--- a/emulators/dosbox-x/Makefile
+++ b/emulators/dosbox-x/Makefile
@@ -1,6 +1,6 @@
PORTNAME= dosbox-x
DISTVERSIONPREFIX= ${PORTNAME}-v
-DISTVERSION= 0.83.24
+DISTVERSION= 0.83.25
CATEGORIES= emulators
MAINTAINER= nc@FreeBSD.org
diff --git a/emulators/dosbox-x/distinfo b/emulators/dosbox-x/distinfo
index ecbf74730c2a..cb55f35a28a6 100644
--- a/emulators/dosbox-x/distinfo
+++ b/emulators/dosbox-x/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1650563722
-SHA256 (joncampbell123-dosbox-x-dosbox-x-v0.83.24_GH0.tar.gz) = f4746f1524cac58756123c7acbbc565e215d7f298a19667fd845dbba040c6021
-SIZE (joncampbell123-dosbox-x-dosbox-x-v0.83.24_GH0.tar.gz) = 64650623
+TIMESTAMP = 1651895554
+SHA256 (joncampbell123-dosbox-x-dosbox-x-v0.83.25_GH0.tar.gz) = f9691acf81f953371a166b1ccc9c8b3e58b984216f0145edf2d6f5a05e794ede
+SIZE (joncampbell123-dosbox-x-dosbox-x-v0.83.25_GH0.tar.gz) = 64715876
diff --git a/emulators/dosbox-x/files/patch-src_gui_sdl__gui.cpp b/emulators/dosbox-x/files/patch-src_gui_sdl__gui.cpp
index e677a977b1a3..75caa4925894 100644
--- a/emulators/dosbox-x/files/patch-src_gui_sdl__gui.cpp
+++ b/emulators/dosbox-x/files/patch-src_gui_sdl__gui.cpp
@@ -1,6 +1,6 @@
---- src/gui/sdl_gui.cpp.orig 2022-04-21 18:01:44 UTC
+--- src/gui/sdl_gui.cpp.orig 2022-05-01 06:25:42 UTC
+++ src/gui/sdl_gui.cpp
-@@ -3022,7 +3022,7 @@ class ConfigurationWindow : public GUI::ToplevelWindow
+@@ -3059,7 +3059,7 @@ class ConfigurationWindow : public GUI::ToplevelWindow
std::string url = "https://dosbox-x.com/";
#if defined(WIN32)
ShellExecute(NULL, "open", url.c_str(), NULL, NULL, SW_SHOWNORMAL);
@@ -9,19 +9,25 @@
system(("xdg-open "+url).c_str());
#elif defined(MACOSX)
system(("open "+url).c_str());
-@@ -3436,7 +3436,7 @@ void GUI_Shortcut(int select) {
+@@ -3475,7 +3475,11 @@ void GUI_Shortcut(int select) {
PIC_AddEvent(RunCfgTool, 100);
} else
#endif
-- RunCfgTool(NULL);
++#ifdef __FreeBSD__
+ RunCfgTool(0);
++#else
+ RunCfgTool(NULL);
++#endif
}
void GUI_Run(bool pressed) {
-@@ -3458,5 +3458,5 @@ void GUI_Run(bool pressed) {
+@@ -3490,5 +3494,9 @@ void GUI_Run(bool pressed) {
PIC_AddEvent(RunCfgTool, 100);
} else
#endif
-- RunCfgTool(NULL);
++#ifdef __FreeBSD__
+ RunCfgTool(0);
++#else
+ RunCfgTool(NULL);
++#endif
}
diff --git a/emulators/dosbox-x/pkg-plist b/emulators/dosbox-x/pkg-plist
index 0f5fe5d22ffb..2573a48e524a 100644
--- a/emulators/dosbox-x/pkg-plist
+++ b/emulators/dosbox-x/pkg-plist
@@ -49,6 +49,7 @@ share/bash-completion/completions/dosbox-x
%%DATADIR%%/translations/es_ES.lng
%%DATADIR%%/translations/fr_FR.lng
%%DATADIR%%/translations/ja_JP.lng
+%%DATADIR%%/translations/ko_KR.lng
%%DATADIR%%/translations/pt_BR.lng
%%DATADIR%%/translations/tr_TR.lng
%%DATADIR%%/translations/zh_CN.lng