From bb40ff80b2bc8957496dce878038194d63097eda Mon Sep 17 00:00:00 2001 From: Ali Mohammad Pur Date: Mon, 16 May 2022 22:57:31 +0430 Subject: [PATCH] Ports: Update opentyrian's patches to use git patches --- ...tyrian.patch => 0001-Build-with-CMake.patch} | 17 ++++++++++++++++- Ports/opentyrian/patches/ReadMe.md | 7 +++++++ 2 files changed, 23 insertions(+), 1 deletion(-) rename Ports/opentyrian/patches/{opentyrian.patch => 0001-Build-with-CMake.patch} (82%) create mode 100644 Ports/opentyrian/patches/ReadMe.md diff --git a/Ports/opentyrian/patches/opentyrian.patch b/Ports/opentyrian/patches/0001-Build-with-CMake.patch similarity index 82% rename from Ports/opentyrian/patches/opentyrian.patch rename to Ports/opentyrian/patches/0001-Build-with-CMake.patch index ff18f878b6..9cf1044d82 100644 --- a/Ports/opentyrian/patches/opentyrian.patch +++ b/Ports/opentyrian/patches/0001-Build-with-CMake.patch @@ -1,3 +1,15 @@ +From 88cb0766b68056eec4c4f7f39fc188f566037bab Mon Sep 17 00:00:00 2001 +From: Oleg Kosenkov +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 + diff --git a/Ports/opentyrian/patches/ReadMe.md b/Ports/opentyrian/patches/ReadMe.md new file mode 100644 index 0000000000..95c956aa96 --- /dev/null +++ b/Ports/opentyrian/patches/ReadMe.md @@ -0,0 +1,7 @@ +# Patches for opentyrian on SerenityOS + +## `0001-Build-with-CMake.patch` + +Build with CMake + +