libretro.melondsds: remove patch that don't seem to be necessary anymore

This commit is contained in:
Igor Melo
2026-06-10 00:47:22 -03:00
parent 27e1808a0f
commit 82dd7b41b6
2 changed files with 0 additions and 18 deletions
@@ -66,7 +66,6 @@ mkLibretroCore rec {
hash = "sha256-EeXYibPV9BPazC/i5UqXEd4BKlIZbNbPNgpsoo4ws7k=";
};
patches = [ ./patches/melondsds-noslirpcopy.patch ];
postPatch = ''
substituteInPlace CMakeLists.txt \
--replace-fail "find_package(Git REQUIRED)" ""
@@ -1,17 +0,0 @@
diff --git a/cmake/libslirp.cmake b/cmake/libslirp.cmake
index 1cb6758..bef1793 100644
--- a/cmake/libslirp.cmake
+++ b/cmake/libslirp.cmake
@@ -2,12 +2,6 @@ add_library(slirp STATIC
src/glib-stub/glib.c
)
-# Copy libslirp's files to another directory so that we can include it as <slirp/libslirp.h>
-file(MAKE_DIRECTORY "${libslirp_BINARY_DIR}/include")
-file(REMOVE_RECURSE "${libslirp_BINARY_DIR}/include/slirp")
-file(COPY "${libslirp_SOURCE_DIR}/src" DESTINATION "${libslirp_BINARY_DIR}/include")
-file(RENAME "${libslirp_BINARY_DIR}/include/src" "${libslirp_BINARY_DIR}/include/slirp")
-
target_include_directories(slirp PUBLIC
"${libslirp_BINARY_DIR}/include"
"${libslirp_SOURCE_DIR}/src"