I've fixes for two of them, i don't have an arm64 box to test them, 
but ports-gcc-8 on macppc emits the same errors.

On Sun, 21 Apr 2019 07:38:07 -0600 (MDT)
phess...@openbsd.org wrote:

> bulk build on arm64.ports.openbsd.org
> started on  Wed Apr 17 08:37:54 MDT 2019
> finished at Sun Apr 21 07:29:28 MDT 2019
> lasted 04D15h51m
> done with kern.version=OpenBSD 6.5 (GENERIC.MP) #84: Wed Apr 17
> 05:53:43 MDT 2019

> http://build-failures.rhaalovely.net/aarch64/2019-04-17/graphics/freeimage.log

https://marc.info/?l=openbsd-ports&m=155543005506596&w=2

Index: Makefile
===================================================================
RCS file: /cvs/ports/graphics/freeimage/Makefile,v
retrieving revision 1.13
diff -u -p -r1.13 Makefile
--- Makefile    19 Nov 2018 18:46:16 -0000      1.13
+++ Makefile    16 Apr 2019 15:23:20 -0000
@@ -4,7 +4,7 @@ COMMENT=                c++ library for common image f
 
 DISTNAME=              FreeImage3152
 PKGNAME=               freeimage-3.15.2
-REVISION =             6
+REVISION=              7
 CATEGORIES=            graphics
 
 SHARED_LIBS+=          freeimage       2.0
Index: patches/patch-Source_LibRawLite_internal_dcraw_common_cpp
===================================================================
RCS file: 
/cvs/ports/graphics/freeimage/patches/patch-Source_LibRawLite_internal_dcraw_common_cpp,v
retrieving revision 1.1
diff -u -p -r1.1 patch-Source_LibRawLite_internal_dcraw_common_cpp
--- patches/patch-Source_LibRawLite_internal_dcraw_common_cpp   7 Apr 2018 
09:07:59 -0000       1.1
+++ patches/patch-Source_LibRawLite_internal_dcraw_common_cpp   16 Apr 2019 
15:23:20 -0000
@@ -1,10 +1,21 @@
 $OpenBSD: patch-Source_LibRawLite_internal_dcraw_common_cpp,v 1.1 2018/04/07 
09:07:59 rsadowski Exp $
 
-fix clang 6.0 build
+Hunk #1: fix the build when char is unsigned by default (ppc, arm)
+
+fix clang>=6 build
 
 Index: Source/LibRawLite/internal/dcraw_common.cpp
 --- Source/LibRawLite/internal/dcraw_common.cpp.orig
 +++ Source/LibRawLite/internal/dcraw_common.cpp
+@@ -2368,7 +2368,7 @@ void CLASS quicktake_100_load_raw()
+ 
+ void CLASS kodak_radc_load_raw()
+ {
+-  static const char src[] = {
++  static const signed char src[] = {
+     1,1, 2,3, 3,4, 4,2, 5,7, 6,5, 7,6, 7,8,
+     1,0, 2,1, 3,3, 4,4, 5,2, 6,7, 7,6, 8,5, 8,8,
+     2,1, 2,3, 3,0, 3,2, 3,4, 4,6, 5,5, 6,7, 6,8,
 @@ -3917,7 +3917,7 @@ void CLASS lin_interpolate()
   */
  void CLASS vng_interpolate()



> http://build-failures.rhaalovely.net/aarch64/2019-04-17/security/libnipper.log

https://marc.info/?l=openbsd-ports&m=155543461008365&w=2

Index: Makefile
===================================================================
RCS file: /cvs/ports/security/libnipper/Makefile,v
retrieving revision 1.22
diff -u -p -r1.22 Makefile
--- Makefile    24 Oct 2018 14:28:10 -0000      1.22
+++ Makefile    16 Apr 2019 16:26:42 -0000
@@ -3,7 +3,7 @@
 COMMENT =              library for nipper
 
 DISTNAME =             libnipper-0.12.6
-REVISION =             6
+REVISION =             7
 CATEGORIES =           security net
 
 SHARED_LIBS =          nipper 0.0
Index: patches/patch-device_crypto_crypto-base64_cpp
===================================================================
RCS file: 
/cvs/ports/security/libnipper/patches/patch-device_crypto_crypto-base64_cpp,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 patch-device_crypto_crypto-base64_cpp
--- patches/patch-device_crypto_crypto-base64_cpp       20 Sep 2008 20:26:05 
-0000      1.1.1.1
+++ patches/patch-device_crypto_crypto-base64_cpp       16 Apr 2019 16:26:42 
-0000
@@ -1,8 +1,20 @@
-let it build with base gcc
-
 $OpenBSD: patch-device_crypto_crypto-base64_cpp,v 1.1.1.1 2008/09/20 20:26:05 
steven Exp $
---- device/crypto/crypto-base64.cpp.orig       Sun Sep  7 23:03:17 2008
-+++ device/crypto/crypto-base64.cpp    Sun Sep  7 23:03:17 2008
+
+Hunk #1: let it build on archs where char is unsigned by default (ppc, arm)
+Hunk #2: let it build with base gcc
+
+Index: device/crypto/crypto-base64.cpp
+--- device/crypto/crypto-base64.cpp.orig
++++ device/crypto/crypto-base64.cpp
+@@ -36,7 +36,7 @@
+ 
+ // See RFC3548 for details of Base64 Encode / Decode standards
+ 
+-static const char base64string[] = {62, -1, -1, -1, 63, 52, 53, 54, 55, 56, 
57, 58, 59, 60, 61, -1, -1, -1, 0, -1, -1, -1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 
10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, -1, -1, -1, -1, 
-1, -1, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 
44, 45, 46, 47, 48, 49, 50, 51};
++static const signed char base64string[] = {62, -1, -1, -1, 63, 52, 53, 54, 
55, 56, 57, 58, 59, 60, 61, -1, -1, -1, 0, -1, -1, -1, 0, 1, 2, 3, 4, 5, 6, 7, 
8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, -1, -1, 
-1, -1, -1, -1, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 
42, 43, 44, 45, 46, 47, 48, 49, 50, 51};
+ 
+ 
+ // Base64 character check
 @@ -110,9 +110,9 @@ const char *Device::base64Decode(const char *encodedSt
                offset++;
  


Reply via email to