summaryrefslogtreecommitdiff
path: root/dev-embedded/pk2cmd/files/pk2cmd-add-share-dir-for-dev-file-1.20.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-embedded/pk2cmd/files/pk2cmd-add-share-dir-for-dev-file-1.20.patch')
-rw-r--r--dev-embedded/pk2cmd/files/pk2cmd-add-share-dir-for-dev-file-1.20.patch16
1 files changed, 0 insertions, 16 deletions
diff --git a/dev-embedded/pk2cmd/files/pk2cmd-add-share-dir-for-dev-file-1.20.patch b/dev-embedded/pk2cmd/files/pk2cmd-add-share-dir-for-dev-file-1.20.patch
deleted file mode 100644
index 30d6b1e71a3e..000000000000
--- a/dev-embedded/pk2cmd/files/pk2cmd-add-share-dir-for-dev-file-1.20.patch
+++ /dev/null
@@ -1,16 +0,0 @@
---- cmd_app.cpp.old 2009-01-31 21:23:30.000000000 +0100
-+++ cmd_app.cpp 2009-01-31 21:25:48.000000000 +0100
-@@ -88,7 +88,12 @@
- _tsearchenv_s("PK2DeviceFile.dat", "PATH", tempString);
- if (_tcslen(tempString) < 17)
- {
-- _tcsncpy_s(tempString, "PK2DeviceFile.dat", 17);
-+ // Try /usr/share/pk2 first
-+ _tcsncpy_s(tempString, "/usr/share/pk2/PK2DeviceFile.dat", 32);
-+
-+ if(access(tempString, 0))
-+ // Well, that didn't work, default to the current directory
-+ _tcsncpy_s(tempString, "PK2DeviceFile.dat", 17);
- }
- }
- if (!PicFuncs.ReadDeviceFile(tempString))