summaryrefslogtreecommitdiff
path: root/dev-embedded/pk2cmd/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-11-10 00:43:02 +0000
committerV3n3RiX <venerix@redcorelinux.org>2017-11-10 00:43:02 +0000
commita5332b59346f7cbf0fdbd148b54aa8a84aaf8190 (patch)
treee6d8d3589fcd01fbc3f1286185639163daa81424 /dev-embedded/pk2cmd/files
parentfceeaf01a28ee71065cf3798b70b77d3bc4ef199 (diff)
gentoo resync : 10.11.2017
Diffstat (limited to 'dev-embedded/pk2cmd/files')
-rw-r--r--dev-embedded/pk2cmd/files/pk2cmd-add-share-dir-for-dev-file.patch17
1 files changed, 0 insertions, 17 deletions
diff --git a/dev-embedded/pk2cmd/files/pk2cmd-add-share-dir-for-dev-file.patch b/dev-embedded/pk2cmd/files/pk2cmd-add-share-dir-for-dev-file.patch
deleted file mode 100644
index 448fecfca935..000000000000
--- a/dev-embedded/pk2cmd/files/pk2cmd-add-share-dir-for-dev-file.patch
+++ /dev/null
@@ -1,17 +0,0 @@
---- cmd_app.cpp.bak 2008-07-11 15:49:56.000000000 -0400
-+++ cmd_app.cpp 2008-09-20 23:18:17.000000000 -0400
-@@ -63,7 +63,13 @@
- _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);
-+
- //_tcsncpy_s(tempString, "C:\\PICkit_2\\pk2cmd\\debug\\PK2DeviceFile.dat", 42);
- //printf("DEBUG DEVICE FILE SETTING!!!!\n");
- }