[xchat-gnome] Add deprecated-symbol.patch - upstream commit 8d35b36baa8204b68c9520ec92327e34c1d7c580 - to fix FTBF
dmalcolm
dmalcolm at fedoraproject.org
Sat Jul 31 23:10:49 UTC 2010
commit 2be8b6f7d8fea5c944983a9fb056f9e13282584f
Author: David Malcolm <dmalcolm at redhat.com>
Date: Sat Jul 31 19:13:01 2010 -0400
Add deprecated-symbol.patch - upstream commit 8d35b36baa8204b68c9520ec92327e34c1d7c580 - to fix FTBFS
xchat-gnome-0.26.1-deprecated-symbol.patch | 22 ++++++++++++++++++++++
xchat-gnome.spec | 9 ++++++++-
2 files changed, 30 insertions(+), 1 deletions(-)
---
diff --git a/xchat-gnome-0.26.1-deprecated-symbol.patch b/xchat-gnome-0.26.1-deprecated-symbol.patch
new file mode 100644
index 0000000..5bf1e4e
--- /dev/null
+++ b/xchat-gnome-0.26.1-deprecated-symbol.patch
@@ -0,0 +1,22 @@
+From 8d35b36baa8204b68c9520ec92327e34c1d7c580 Mon Sep 17 00:00:00 2001
+From: Ritesh Khadgaray <khadgaray at gmail.com>
+Date: Sun, 04 Jul 2010 09:52:07 +0000
+Subject: remove deprecated GTK+ symbols, GTK_WIDGET_SET_FLAGS.
+
+---
+diff --git a/src/fe-gnome/xtext.c b/src/fe-gnome/xtext.c
+index 92562a3..51503f8 100644
+--- a/src/fe-gnome/xtext.c
++++ b/src/fe-gnome/xtext.c
+@@ -963,7 +963,7 @@ gtk_xtext_realize (GtkWidget * widget)
+ GdkColor col;
+ GdkColormap *cmap;
+
+- GTK_WIDGET_SET_FLAGS (widget, GTK_REALIZED);
++ gtk_widget_set_realized (widget, TRUE);
+ xtext = GTK_XTEXT (widget);
+
+ attributes.x = widget->allocation.x;
+--
+cgit v0.8.3.1
+
diff --git a/xchat-gnome.spec b/xchat-gnome.spec
index 9496300..396be09 100644
--- a/xchat-gnome.spec
+++ b/xchat-gnome.spec
@@ -1,6 +1,6 @@
Name: xchat-gnome
Version: 0.26.1
-Release: 13%{?dist}
+Release: 14%{?dist}
Summary: GNOME front-end to xchat
Group: Applications/Internet
@@ -23,6 +23,8 @@ Patch5: 0001-Added-port-numbers-for-Freenode.patch
Patch6: xg-depreciated-macros.patch
# https://bugzilla.gnome.org/599781
Patch7: 0001-Fix-DCC-transfer-timeouts-when-dcc_auto_send-2.patch
+# FTBFS, upstream commit 8d35b36baa8204b68c9520ec92327e34c1d7c580
+Patch8: xchat-gnome-0.26.1-deprecated-symbol.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -71,6 +73,7 @@ common settings will be included in the main user interface. .
%patch5 -p1 -b .freenode
%patch6 -p1 -b .macros
%patch7 -p1 -b .dcc
+%patch8 -p1 -b .symbol
%build
@@ -136,6 +139,10 @@ fi
%changelog
+* Sat Jul 31 2010 Adam Williamson <awilliam at redhat.com> - 0.26.1-14
+- Add deprecated-symbol.patch - upstream commit
+ 8d35b36baa8204b68c9520ec92327e34c1d7c580 - to fix FTBFS
+
* Tue Jul 27 2010 David Malcolm <dmalcolm at redhat.com> - 0.26.1-13
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
More information about the scm-commits
mailing list