summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Palenzuela <manuelpalenzuelamerino@gmail.com>2021-04-04 01:44:16 +0200
committerAndreas Kling <kling@serenityos.org>2021-04-04 16:14:23 +0200
commit136588e2400552309898bcbd10aeb73b12586756 (patch)
tree455db101650adf008ec707fe06205c3907b8f4f0
parent13315a6ef1a3a33667e0271106d06b1f753d80f4 (diff)
downloadserenity-136588e2400552309898bcbd10aeb73b12586756.zip
Ports: Removed now unnecesary patch for the Prince of Persia port
As now strtoimax() is implemented we have no need to replace it to strtol().
-rw-r--r--Ports/SDLPoP/patches/remove_strtoimax.patch13
1 files changed, 0 insertions, 13 deletions
diff --git a/Ports/SDLPoP/patches/remove_strtoimax.patch b/Ports/SDLPoP/patches/remove_strtoimax.patch
deleted file mode 100644
index 86ed22871b..0000000000
--- a/Ports/SDLPoP/patches/remove_strtoimax.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/src/options.c b/src/options.c
-index 1bfe473..ba13dab 100644
---- a/src/options.c
-+++ b/src/options.c
-@@ -130,7 +130,7 @@ static int ini_process_##data_type(const char* curr_name, const char* value, con
- if(strcasecmp(curr_name, option_name) == 0) { \
- if (strcasecmp(value, "default") != 0) { \
- int named_value = ini_get_named_value(value, value_names); \
-- *target = (named_value == INI_NO_VALID_NAME) ? ((data_type) strtoimax(value, NULL, 0)) : ((data_type) named_value); \
-+ *target = (named_value == INI_NO_VALID_NAME) ? ((data_type) strtol(value, NULL, 0)) : ((data_type) named_value); \
- } \
- return 1; /* finished; don't look for more possible options that curr_name can be */ \
- } \