]> git.pld-linux.org Git - packages/iceape.git/commitdiff
- fix building with libevent 2.1 auto/th/iceape-2.46-3
authorJan Rękorajski <baggins@pld-linux.org>
Tue, 4 Apr 2017 07:38:49 +0000 (09:38 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Tue, 4 Apr 2017 07:38:49 +0000 (09:38 +0200)
- rel 3

iceape.spec
libevent21.patch [new file with mode: 0644]

index 14875c4eff3767527070244ec1c9a8df060b272a..a9ebe7aa2e3e33217d9e2aa405f580b8fdeff0ee 100644 (file)
@@ -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 (file)
index 0000000..eee1867
--- /dev/null
@@ -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);
This page took 0.144394 seconds and 4 git commands to generate.