ports/devel/uboot-mkimage/files/patch-include__compiler.h
Kubilay Kocak d2cef2397a devel/uboot: Rename to devel/uboot-mkimage
- Rename devel/u-boot to devel/uboot-mkimage
- Accordingly, update MOVED and add SUBDIR in devel/Makefile

While I'm here:

- Update to 2010.12
- Update PORTNAME and MAINTAINER
- Remove custom do-patch and do-build targets
- Use BUILD_WRKSRC and MAKEFILE instead
- Update BSDmakefile
- Add patch-include__compiler.h
- Trim Makefile header
- pkg-descr: Tab->space for WWW:

PR:		ports/178137
Approved by:	eadler, rm (mentors)
Approved by:	maintainer timeout (16 days)
Obtained from:	ray
Discussed with:	ray
2013-05-11 01:16:50 +00:00

11 lines
351 B
C

--- ./include/compiler.h.orig 2010-12-22 21:22:14.000000000 +0200
+++ ./include/compiler.h 2011-01-13 13:50:35.000000000 +0200
@@ -44,7 +44,7 @@
#ifdef __linux__
# include <endian.h>
# include <byteswap.h>
-#elif defined(__MACH__)
+#elif defined(__MACH__) || defined(__FreeBSD__)
# include <machine/endian.h>
typedef unsigned long ulong;
#endif