Make this port actually usable on arches were sizeof(long) != 4.

Reported by:	alepulver
Tested on:	amd64, ia64
This commit is contained in:
Alexey Dokuchaev 2010-03-09 21:49:57 +00:00
parent e91f9eb409
commit b434c5de94
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=250781
2 changed files with 7 additions and 2 deletions

View file

@ -7,7 +7,7 @@
PORTNAME= nwreckdum
PORTVERSION= 0.0.6
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= archivers games
MASTER_SITES= http://freebsd.nsu.ru/distfiles/

View file

@ -1,6 +1,11 @@
--- nwreckdu.c.orig Mon Jun 8 17:47:02 1998
+++ nwreckdu.c Fri Nov 3 02:30:05 2006
@@ -27,7 +27,7 @@
@@ -23,11 +23,11 @@
typedef struct {
char name[56];
- unsigned long offset, length;
+ uint32_t offset, length;
} dirrec;
int asmpak(FILE *);