- 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
This commit is contained in:
Marcus Rückert 2014-01-22 17:52:18 +00:00 committed by Git OBS Bridge
parent f7d5b6120b
commit b665a0faba
2 changed files with 14 additions and 1 deletions

View File

@ -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

View File

@ -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 \