[packages/iceape] - fix building with libevent 2.1 - rel 3

baggins baggins at pld-linux.org
Tue Apr 4 09:39:06 CEST 2017


commit 7ee7c964a208ea0b9dd222a8543208a46eb74419
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Tue Apr 4 09:38:49 2017 +0200

    - fix building with libevent 2.1
    - rel 3

 iceape.spec      |  4 +++-
 libevent21.patch | 13 +++++++++++++
 2 files changed, 16 insertions(+), 1 deletion(-)
---
diff --git a/iceape.spec b/iceape.spec
index 14875c4..a9ebe7a 100644
--- a/iceape.spec
+++ b/iceape.spec
@@ -18,7 +18,7 @@ Summary(pl.UTF-8):	Iceape - przeglądarka WWW
 Summary(pt_BR.UTF-8):	Navegador Iceape
 Name:		iceape
 Version:	2.46
-Release:	2
+Release:	3
 License:	MPL v2.0
 Group:		X11/Applications/Networking
 Source0:	http://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/source/seamonkey-%{version}.source.tar.xz
@@ -38,6 +38,7 @@ Patch3:		enable-addons.patch
 Patch4:		system-virtualenv.patch
 Patch5:		icu-detect.patch
 Patch6:		nss-http2.patch
+Patch7:		libevent21.patch
 URL:		http://www.pld-linux.org/Packages/Iceape
 BuildRequires:	GConf2-devel >= 1.2.1
 BuildRequires:	OpenGL-devel
@@ -221,6 +222,7 @@ tworzących strony WWW.
 %patch4 -p1
 %patch5 -p1
 %patch6 -p1
+%patch7 -p1
 
 %build
 cat << EOF > .mozconfig
diff --git a/libevent21.patch b/libevent21.patch
new file mode 100644
index 0000000..eee1867
--- /dev/null
+++ b/libevent21.patch
@@ -0,0 +1,13 @@
+--- seamonkey-2.46/mozilla/ipc/chromium/src/base/message_pump_libevent.cc~	2016-12-14 03:07:49.000000000 +0100
++++ seamonkey-2.46/mozilla/ipc/chromium/src/base/message_pump_libevent.cc	2017-04-04 09:09:31.353732558 +0200
+@@ -23,8 +23,8 @@
+ // This macro checks that the _EVENT_SIZEOF_* constants defined in
+ // ipc/chromiume/src/third_party/<platform>/event2/event-config.h are correct.
+ #define CHECK_EVENT_SIZEOF(TYPE, type) \
+-    static_assert(_EVENT_SIZEOF_##TYPE == sizeof(type), \
+-    "bad _EVENT_SIZEOF_"#TYPE);
++    static_assert(EVENT__SIZEOF_##TYPE == sizeof(type), \
++    "bad EVENT__SIZEOF_"#TYPE);
+ 
+ CHECK_EVENT_SIZEOF(LONG,      long);
+ CHECK_EVENT_SIZEOF(LONG_LONG, long long);
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/iceape.git/commitdiff/7ee7c964a208ea0b9dd222a8543208a46eb74419



More information about the pld-cvs-commit mailing list