Problem with libsdl2-32

Dark_Bakura dark_bakura at protonmail.com
Sun Nov 3 07:33:29 UTC 2019


Hi,

Yesterday sent to compat-32 at crux.nu a patch which fix the build, I attach it to you if you want to try it.


Sent with ProtonMail Secure Email.

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Sunday, November 3, 2019 12:49 AM, Wawrzek Niewodniczanski <main at wawrzek.name> wrote:

> Hi,
> I try to build libsdl2-32 and hit following problem (libsdl2 is fine).
>
> Wawrzek
>
> CC build/SDL_video.lo
> In file included from include/SDL_opengles.h:33,
> from
> /home/build/libsdl2-32/src/SDL2-2.0.10/src/video/SDL_video.c:41:
> /usr/include/GLES/gl.h:63:25: error: conflicting types for 'GLsizeiptr'
> typedef khronos_ssize_t GLsizeiptr;
> ^~~~~~~~~~
> In file included from include/SDL_opengl.h:2105,
> from
> /home/build/libsdl2-32/src/SDL2-2.0.10/src/video/SDL_video.c:37:
> include/SDL_opengl_glext.h:472:19: note: previous declaration of
> 'GLsizeiptr' was here
> typedef ptrdiff_t GLsizeiptr;
> ^~~~~~~~~~
> In file included from include/SDL_opengles.h:33,
> from
> /home/build/libsdl2-32/src/SDL2-2.0.10/src/video/SDL_video.c:41:
> /usr/include/GLES/gl.h:64:26: error: conflicting types for 'GLintptr'
> typedef khronos_intptr_t GLintptr;
> ^~~~~~~~
> In file included from include/SDL_opengl.h:2105,
> from
> /home/build/libsdl2-32/src/SDL2-2.0.10/src/video/SDL_video.c:37:
> include/SDL_opengl_glext.h:473:19: note: previous declaration of
> 'GLintptr' was here
> typedef ptrdiff_t GLintptr;
> ^~~~~~~~
> make: *** [Makefile:551: build/SDL_video.lo] Error 1
> =======> ERROR: Building
>
> '/usr/ports/compat-32/libsdl2-32/libsdl2-32#2.0.10-1.pkg.tar.gz'
> failed.
> prt-get: error while install
>
>
> -------------------------------------------------------------------------------------------------------
>
> Dr Wawrzyniec Niewodniczański or Wawrzek for short
> PhD in Quantum Chemistry & MSc in Molecular Engineering
> WWW: http://wawrzek.name E-MAIL: jobs at wawrzek.name
> Linux User #177124
>
> CRUX mailing list
> CRUX at lists.crux.nu
> https://lists.crux.nu/mailman/listinfo/crux


-------------- next part --------------
A non-text attachment was scrubbed...
Name: SDL2-2.0.10-opengl_include_fix-1.patch
Type: application/octet-stream
Size: 1370 bytes
Desc: not available
URL: <https://lists.crux.nu/pipermail/crux/attachments/20191103/ba4763f1/attachment.obj>


More information about the CRUX mailing list