On Sat, Jan 19, 2019 at 10:29:53AM +0100, Jeremie Courreges-Anglas wrote:
[...]
> - the Makefile diff doesn't apply, it seems like it has been produced
> before the latest commit to sdl2-image/Makefile.
My bad, the dir in mystuff was from an outdated checkout.
> - no change in public headers and no exported symbol added/removed, says
> check_sym, so the shared lib bump isn't needed
[...]
> - libsamplerate is an indirect dependency brought in by libSDL2.la. It
> shouldn't be listed in LIB_DEPENDS.
>
> Not sure how useful the remaining LIB_DEPENDS change below is, but you
> won't be able to push it to -stable since 6.4 only has sdl2-2.0.8.
I added that because it released with sdl2-2.0.9 and didn't account for
how that would prevent working with -stable. I can't find anything on a
minimum sdl2 version for sdl2-images-2.0.4, so leaving it as is for now.
New diff taking all of these points into account here below. ok?
Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/sdl2-image/Makefile,v
retrieving revision 1.10
diff -u -p -r1.10 Makefile
--- Makefile 6 Jan 2019 21:26:02 -0000 1.10
+++ Makefile 19 Jan 2019 19:08:05 -0000
@@ -1,13 +1,12 @@
# $OpenBSD: Makefile,v 1.10 2019/01/06 21:26:02 thfr Exp $
-V = 2.0.3
+V = 2.0.4
COMMENT = SDL2 image library
DISTNAME = SDL2_image-${V}
PKGNAME = sdl2-image-${V}
-REVISION = 0
CATEGORIES = devel graphics
-SHARED_LIBS += SDL2_image 0.1 # 0.3
+SHARED_LIBS += SDL2_image 0.1 # 0.4
HOMEPAGE = https://www.libsdl.org/projects/SDL_image/
@@ -18,7 +17,7 @@ PERMIT_PACKAGE_CDROM = Yes
MASTER_SITES = https://www.libsdl.org/projects/SDL_image/release/
-WANTLIB += SDL2 jpeg m png pthread sndio tiff usbhid webp z samplerate
+WANTLIB += SDL2 jpeg m png16 pthread sndio tiff usbhid webp z samplerate
LIB_DEPENDS = devel/sdl2>=2.0.8 \
graphics/jpeg \
Index: distinfo
===================================================================
RCS file: /cvs/ports/devel/sdl2-image/distinfo,v
retrieving revision 1.3
diff -u -p -r1.3 distinfo
--- distinfo 11 Mar 2018 22:42:00 -0000 1.3
+++ distinfo 19 Jan 2019 19:08:05 -0000
@@ -1,2 +1,2 @@
-SHA256 (SDL2_image-2.0.3.tar.gz) = NRDCXac1/82M47ZQcxUP9Pf5STuGboW4NzgIO1VtI2g=
-SIZE (SDL2_image-2.0.3.tar.gz) = 8685512
+SHA256 (SDL2_image-2.0.4.tar.gz) = 507EnCQC6yQvv6FvL0OhlYKnTC6r+/uHPwDUJQA4zqw=
+SIZE (SDL2_image-2.0.4.tar.gz) = 11682695
Index: patches/patch-Makefile_in
===================================================================
RCS file: /cvs/ports/devel/sdl2-image/patches/patch-Makefile_in,v
retrieving revision 1.2
diff -u -p -r1.2 patch-Makefile_in
--- patches/patch-Makefile_in 11 Mar 2018 22:42:00 -0000 1.2
+++ patches/patch-Makefile_in 19 Jan 2019 19:08:05 -0000
@@ -2,7 +2,7 @@ $OpenBSD: patch-Makefile_in,v 1.2 2018/0
Index: Makefile.in
--- Makefile.in.orig
+++ Makefile.in
-@@ -442,12 +442,10 @@ EXTRA_DIST = \
+@@ -463,12 +463,10 @@ EXTRA_DIST = \
@USE_VERSION_RC_FALSE@libSDL2_image_la_LDFLAGS = \
@USE_VERSION_RC_FALSE@ -no-undefined \