about summary refs log tree commit diff
path: root/nixpkgs/pkgs/games/trigger/search.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/games/trigger/search.patch')
-rw-r--r--nixpkgs/pkgs/games/trigger/search.patch14
1 files changed, 0 insertions, 14 deletions
diff --git a/nixpkgs/pkgs/games/trigger/search.patch b/nixpkgs/pkgs/games/trigger/search.patch
deleted file mode 100644
index 60a69b159b5b..000000000000
--- a/nixpkgs/pkgs/games/trigger/search.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-diff --git a/src/Trigger/main.cpp b/src/Trigger/main.cpp
-index 39539e1..680c12c 100644
---- a/src/Trigger/main.cpp
-+++ b/src/Trigger/main.cpp
-@@ -890,7 +890,8 @@ bool MainApp::loadAll()
-                 std::smatch mr; // Match Results
-                 std::regex pat(R"(^(\w+)(\..+)$)"); // Pattern
- 
--                if (!std::regex_search(std::string(*fname), mr, pat))
-+                std::string search(*fname);
-+                if (!std::regex_search(search, mr, pat))
-                     continue;
- 
-                 std::string basefname = mr[1];