Ports: Update opentyrian's patches to use git patches

This commit is contained in:
Ali Mohammad Pur 2022-05-16 22:57:31 +04:30 committed by Ali Mohammad Pur
parent 32c380b7f9
commit bb40ff80b2
Notes: sideshowbarker 2024-07-17 10:48:00 +09:00
2 changed files with 23 additions and 1 deletions

View file

@ -1,3 +1,15 @@
From 88cb0766b68056eec4c4f7f39fc188f566037bab Mon Sep 17 00:00:00 2001
From: Oleg Kosenkov <okosenkov@gmail.com>
Date: Mon, 31 May 2021 14:01:49 -0400
Subject: [PATCH] Build with CMake
---
CMakeLists.txt | 4 +++
src/CMakeLists.txt | 67 ++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 71 insertions(+)
create mode 100644 CMakeLists.txt
create mode 100644 src/CMakeLists.txt
diff --git a/CMakeLists.txt b/CMakeLists.txt
new file mode 100644
index 0000000..dfb9649
@ -10,7 +22,7 @@ index 0000000..dfb9649
+add_subdirectory(src)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
new file mode 100644
index 0000000..b8d71b9
index 0000000..19d68c0
--- /dev/null
+++ b/src/CMakeLists.txt
@@ -0,0 +1,67 @@
@ -81,3 +93,6 @@ index 0000000..b8d71b9
+target_link_libraries(tyrian m ${SDL2_LIBRARIES})
+install(TARGETS tyrian
+ RUNTIME DESTINATION bin)
--
2.36.1

View file

@ -0,0 +1,7 @@
# Patches for opentyrian on SerenityOS
## `0001-Build-with-CMake.patch`
Build with CMake