diff options
| author | Rene Ladan <rene@FreeBSD.org> | 2019-09-24 21:50:23 +0000 |
|---|---|---|
| committer | Rene Ladan <rene@FreeBSD.org> | 2019-09-24 21:50:23 +0000 |
| commit | 2ace90775d46248667825688e74a3455bc19eb9a (patch) | |
| tree | 15d1ef37a7ee90dd83580e5b9f5f687ef0c4608c /databases/palm-db-tools/files/patch-field_argumentf | |
| parent | textproc/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 'databases/palm-db-tools/files/patch-field_argumentf')
| -rw-r--r-- | databases/palm-db-tools/files/patch-field_argumentf | 104 |
1 files changed, 0 insertions, 104 deletions
diff --git a/databases/palm-db-tools/files/patch-field_argumentf b/databases/palm-db-tools/files/patch-field_argumentf deleted file mode 100644 index 1fbb2628f161..000000000000 --- a/databases/palm-db-tools/files/patch-field_argumentf +++ /dev/null @@ -1,104 +0,0 @@ -This patch removes a long-unused function because a bug in it triggers -an error in the modern compiler (clang-3.8). Instead of fixing the function, -we just remove it. - - -mi - ---- libflatfile/Database.h 2003-06-19 19:37:46.000000000 -0400 -+++ libflatfile/Database.h 2016-02-18 22:35:32.329328000 -0500 -@@ -112,12 +112,4 @@ - virtual FType field(int i) const; - -- /** -- * write the format of the field's argument in format, -- * and return a strings' vector with name of each argument part. -- * the format use the same display as used by printf -- */ -- virtual std::vector<std::string> field_argumentf(int i, std::string& format) -- { format = std::string(""); return std::vector<std::string>(0, std::string(""));} -- - /** - * Add a field to the flat-file database. An exception ---- libflatfile/DB.h 2003-06-19 19:37:46.000000000 -0400 -+++ libflatfile/DB.h 2016-02-18 22:35:10.046799000 -0500 -@@ -72,11 +72,4 @@ - - /** -- * write the format of the field's argument in format, -- * and return a strings' vector with name of each argument part. -- * the format use the same display as used by printf -- */ -- virtual std::vector<std::string> field_argumentf(int i, std::string& format); -- -- /** - * Return the maximum number of views supported by this - * type of flat-file database. ---- libflatfile/DB.cpp 2003-06-19 19:37:46.000000000 -0400 -+++ libflatfile/DB.cpp 2016-02-18 22:35:55.362853000 -0500 -@@ -1291,66 +1293,4 @@ - } - --std::vector<std::string> --PalmLib::FlatFile::DB::field_argumentf(int i, std::string& format) --{ -- std::vector<std::string> vtitles(0, std::string("")); -- int j; -- -- switch (field_type(i)) { -- case PalmLib::FlatFile::Field::STRING: -- format = std::string("%s"); -- vtitles.push_back(std::string("default value")); -- break; -- case PalmLib::FlatFile::Field::INTEGER: -- format = std::string("%ld/%d"); -- vtitles.push_back(std::string("default value")); -- vtitles.push_back(std::string("increment")); -- break; -- case PalmLib::FlatFile::Field::FLOAT: -- format = std::string("%f"); -- vtitles.push_back(std::string("default value")); -- break; -- case PalmLib::FlatFile::Field::DATE: -- format = std::string("%d/%d/%d"); -- vtitles.push_back(std::string("Year (or now)")); -- vtitles.push_back(std::string("Month")); -- vtitles.push_back(std::string("Day in the month")); -- break; -- case PalmLib::FlatFile::Field::TIME: -- format = std::string("%d/%d"); -- vtitles.push_back(std::string("Hour (or now)")); -- vtitles.push_back(std::string("Minute")); -- break; -- case PalmLib::FlatFile::Field::LIST: -- format = std::string(""); -- for (j = 0; j < 31; i++) { -- format += std::string("%s/"); -- std::ostringstream title; -- title << "item " << j; -- vtitles.push_back(title.str()); -- } -- format += std::string("%s"); -- vtitles.push_back(std::string("item 32")); -- break; -- case PalmLib::FlatFile::Field::LINK: -- format = std::string("%s/%d"); -- vtitles.push_back(std::string("database")); -- vtitles.push_back(std::string("field number")); -- break; -- case PalmLib::FlatFile::Field::LINKED: -- format = std::string("%d/%d"); -- vtitles.push_back(std::string("link field number")); -- vtitles.push_back(std::string("field number")); -- break; -- case PalmLib::FlatFile::Field::CALCULATED: -- case PalmLib::FlatFile::Field::BOOLEAN: -- case PalmLib::FlatFile::Field::NOTE: -- default: -- format = std::string(""); -- break; -- } -- return vtitles; --} -- - unsigned PalmLib::FlatFile::DB::getMaxNumOfListViews() const - { |
