mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-15 20:33:10 +00:00
Ports: Update opentyrian's patches to use git patches
This commit is contained in:
parent
32c380b7f9
commit
bb40ff80b2
|
@ -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
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||||
new file mode 100644
|
new file mode 100644
|
||||||
index 0000000..dfb9649
|
index 0000000..dfb9649
|
||||||
|
@ -10,7 +22,7 @@ index 0000000..dfb9649
|
||||||
+add_subdirectory(src)
|
+add_subdirectory(src)
|
||||||
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
|
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
|
||||||
new file mode 100644
|
new file mode 100644
|
||||||
index 0000000..b8d71b9
|
index 0000000..19d68c0
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/src/CMakeLists.txt
|
+++ b/src/CMakeLists.txt
|
||||||
@@ -0,0 +1,67 @@
|
@@ -0,0 +1,67 @@
|
||||||
|
@ -81,3 +93,6 @@ index 0000000..b8d71b9
|
||||||
+target_link_libraries(tyrian m ${SDL2_LIBRARIES})
|
+target_link_libraries(tyrian m ${SDL2_LIBRARIES})
|
||||||
+install(TARGETS tyrian
|
+install(TARGETS tyrian
|
||||||
+ RUNTIME DESTINATION bin)
|
+ RUNTIME DESTINATION bin)
|
||||||
|
--
|
||||||
|
2.36.1
|
||||||
|
|
7
Ports/opentyrian/patches/ReadMe.md
Normal file
7
Ports/opentyrian/patches/ReadMe.md
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
# Patches for opentyrian on SerenityOS
|
||||||
|
|
||||||
|
## `0001-Build-with-CMake.patch`
|
||||||
|
|
||||||
|
Build with CMake
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue