openbsd-ports/net/dnsmasq/patches/patch-src_dnsmasq_h
kili 428fdf942e Update to version 2.49.
Unbreak tftp, since converting the struct members from arrays to
pointers badly broke the code,

ok rui@ (maintainer).
2009-06-14 17:07:25 +00:00

13 lines
313 B
Plaintext

$OpenBSD: patch-src_dnsmasq_h,v 1.6 2009/06/14 17:07:25 kili Exp $
--- src/dnsmasq.h.orig Mon Jun 8 23:05:30 2009
+++ src/dnsmasq.h Sat Jun 13 12:05:54 2009
@@ -572,7 +572,7 @@ struct tftp_file {
off_t size;
dev_t dev;
ino_t inode;
- char filename[];
+ char filename[0];
};
struct tftp_transfer {