Accepting request 221679 from server:irc
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/221679 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/irssi?expand=0&rev=26
This commit is contained in:
commit
35949e42dc
26
irssi-0.8.16_missing_prototype_warnings.patch
Normal file
26
irssi-0.8.16_missing_prototype_warnings.patch
Normal file
@ -0,0 +1,26 @@
|
||||
Index: src/fe-none/irssi.c
|
||||
===================================================================
|
||||
--- src/fe-none/irssi.c.orig
|
||||
+++ src/fe-none/irssi.c
|
||||
@@ -24,6 +24,8 @@
|
||||
#include "args.h"
|
||||
#include "signals.h"
|
||||
#include "core.h"
|
||||
+/* needed for SOCKSinit prototype */
|
||||
+#include "core/network.h"
|
||||
|
||||
#ifdef HAVE_STATIC_PERL
|
||||
void perl_core_init(void);
|
||||
Index: src/fe-text/irssi.c
|
||||
===================================================================
|
||||
--- src/fe-text/irssi.c.orig
|
||||
+++ src/fe-text/irssi.c
|
||||
@@ -25,6 +25,8 @@
|
||||
#include "signals.h"
|
||||
#include "levels.h"
|
||||
#include "core.h"
|
||||
+/* needed for SOCKSinit prototype */
|
||||
+#include "core/network.h"
|
||||
#include "settings.h"
|
||||
#include "session.h"
|
||||
|
@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 22 17:50:40 UTC 2014 - mrueckert@suse.de
|
||||
|
||||
- added irssi-0.8.16_missing_prototype_warnings.patch:
|
||||
Fixes a compiler warning about missing prototype for SOCKSinit
|
||||
- added -DGLIB_DISABLE_DEPRECATION_WARNINGS to reduce the noise
|
||||
- added dante-devel as requires to irssi-devel so plugins can be
|
||||
compiled again
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 26 12:38:58 UTC 2013 - ddiss@suse.com
|
||||
|
||||
|
@ -47,6 +47,8 @@ Source99: irssi-rpmlintrc
|
||||
Patch: irssi-0.8.15_ssl_proxy.patch
|
||||
# PATCH-FIX-OPENSUSE irssi-0.8.15-ssl-passphrase.patch bnc#842532
|
||||
Patch1: irssi-0.8.15-ssl-passphrase.patch
|
||||
# PATCH-FIX-OPENSUSE irssi-0.8.16_missing_prototype_warnings.patch
|
||||
Patch2: irssi-0.8.16_missing_prototype_warnings.patch
|
||||
#
|
||||
Summary: Modular, Secure, and Well Designed IRC Client
|
||||
License: GPL-2.0+
|
||||
@ -77,6 +79,7 @@ Authors:
|
||||
|
||||
%package devel
|
||||
Requires: %{pkg_name} = %{version}
|
||||
Requires: dante-devel
|
||||
#
|
||||
Summary: Development package for irssi
|
||||
Group: Development/Languages/C and C++
|
||||
@ -95,6 +98,7 @@ Authors:
|
||||
%setup -q
|
||||
#patch
|
||||
%patch1 -p1
|
||||
%patch2
|
||||
|
||||
%build
|
||||
# cp curses.m4 acinclude.m4
|
||||
@ -103,7 +107,7 @@ Authors:
|
||||
%if 0%{?sles_version} == 9
|
||||
export PKG_CONFIG_PATH="/opt/gnome/%{_lib}/pkgconfig:$PKG_CONFIG_PATH"
|
||||
%endif
|
||||
export CFLAGS="%{optflags} -fno-strict-aliasing"
|
||||
export CFLAGS="%{optflags} -fno-strict-aliasing -DGLIB_DISABLE_DEPRECATION_WARNINGS"
|
||||
%configure \
|
||||
--enable-ipv6 \
|
||||
--with-bot \
|
||||
|
Loading…
Reference in New Issue
Block a user