Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 752310 Details for
Bug 741490
media-libs/libsdl2-2.0.12-r2 build error with VIDEO_CARDS="vc4"
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
User patch for libsdl2-2.0.16-r1
libsdl2-2.0.16-video_cards_vc4-user.patch (text/plain), 1.61 KB, created by
Tee KOBAYASHI
on 2021-11-18 07:37:52 UTC
(
hide
)
Description:
User patch for libsdl2-2.0.16-r1
Filename:
MIME Type:
Creator:
Tee KOBAYASHI
Created:
2021-11-18 07:37:52 UTC
Size:
1.61 KB
patch
obsolete
> >Extracted from https://bugs.gentoo.org/attachment.cgi?id=732343 (in https://bugs.gentoo.org/741490) to apply as a user patch for media-libs/libsdl2-2.0.16-r1, along with media-libs/libsdl2/files/libsdl2-2.0.16-static-libs.patch. > >Make sure that "video_cards_vc4" USE flag is set (VIDEO_CARDS="vc4") and that media-libs/raspberrypi-userland is already merged. > >--- a/configure.ac >+++ b/configure.ac >@@ -1680,7 +1680,7 @@ > RPI_LIBS="-Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lbcm_host" > else > RPI_CFLAGS="-I/opt/vc/include -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux" >- RPI_LIBS="-Wl,-rpath,/opt/vc/lib -L/opt/vc/lib -lbcm_host" >+ RPI_LIBS="-Wl,-rpath,/opt/vc/lib -L/opt/vc/lib -lbcm_host -lvchostif" > fi > fi > >--- a/src/video/SDL_egl.c >+++ b/src/video/SDL_egl.c >@@ -45,6 +45,10 @@ > > #if SDL_VIDEO_DRIVER_RPI > /* Raspbian places the OpenGL ES/EGL binaries in a non standard path */ >+#include "raspberry/SDL_rpievents_c.h" >+#include "raspberry/SDL_rpiopengles.h" >+#include "raspberry/SDL_rpimouse.h" >+#include "raspberry/SDL_rpivideo.h" > #define DEFAULT_EGL ( vc4 ? "libEGL.so.1" : "libbrcmEGL.so" ) > #define DEFAULT_OGL_ES2 ( vc4 ? "libGLESv2.so.2" : "libbrcmGLESv2.so" ) > #define ALT_EGL "libEGL.so" > >--- a/src/video/raspberry/SDL_rpivideo.h >+++ b/src/video/raspberry/SDL_rpivideo.h >@@ -41,6 +41,12 @@ > DISPMANX_DISPLAY_HANDLE_T dispman_display; > } SDL_DisplayData; > >+ >+typedef struct { >+ DISPMANX_ELEMENT_HANDLE_T element; >+ int width; >+ int height; >+ } EGL_DISPMANX_WINDOW_T; > > typedef struct SDL_WindowData > {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 741490
:
659366
|
659560
|
670840
|
730813
|
732340
|
732343
| 752310