aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/udfclient
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2005-04-04 23:22:56 +0800
committervs <vs@FreeBSD.org>2005-04-04 23:22:56 +0800
commitbe9e1c241b7c06a3fcf289e9778f168bf3ca03ed (patch)
tree262c00f7438a58a23df97ecc93046b1b943f04fc /sysutils/udfclient
parent734df71c01a058c6118a3ea72e431b8f52d0a80a (diff)
downloadfreebsd-ports-gnome-be9e1c241b7c06a3fcf289e9778f168bf3ca03ed.tar.gz
freebsd-ports-gnome-be9e1c241b7c06a3fcf289e9778f168bf3ca03ed.tar.zst
freebsd-ports-gnome-be9e1c241b7c06a3fcf289e9778f168bf3ca03ed.zip
Unbreak on sparc64
Submitted by maintainer
Diffstat (limited to 'sysutils/udfclient')
-rw-r--r--sysutils/udfclient/Makefile8
-rw-r--r--sysutils/udfclient/files/patch-udf_bswap.h13
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));