Update to version 1.13

PR:		ports/72526
Submitted by:	Ports Fury
This commit is contained in:
Kirill Ponomarev 2004-10-12 12:48:34 +00:00
parent 374e07ba75
commit 93ece857de
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=118995
3 changed files with 3 additions and 29 deletions

View file

@ -7,7 +7,7 @@
#
PORTNAME= dparser
PORTVERSION= 1.11
PORTVERSION= 1.13
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

View file

@ -1,2 +1,2 @@
MD5 (d-1.11-src.tar.gz) = 4443debf8c778e66203130617a251831
SIZE (d-1.11-src.tar.gz) = 198263
MD5 (d-1.13-src.tar.gz) = fe049ca0805c98e41673d481b55c2274
SIZE (d-1.13-src.tar.gz) = 200239

View file

@ -1,26 +0,0 @@
--- write_tables.c.orig Mon Aug 2 08:24:03 2004
+++ write_tables.c Wed Aug 11 09:15:44 2004
@@ -87,6 +87,7 @@
save_binary_tables(File *file) {
int i;
BinaryTablesHead tables;
+ unsigned int len;
tables.n_relocs = file->relocations.n;
tables.n_strings = file->str_relocations.n;
@@ -94,13 +95,13 @@
tables.tables_size = file->tables.cur - file->tables.start;
tables.strings_size = file->strings.cur - file->strings.start;
- unsigned int len = sizeof(BinaryTablesHead) +
+ len = sizeof(BinaryTablesHead) +
tables.tables_size + tables.strings_size +
(file->relocations.n * sizeof(void*)) +
(file->str_relocations.n * sizeof(void*));
if (file->str) {
- file->cur_str = *file->str = (unsigned char*)malloc(len);
+ file->cur_str = *file->str = (unsigned char*)MALLOC(len);
*file->str_len = len;
}