aboutsummaryrefslogtreecommitdiffstats
path: root/palm/makeztxt/files
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2008-04-30 20:50:15 +0800
committeredwin <edwin@FreeBSD.org>2008-04-30 20:50:15 +0800
commit55522db162c6310722561a109267535b284db0a7 (patch)
treeef52e5d0053eca36919814691e60742619ed4f27 /palm/makeztxt/files
parentf3ed600976ea196537397b98d405fb1e4a91b68c (diff)
downloadfreebsd-ports-gnome-55522db162c6310722561a109267535b284db0a7.tar.gz
freebsd-ports-gnome-55522db162c6310722561a109267535b284db0a7.tar.zst
freebsd-ports-gnome-55522db162c6310722561a109267535b284db0a7.zip
update to 1.62
Diffstat (limited to 'palm/makeztxt/files')
-rw-r--r--palm/makeztxt/files/patch-libztxt-ztxt_disect.c13
-rw-r--r--palm/makeztxt/files/patch-libztxt-ztxt_init.c11
-rw-r--r--palm/makeztxt/files/patch-libztxt-ztxt_process.c42
-rw-r--r--palm/makeztxt/files/patch-libztxt-ztxt_set.c11
4 files changed, 0 insertions, 77 deletions
diff --git a/palm/makeztxt/files/patch-libztxt-ztxt_disect.c b/palm/makeztxt/files/patch-libztxt-ztxt_disect.c
deleted file mode 100644
index a17dc8ceb43c..000000000000
--- a/palm/makeztxt/files/patch-libztxt-ztxt_disect.c
+++ /dev/null
@@ -1,13 +0,0 @@
---- libztxt/ztxt_disect.c.orig Sun Jun 3 13:31:46 2007
-+++ libztxt/ztxt_disect.c Sun Jun 3 13:32:42 2007
-@@ -152,8 +152,8 @@
- zstream.zalloc = Z_NULL;
- zstream.zfree = Z_NULL;
- zstream.opaque = Z_NULL;
-- zstream.next_in = &db->output[ntohl(db->dbRecordEntries[1].localChunkID)];
-- zstream.next_out = db->input;
-+ zstream.next_in = (Bytef *)&db->output[ntohl(db->dbRecordEntries[1].localChunkID)];
-+ zstream.next_out = (Bytef *)db->input;
- zstream.avail_in = data_size;
- zstream.avail_out = db->input_size + 1;
-
diff --git a/palm/makeztxt/files/patch-libztxt-ztxt_init.c b/palm/makeztxt/files/patch-libztxt-ztxt_init.c
deleted file mode 100644
index f4f2caf3fe4a..000000000000
--- a/palm/makeztxt/files/patch-libztxt-ztxt_init.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- libztxt/ztxt_init.c.orig Mon May 28 20:23:08 2007
-+++ libztxt/ztxt_init.c Mon May 28 20:23:16 2007
-@@ -61,7 +61,7 @@
-
- /* Initialize the Palm DB header structure */
- header = ztxtdb->dbHeader;
-- strcpy(header->name, "New zTXT database");
-+ strcpy((char *)header->name, "New zTXT database");
- header->attributes = htons(dmHdrAttrBackup);
- header->version = htons(ZTXT_VERSION);
- header->creationDate = htonl(time(NULL) + PALM_CTIME_OFFSET);
diff --git a/palm/makeztxt/files/patch-libztxt-ztxt_process.c b/palm/makeztxt/files/patch-libztxt-ztxt_process.c
deleted file mode 100644
index 2ed1f2d232c7..000000000000
--- a/palm/makeztxt/files/patch-libztxt-ztxt_process.c
+++ /dev/null
@@ -1,42 +0,0 @@
---- libztxt/ztxt_process.c.orig Tue Aug 12 15:05:21 2003
-+++ libztxt/ztxt_process.c Sun Jun 3 13:29:24 2007
-@@ -321,8 +321,8 @@
- /* Method 1 allows for random access in the compressed data */
-
- /* Set buffer pointers */
-- zstream.next_in = buf;
-- zstream.next_out = zbuf;
-+ zstream.next_in = (Bytef *)buf;
-+ zstream.next_out = (Bytef *)zbuf;
- zstream.avail_in = RECORD_SIZE;
- zstream.avail_out = zbuf_size;
-
-@@ -354,7 +354,7 @@
- memcpy(buf, &(db->tmp[zpos]), RECORD_SIZE);
- zpos += RECORD_SIZE;
- bytesleft -= RECORD_SIZE;
-- zstream.next_in = buf;
-+ zstream.next_in = (Bytef *)buf;
- zstream.avail_in = RECORD_SIZE;
- db->num_records++;
- offsets[db->num_records] = zstream.total_out;
-@@ -365,7 +365,7 @@
- {
- memcpy(buf, &(db->tmp[zpos]), bytesleft);
- zpos += bytesleft;
-- zstream.next_in = buf;
-+ zstream.next_in = (Bytef *)buf;
- zstream.avail_in = bytesleft;
- db->num_records++;
- offsets[db->num_records] = zstream.total_out;
-@@ -402,8 +402,8 @@
- /* Method 2 gives about 10% - 15% more compression */
-
- /* Set buffer pointers */
-- zstream.next_in = db->tmp;
-- zstream.next_out = zbuf;
-+ zstream.next_in = (Bytef *)db->tmp;
-+ zstream.next_out = (Bytef *)zbuf;
- zstream.avail_in = db->tmpsize;
- zstream.avail_out = zbuf_size;
-
diff --git a/palm/makeztxt/files/patch-libztxt-ztxt_set.c b/palm/makeztxt/files/patch-libztxt-ztxt_set.c
deleted file mode 100644
index 21b5b7259e61..000000000000
--- a/palm/makeztxt/files/patch-libztxt-ztxt_set.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- libztxt/ztxt_set.c.orig Mon May 28 20:12:33 2007
-+++ libztxt/ztxt_set.c Mon May 28 20:12:44 2007
-@@ -40,7 +40,7 @@
- void
- ztxt_set_title(ztxt *db, char *new_title)
- {
-- strncpy(db->dbHeader->name, new_title, dmDBNameLength);
-+ strncpy((char *)db->dbHeader->name, new_title, dmDBNameLength);
- db->dbHeader->name[dmDBNameLength - 1] = '\0';
- }
-