From b665a0faba737f71b2441870391b1e72cd19fb278d505864daab6ca603971b37 Mon Sep 17 00:00:00 2001 From: Marcus Rueckert Date: Wed, 22 Jan 2014 17:52:18 +0000 Subject: [PATCH] - 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 OBS-URL: https://build.opensuse.org/package/show/server:irc/irssi?expand=0&rev=49 --- irssi.changes | 9 +++++++++ irssi.spec | 6 +++++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/irssi.changes b/irssi.changes index dcf3bd4..02296b2 100644 --- a/irssi.changes +++ b/irssi.changes @@ -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 diff --git a/irssi.spec b/irssi.spec index cd2083a..2f4c110 100644 --- a/irssi.spec +++ b/irssi.spec @@ -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 \