summaryrefslogtreecommitdiff
path: root/hotfix-01_gcc12-support.patch
diff options
context:
space:
mode:
Diffstat (limited to 'hotfix-01_gcc12-support.patch')
-rw-r--r--hotfix-01_gcc12-support.patch17
1 files changed, 0 insertions, 17 deletions
diff --git a/hotfix-01_gcc12-support.patch b/hotfix-01_gcc12-support.patch
deleted file mode 100644
index a20eeb9..0000000
--- a/hotfix-01_gcc12-support.patch
+++ /dev/null
@@ -1,17 +0,0 @@
---- a/src/sdl_font.cpp
-+++ b/src/sdl_font.cpp
-@@ -12,12 +12,12 @@
- {
- const TTF_Font_Ptr fnt( TTF_OpenFontIndex( f.c_str(), size, faceIndex ) );
- if( fnt ) {
-- char *style = TTF_FontFaceStyleName( fnt.get() );
-+ const char *style = TTF_FontFaceStyleName( fnt.get() );
- if( style != nullptr ) {
- int faces = TTF_FontFaces( fnt.get() );
- for( int i = faces - 1; i >= 0; i-- ) {
- const TTF_Font_Ptr tf( TTF_OpenFontIndex( f.c_str(), size, i ) );
-- char *ts = nullptr;
-+ const char *ts = nullptr;
- if( tf ) {
- if( nullptr != ( ts = TTF_FontFaceStyleName( tf.get() ) ) ) {
- if( lcequal( ts, style ) && TTF_FontHeight( tf.get() ) <= size ) {