Download raw body.
devel/sdl2-image: fix sdl2_image-config.cmake
On Mon, May 20, 2024 at 11:38:12PM +0300, Viacheslav Chimishuk wrote:
> On 20.05.2024 09:20, Thomas Frohwein <tfrohwein@fastmail.com> wrote:
> > Did this work for you? I built it with your patch, but the file
> > /usr/local/lib/cmake/SDL2_image/sdl2_image-config.cmake appears to be
> > unchanged and still doesn't contain the library version. Don't have
> > time right now to look more closely myself...
>
> Yes, it works just fine for me. Maybe package from the cache has been installed
> instead of built version or something?
>
> $ cat /usr/local/lib/cmake/SDL2_image/sdl2_image-config.cmake | grep 1.1
> IMPORTED_LOCATION "${_sdl2image_libdir}/${CMAKE_SHARED_LIBRARY_PREFIX}SDL2_image${CMAKE_SHARED_LIBRARY_SUFFIX}.1.1"
> $
I found the cause. This section:
+Index: sdl2_image-config.cmake.in
+--- sdl2_image-config.cmake.in.orig
++++ sdl2_image-config.cmake.in
created the patch in the main directory of the port and not in patches/
and I didn't look closely so the patch was never applied. Fixed it and
committed it, thanks!
Patches with cvs and git usually preserve the relative directory...
>
> --
> Best regards, Viacheslav Chimishuk
> vchimishuk@yandex.ru
> Ukraine, Khmelnitsky
devel/sdl2-image: fix sdl2_image-config.cmake