Thursday, September 28, 2017

arm64 build fix for net/gtk-gnutella

#error "This architecture may be unsupported. float must use IEEE 754."

It's a trivial fix, as you can see.

endian.h is not installed, so a package bump shouldn't be necessary.

OK?


Index: net/gtk-gnutella/patches/patch-src_lib_endian_h
===================================================================
RCS file: net/gtk-gnutella/patches/patch-src_lib_endian_h
diff -N net/gtk-gnutella/patches/patch-src_lib_endian_h
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ net/gtk-gnutella/patches/patch-src_lib_endian_h 28 Sep 2017 09:08:05 -0000
@@ -0,0 +1,13 @@
+$OpenBSD$
+
+Index: src/lib/endian.h
+--- src/lib/endian.h.orig
++++ src/lib/endian.h
+@@ -246,6 +246,7 @@ poke_le64(gpointer p, guint64 v)
+ #if \
+ defined(__alpha__) || \
+ defined(__arm__) || \
++ defined(__aarch64__) || \
+ defined(__hppa__) || \
+ defined(__i386__) || \
+ defined(__ia64__) || \


--
Non-Reciprocal Laws of Expectations:
Negative expectations yield negative results.
Positive expectations yield negative results.

No comments:

Post a Comment