diff options
author | Volker Stolz <vs@FreeBSD.org> | 2005-04-04 15:22:56 +0000 |
---|---|---|
committer | Volker Stolz <vs@FreeBSD.org> | 2005-04-04 15:22:56 +0000 |
commit | 7ed811bd8190df1d957ee7c2f2f9d8dde5d8eac4 (patch) | |
tree | 28c0153010e438f9026052bd829c879e3c88b71c | |
parent | Update to 1.4.4. (diff) |
Unbreak on sparc64
Submitted by maintainer
Notes
Notes:
svn path=/head/; revision=132477
-rw-r--r-- | sysutils/udfclient/Makefile | 8 | ||||
-rw-r--r-- | sysutils/udfclient/files/patch-udf_bswap.h | 13 |
2 files changed, 14 insertions, 7 deletions
diff --git a/sysutils/udfclient/Makefile b/sysutils/udfclient/Makefile index aee5f00b9ece..21320899a1de 100644 --- a/sysutils/udfclient/Makefile +++ b/sysutils/udfclient/Makefile @@ -28,10 +28,4 @@ PLIST_FILES= bin/udfdump \ bin/cd_disect \ bin/cdrw_format -.include <bsd.port.pre.mk> - -.if ${ARCH} == "sparc64" -BROKEN= "Does not compile on sparc64" -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/sysutils/udfclient/files/patch-udf_bswap.h b/sysutils/udfclient/files/patch-udf_bswap.h new file mode 100644 index 000000000000..dfedd566c2df --- /dev/null +++ b/sysutils/udfclient/files/patch-udf_bswap.h @@ -0,0 +1,13 @@ +--- udf_bswap.h.orig Wed Mar 23 18:00:36 2005 ++++ udf_bswap.h Wed Mar 23 19:00:10 2005 +@@ -52,8 +52,10 @@ + /* rest only relevant for big endian machines */ + #if (BYTE_ORDER == BIG_ENDIAN) + ++#if !defined(__FreeBSD__) + #include <machine/bswap.h> + #include <sys/bswap.h> ++#endif + + /* inlines for access to swapped data */ + static __inline u_int16_t udf_rw16 __P((u_int16_t)); |