Skip to contentSkip to conversation

SDL fixed the DirectFB renderer not being enabled in autoconf builds fixes "SDL2+DirectFB does not work as built for Beaglebone Black" Fetched From: <https://hg.libsdl.org/SDL/raw-rev/751cdc74d55c>

PATCH New Peter Thompson 2 participants 3 messages Aug 31, 2018 – Sep 27, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 SDL fixed the DirectFB renderer not being enabled in autoconf builds fixes "SDL2+DirectFB does not work as built for Beaglebone Black" Fetched From: <https://hg.libsdl.org/SDL/raw-rev/751cdc74d55c>

---
 package/sdl2/0001-sdl2directfb.patch | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)
 create mode 100644 package/sdl2/0001-sdl2directfb.patch
package/sdl2/0001-sdl2directfb.patch new file +32 -0
new file mode 100644
index 0000000..9758958
@@ -0,0 +1,32 @@
+
+# HG changeset patch
+# User Sam Lantinga <[email protected]>
+# Date 1535395865 25200
+# Node ID 751cdc74d55c91f0d010d13c18315c192d7fc881
+# Parent  2a9b4339468b9d722a58587c9a72ca8bc9f3c563
+Fixed the DirectFB renderer not being enabled in autoconf builds
+
+diff -r 2a9b4339468b -r 751cdc74d55c configure
+--- a/configure	Sun Aug 26 20:37:23 2018 -0700
++++ b/configure	Mon Aug 27 11:51:05 2018 -0700
+@@ -21501,6 +21501,9 @@
+ 
+ $as_echo "#define SDL_VIDEO_DRIVER_DIRECTFB 1" >>confdefs.h
+ 
++
++$as_echo "#define SDL_VIDEO_RENDER_DIRECTFB 1" >>confdefs.h
++
+             SOURCES="$SOURCES $srcdir/src/video/directfb/*.c"
+             EXTRA_CFLAGS="$EXTRA_CFLAGS $DIRECTFB_CFLAGS"
+ 
+diff -r 2a9b4339468b -r 751cdc74d55c configure.in
+--- a/configure.in	Sun Aug 26 20:37:23 2018 -0700
++++ b/configure.in	Mon Aug 27 11:51:05 2018 -0700
+@@ -2163,6 +2163,7 @@
+                               , enable_directfb_shared=yes)
+ 
+             AC_DEFINE(SDL_VIDEO_DRIVER_DIRECTFB, 1, [ ])
++            AC_DEFINE(SDL_VIDEO_RENDER_DIRECTFB, 1, [ ])
+             SOURCES="$SOURCES $srcdir/src/video/directfb/*.c"
+             EXTRA_CFLAGS="$EXTRA_CFLAGS $DIRECTFB_CFLAGS"
+ 
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 SDL fixed the DirectFB renderer not being enabled in autoconf builds fixes "SDL2+DirectFB does not work as built for Beaglebone Black" Fetched From: <https://hg.libsdl.org/SDL/raw-rev/751cdc74d55c>

Quoted 3 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Peter" == Peter Thompson <[email protected]> writes:

Committed after rewording/extending the commit message and using a git formatted patch (from the git mirror at
https://github.com/spurious/SDL-mirror), thanks.

Signature · 1 line
Bye, Peter Korsgaard
#2 lore raw

PATCH 1/1 SDL fixed the DirectFB renderer not being enabled in autoconf builds fixes "SDL2+DirectFB does not work as built for Beaglebone Black" Fetched From: <https://hg.libsdl.org/SDL/raw-rev/751cdc74d55c>

In reply to Peter Thompson
Quoted 3 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Peter" == Peter Thompson <[email protected]> writes:

Committed to 2018.02.x and 2018.05.x, thanks.

Signature · 1 line
Bye, Peter Korsgaard