openbsd-ports/misc/xtar/patches/patch-xtar_c
2007-10-26 22:00:31 +00:00

13 lines
517 B
Plaintext

$OpenBSD: patch-xtar_c,v 1.1 2007/10/26 22:00:31 ajacoutot Exp $
--- xtar.c.orig Mon Jul 17 13:44:19 1995
+++ xtar.c Fri Oct 26 23:58:56 2007
@@ -1164,7 +1164,7 @@ static int xtar_show(char *tfname, char *filename)
static int xtar_attributes(TAR_FILE *tf, char *filename)
{
int retval = 0;
- struct utimbuf utimbuf;
+ struct utimbuf {char utimbuf;} utimbuf;
/* If the file type is not a directory then try and set the access
permissions. We exclude directories because if write permission