[packages/netsurf] - added utf8proc (adjust for header move in libutf8proc package)
qboosh
qboosh at pld-linux.org
Fri Jul 13 21:54:41 CEST 2018
commit 2cb0de4228b8a45a7046d7c868f0f62499e5f975
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Fri Jul 13 21:56:31 2018 +0200
- added utf8proc (adjust for header move in libutf8proc package)
netsurf-utf8proc.patch | 11 +++++++++++
netsurf.spec | 4 +++-
2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/netsurf.spec b/netsurf.spec
index 0215d7f..0253bf0 100644
--- a/netsurf.spec
+++ b/netsurf.spec
@@ -19,6 +19,7 @@ Patch0: nsfb-ldflags.patch
Patch1: %{name}-link.patch
Patch3: optflags.patch
Patch4: fixes.patch
+Patch5: %{name}-utf8proc.patch
URL: http://netsurf-browser.org/
BuildRequires: curl-devel
BuildRequires: freetype-devel >= 2
@@ -39,7 +40,7 @@ BuildRequires: libparserutils-devel >= 0.2.3
BuildRequires: libpng-devel
BuildRequires: librsvg-devel
BuildRequires: libsvgtiny-devel >= 0.1.6
-BuildRequires: libutf8proc-devel >= 1.3.1-2
+BuildRequires: libutf8proc-devel >= 1.3.1-4
BuildRequires: libwapcaplet-devel >= 0.4.0
%{?with_webp:BuildRequires: libwebp-devel}
BuildRequires: openssl-devel
@@ -135,6 +136,7 @@ Ten pakiet zawiera wersję SDL, obsługującą framebuffer.
%patch1 -p1
%patch3 -p1
%patch4 -p1
+%patch5 -p1
cat << EOF > Makefile.config
NETSURF_FB_FONTLIB := freetype
diff --git a/netsurf-utf8proc.patch b/netsurf-utf8proc.patch
new file mode 100644
index 0000000..62accb1
--- /dev/null
+++ b/netsurf-utf8proc.patch
@@ -0,0 +1,11 @@
+--- netsurf-3.7/utils/idna.c.orig 2017-10-15 15:39:24.000000000 +0200
++++ netsurf-3.7/utils/idna.c 2018-07-13 21:49:53.094700504 +0200
+@@ -26,7 +26,7 @@
+ #include <stdint.h>
+ #include <stdlib.h>
+ #include <string.h>
+-#include <libutf8proc/utf8proc.h>
++#include <utf8proc.h>
+
+ #include "netsurf/inttypes.h"
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/netsurf.git/commitdiff/2cb0de4228b8a45a7046d7c868f0f62499e5f975
More information about the pld-cvs-commit
mailing list