Hi,

> http://build-failures.rhaalovely.net/aarch64/2019-08-16/x11/kde4/kopete.log
> http://build-failures.rhaalovely.net/powerpc/2019-08-09/x11/kde4/kopete.log

It's the same base64 code copied and pasted from projects to projects.

Once that array is declared as signed, it builds on macppc [0], and it's
still fine on amd64.

While here, i've updated HOMEPAGE, and moved to https in the same time.

OK? 

Charlène.


Index: Makefile
===================================================================
RCS file: /cvs/ports/x11/kde4/kopete/Makefile,v
retrieving revision 1.22
diff -u -p -u -p -r1.22 Makefile
--- Makefile    23 Jan 2019 18:45:21 -0000      1.22
+++ Makefile    25 Aug 2019 19:58:14 -0000
@@ -6,11 +6,11 @@ DISTNAME =            kopete-${MODKDE4_VERSION}
 PKGNAME-main =         ${DISTNAME}
 PKGNAME-sounds =       kde4-kopete-sounds-${MODKDE4_VERSION}
 PKG_ARCH-sounds =      *
-REVISION-main =                9
-REVISION-sounds =      4
+REVISION-main =                10
+REVISION-sounds =      5
 
 CATEGORIES =   net
-HOMEPAGE =     http://kopete.kde.org/
+HOMEPAGE =     https://userbase.kde.org/Kopete
 
 SHARED_LIBS += kopete                  52.0 # 4.0
 SHARED_LIBS += kopete_videodevice      52.0 # 4.0
Index: patches/patch-protocols_jabber_libiris_src_xmpp_base64_base64_cpp
===================================================================
RCS file: patches/patch-protocols_jabber_libiris_src_xmpp_base64_base64_cpp
diff -N patches/patch-protocols_jabber_libiris_src_xmpp_base64_base64_cpp
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-protocols_jabber_libiris_src_xmpp_base64_base64_cpp   25 Aug 
2019 19:58:14 -0000
@@ -0,0 +1,16 @@
+$OpenBSD$
+
+fix the build on archs where char is unsigned by default (ppc, arm)
+
+Index: protocols/jabber/libiris/src/xmpp/base64/base64.cpp
+--- protocols/jabber/libiris/src/xmpp/base64/base64.cpp.orig
++++ protocols/jabber/libiris/src/xmpp/base64/base64.cpp
+@@ -45,7 +45,7 @@ QByteArray Base64::decode(const QString& input)
+       // 64 specifies eof
+       // everything else specifies data
+ 
+-      char tbl[] = {
++      signed char tbl[] = {
+               -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,
+               -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,
+               -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,62,-1,-1,-1,63,


Reply via email to