mirror of
https://github.com/RGBCube/serenity
synced 2025-07-29 16:47:45 +00:00
Ports: Update genemu's patches to use git patches
This required splitting the single patch file up, which was done with _some_ degree of accuracy (but not entirely so).
This commit is contained in:
parent
c92ec097c0
commit
2f58fe00bd
7 changed files with 199 additions and 111 deletions
51
Ports/genemu/patches/0004-Use-SDL2-for-SDL-includes.patch
Normal file
51
Ports/genemu/patches/0004-Use-SDL2-for-SDL-includes.patch
Normal file
|
@ -0,0 +1,51 @@
|
|||
From 426933aab1632c89ecb75918f23baa9f0c279581 Mon Sep 17 00:00:00 2001
|
||||
From: Ali Mohammad Pur <ali.mpfard@gmail.com>
|
||||
Date: Mon, 16 May 2022 15:32:01 +0430
|
||||
Subject: [PATCH 4/5] Use <SDL2> for SDL includes
|
||||
|
||||
---
|
||||
gfx.cpp | 2 +-
|
||||
ioports.cpp | 2 +-
|
||||
state.cpp | 2 +-
|
||||
3 files changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/gfx.cpp b/gfx.cpp
|
||||
index 04daf6e..2848422 100644
|
||||
--- a/gfx.cpp
|
||||
+++ b/gfx.cpp
|
||||
@@ -3,7 +3,7 @@
|
||||
#include <assert.h>
|
||||
#include <memory.h>
|
||||
#include <stdio.h>
|
||||
-#include <SDL.h>
|
||||
+#include <SDL2/SDL.h>
|
||||
extern "C" {
|
||||
#include "hw.h"
|
||||
}
|
||||
diff --git a/ioports.cpp b/ioports.cpp
|
||||
index 9c3f14f..9295163 100644
|
||||
--- a/ioports.cpp
|
||||
+++ b/ioports.cpp
|
||||
@@ -1,5 +1,5 @@
|
||||
#include "mem.h"
|
||||
-#include <SDL.h>
|
||||
+#include <SDL2/SDL.h>
|
||||
extern "C" {
|
||||
#include "hw.h"
|
||||
}
|
||||
diff --git a/state.cpp b/state.cpp
|
||||
index 38bc547..aa70962 100644
|
||||
--- a/state.cpp
|
||||
+++ b/state.cpp
|
||||
@@ -3,7 +3,7 @@
|
||||
#include "vdp.h"
|
||||
#include "cpu.h"
|
||||
#include "hw.h"
|
||||
-#include <SDL.h>
|
||||
+#include <SDL2/SDL.h>
|
||||
|
||||
extern "C" {
|
||||
#include "m68k/m68k.h"
|
||||
--
|
||||
2.36.1
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue