ports/devel/firmware-utils/files/patch-ptgen.c
Dmitry Marakasov 6529a2933c - Add LICENSE
- Switch to USES=tar:bzip2
- Regenerate patches with `make makepatch`

Approved by:	portmgr blanket
2015-08-20 10:52:03 +00:00

11 lines
246 B
C

--- ptgen.c.orig 2011-12-22 14:21:03 UTC
+++ ptgen.c
@@ -29,6 +29,8 @@
#include <ctype.h>
#include <fcntl.h>
+#include "freebsd.h"
+
#if __BYTE_ORDER == __BIG_ENDIAN
#define cpu_to_le16(x) bswap_16(x)
#elif __BYTE_ORDER == __LITTLE_ENDIAN