summaryrefslogtreecommitdiff
path: root/databases/palm-db-tools/files/patch-libflatfile_JFile3.cpp
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2019-09-24 21:50:23 +0000
committerRene Ladan <rene@FreeBSD.org>2019-09-24 21:50:23 +0000
commit2ace90775d46248667825688e74a3455bc19eb9a (patch)
tree15d1ef37a7ee90dd83580e5b9f5f687ef0c4608c /databases/palm-db-tools/files/patch-libflatfile_JFile3.cpp
parenttextproc/p5-EBook-Tools: schedule for removal on 2019-11-01 due to expired pa... (diff)
Remove expired ports:
2019-09-20 palm/pilot-link: obsolete technology 2019-09-20 graphics/pixmap: No longer maintained 2019-09-20 japanese/jpilot: obsolete technology 2019-09-20 palm/p5-Palm-PalmDoc: obsolete technology 2019-09-20 palm/pilot_makedoc: obsolete technology 2019-09-20 palm/jpilot: obsolete technology 2019-09-21 sysutils/bibelot: obsolete technology 2019-09-21 databases/mdbconv: obsolete technology 2019-09-21 sysutils/makeztxt: obsolete technology 2019-09-21 databases/palm-db-tools: obsolete technology 2019-09-21 comms/jpilot-picsnvideos: obsolete technology 2019-09-23 devel/libee: No longer required by rsyslog, which was its only consumer. No longer maintained upstream 2019-09-21 devel/libmal: obsolete technology
Diffstat (limited to '')
-rw-r--r--databases/palm-db-tools/files/patch-libflatfile_JFile3.cpp47
1 files changed, 0 insertions, 47 deletions
diff --git a/databases/palm-db-tools/files/patch-libflatfile_JFile3.cpp b/databases/palm-db-tools/files/patch-libflatfile_JFile3.cpp
deleted file mode 100644
index 1a0cdbdcb540..000000000000
--- a/databases/palm-db-tools/files/patch-libflatfile_JFile3.cpp
+++ /dev/null
@@ -1,47 +0,0 @@
---- libflatfile/JFile3.cpp.orig 2003-06-19 23:37:46 UTC
-+++ libflatfile/JFile3.cpp
-@@ -454,7 +454,7 @@ PalmLib::FlatFile::JFile3::getOptions(vo
- void PalmLib::FlatFile::JFile3::JFileAppInfoType::unpack(const PalmLib::Block& block)
- {
- unsigned i;
-- pi_char_t* null_ptr;
-+ const pi_char_t* null_ptr;
-
- // Ensure that we have enough space to extract information from.
- if (block.size() < ( (20 * (20+1)) + 20*2 + 2 + 2 + 20*2 + 2
-@@ -467,7 +467,7 @@ void PalmLib::FlatFile::JFile3::JFileApp
- // Extract the field names.
- for (i = 0; i < 20; ++i) {
- /* Find the trailing null byte and extract the string. */
-- null_ptr = reinterpret_cast<pi_char_t*> (memchr(p, 0, 21));
-+ null_ptr = reinterpret_cast<const pi_char_t*> (memchr(p, 0, 21));
- if (null_ptr)
- fieldNames[i] = std::string((char *) p, null_ptr - p);
- else
-@@ -518,7 +518,7 @@ void PalmLib::FlatFile::JFile3::JFileApp
- p += sizeof(pi_uint16_t);
-
- // Extract the string used last by Find.
-- null_ptr = reinterpret_cast<pi_char_t*> (memchr(p, 0, 16));
-+ null_ptr = reinterpret_cast<const pi_char_t*> (memchr(p, 0, 16));
- if (null_ptr)
- findString = std::string((char *) p, null_ptr - p);
- else
-@@ -526,7 +526,7 @@ void PalmLib::FlatFile::JFile3::JFileApp
- p += 16;
-
- // Extract the string used last by Filter.
-- null_ptr = reinterpret_cast<pi_char_t*> (memchr(p, 0, 16));
-+ null_ptr = reinterpret_cast<const pi_char_t*> (memchr(p, 0, 16));
- if (null_ptr)
- filterString = std::string((char *) p, null_ptr - p);
- else
-@@ -542,7 +542,7 @@ void PalmLib::FlatFile::JFile3::JFileApp
- p += sizeof(pi_uint16_t);
-
- // Extract the password (if any).
-- null_ptr = reinterpret_cast<pi_char_t*> (memchr(p, 0, 12));
-+ null_ptr = reinterpret_cast<const pi_char_t*> (memchr(p, 0, 12));
- if (null_ptr)
- password = std::string((char *) p, null_ptr - p);
- else