Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Sep 2021 21:12:37 GMT
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 0a4cf8ece050 - main - www/restbed: fix build on powerpc*
Message-ID:  <202109122112.18CLCb9E047396@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0a4cf8ece0500ca7f0bd47572413d031f7f68f1a

commit 0a4cf8ece0500ca7f0bd47572413d031f7f68f1a
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2021-09-12 21:05:57 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2021-09-12 21:05:57 +0000

    www/restbed: fix build on powerpc*
    
    powerpc* architectures use unsigned char by default.
---
 www/restbed/files/patch-source_corvusoft_restbed_uri.cpp | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/www/restbed/files/patch-source_corvusoft_restbed_uri.cpp b/www/restbed/files/patch-source_corvusoft_restbed_uri.cpp
new file mode 100644
index 000000000000..c4fa5a2cbc02
--- /dev/null
+++ b/www/restbed/files/patch-source_corvusoft_restbed_uri.cpp
@@ -0,0 +1,11 @@
+--- source/corvusoft/restbed/uri.cpp.orig	2021-09-11 00:09:45 UTC
++++ source/corvusoft/restbed/uri.cpp
+@@ -100,7 +100,7 @@ namespace restbed
+     
+     string Uri::decode( const string& value )
+     {
+-        static const char hex_to_dec[256] = 
++        static const signed char hex_to_dec[256] = 
+         {
+             /*       0  1  2  3   4  5  6  7   8  9  A  B   C  D  E  F */
+             /* 0 */ -1,-1,-1,-1, -1,-1,-1,-1, -1,-1,-1,-1, -1,-1,-1,-1,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202109122112.18CLCb9E047396>