diff --git a/games/exult-devel/Makefile b/games/exult-devel/Makefile index 1a908375dc9d..92ff65fd1b4b 100644 --- a/games/exult-devel/Makefile +++ b/games/exult-devel/Makefile @@ -1,15 +1,16 @@ DISTVERSIONPREFIX= snapshot-v -DISTVERSION= 1.9.0.20240325 +DISTVERSION= 1.9.0.20240531 PORTREVISION= 0 # Always set PORTREVISION explicitly as otherwise it is inherited from games/exult PKGNAMESUFFIX= -devel CONFLICTS_INSTALL= exult BUILD_DEPENDS= autoconf-archive>=0:devel/autoconf-archive STUDIO_LIB_DEPENDS= libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libicuuc.so:devel/icu MASTERDIR= ${.CURDIR}/../exult +PATCHDIR= ${.CURDIR}/files DISTINFO_FILE= ${.CURDIR}/distinfo .include "${MASTERDIR}/Makefile" diff --git a/games/exult-devel/distinfo b/games/exult-devel/distinfo index fb8b8d9c95d8..aca1ed06e02f 100644 --- a/games/exult-devel/distinfo +++ b/games/exult-devel/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1711374672 -SHA256 (exult-exult-snapshot-v1.9.0.20240325_GH0.tar.gz) = 19e4d7658c23a3a89d53f625c12afb7a2f47aac94484fbe8a0325eec0b4938d8 -SIZE (exult-exult-snapshot-v1.9.0.20240325_GH0.tar.gz) = 19374526 +TIMESTAMP = 1717230197 +SHA256 (exult-exult-snapshot-v1.9.0.20240531_GH0.tar.gz) = 01a263fe14a222576bcc9af7c2b9bb4c1c679af5443bff1af9f898350b4e95d3 +SIZE (exult-exult-snapshot-v1.9.0.20240531_GH0.tar.gz) = 19385217 diff --git a/games/exult-devel/files/patch-mapedit_Makefile.am b/games/exult-devel/files/patch-mapedit_Makefile.am new file mode 100644 index 000000000000..a05690e7520e --- /dev/null +++ b/games/exult-devel/files/patch-mapedit_Makefile.am @@ -0,0 +1,13 @@ +--- mapedit/Makefile.am.orig 2024-05-30 10:27:11 UTC ++++ mapedit/Makefile.am +@@ -103,8 +103,8 @@ install-exec-local: + + if GIMP_PLUGIN + install-exec-local: +- install -d $(DESTDIR)$(GIMP_PLUGIN_PREFIX) +- install -c $(GIMP_PLUGINS) $(DESTDIR)$(GIMP_PLUGIN_PREFIX) ++ $(MKDIR_P) $(DESTDIR)$(GIMP_PLUGIN_PREFIX) ++ $(INSTALL_PROGRAM) $(GIMP_PLUGINS) $(DESTDIR)$(GIMP_PLUGIN_PREFIX) + else + install-exec-local: + endif diff --git a/games/exult-devel/files/patch-tools_Makefile.am b/games/exult-devel/files/patch-tools_Makefile.am new file mode 100644 index 000000000000..5c4f64ac46d2 --- /dev/null +++ b/games/exult-devel/files/patch-tools_Makefile.am @@ -0,0 +1,29 @@ +--- tools/Makefile.am.orig 2024-05-30 10:27:11 UTC ++++ tools/Makefile.am +@@ -68,11 +68,11 @@ if BUILD_GTHUMB + ## Does not work: + #thumbnailerdir=$(datadir)/thumbnailers + ## Needs to be in /usr/share/thumbnailers +-thumbnailerdir=/usr/share/thumbnailers ++thumbnailerdir=$(datadir)/thumbnailers + thumbnailer_in_files=$(top_srcdir)/tools/gnome_u7shapes.thumbnailer.in + thumbnailer_DATA=$(thumbnailer_in_files:.thumbnailer.in=.thumbnailer) + gnome_shp_thumbnailer_DATA=x-shapefile.xml +-gnome_shp_thumbnailerdir=$(DESTDIR)$(datadir)/mime/packages ++gnome_shp_thumbnailerdir=$(datadir)/mime/packages + + # Rule to make the service file with bindir expanded + $(thumbnailer_DATA): $(thumbnailer_in_files) +@@ -117,10 +117,10 @@ install-data-hook: + + if BUILD_GTHUMB + install-data-hook: +- update-mime-database $(DESTDIR)$(datadir)/mime || : ++ : + + uninstall-hook: +- update-mime-database $(DESTDIR)$(datadir)/mime || : ++ : + else + install-data-hook: + uninstall-hook: diff --git a/games/exult-devel/files/pkg-message.in b/games/exult-devel/files/pkg-message.in new file mode 100644 index 000000000000..6a5d128a9a77 --- /dev/null +++ b/games/exult-devel/files/pkg-message.in @@ -0,0 +1,7 @@ +[ +{ type: install + message: < # Silence cast warnings from GTK callbacks in clang >=16 # https://github.com/exult/exult/issues/416 .if !defined(PKGNAMESUFFIX) && ( ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))) CFLAGS+= -Wno-cast-function-type-strict .endif .include diff --git a/games/exult/files/extra-patch-configure.ac b/games/exult/files/patch-configure.ac similarity index 100% rename from games/exult/files/extra-patch-configure.ac rename to games/exult/files/patch-configure.ac diff --git a/games/exult/files/extra-patch-version.cc b/games/exult/files/patch-version.cc similarity index 100% rename from games/exult/files/extra-patch-version.cc rename to games/exult/files/patch-version.cc