rpms/centericq/devel centericq-kkconsui.patch, NONE, 1.1 centericq.spec, 1.11, 1.12

Andreas Bierfert (awjb) fedora-extras-commits at redhat.com
Wed May 25 23:35:55 UTC 2005


Author: awjb

Update of /cvs/extras/rpms/centericq/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv28554

Modified Files:
	centericq.spec 
Added Files:
	centericq-kkconsui.patch 
Log Message:
- x86_64 buildfix


centericq-kkconsui.patch:

--- NEW FILE centericq-kkconsui.patch ---
--- kkconsui-0.1/src/texteditor.cc.orig	2005-05-26 01:27:45.000000000 +0200
+++ kkconsui-0.1/src/texteditor.cc	2005-05-26 01:28:10.000000000 +0200
@@ -1940,11 +1940,11 @@
 }
 
 int texteditor::findint(void *p1, void *p2) {
-    return *(int *) p1 != (int) p2;
+    return *(long *) p1 != (long) p2;
 }
 
 int texteditor::findhighline(void *p1, void *p2) {
-    return *(int *) p1 != ((highline *) p2)->line;
+    return *(long *) p1 != ((highline *) p2)->line;
 }
 
 void texteditor::shiftmarkedblock(int delta) {


Index: centericq.spec
===================================================================
RCS file: /cvs/extras/rpms/centericq/devel/centericq.spec,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- centericq.spec	24 May 2005 07:05:03 -0000	1.11
+++ centericq.spec	25 May 2005 23:35:53 -0000	1.12
@@ -1,6 +1,6 @@
 Name:           centericq
 Version:        4.20.0
-Release:        4
+Release:        5
 
 Summary:        Text mode menu- and window-driven IM
 
@@ -9,6 +9,7 @@
 URL:            http://konst.org.ua/centericq/
 Source0:        http://konst.org.ua/download/centericq-4.20.0.tar.bz2
 Patch0:         centericq-libyahoo.patch
+Patch1:         centericq-kkconsui.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
 
 BuildRequires:  krb5-devel
@@ -26,6 +27,10 @@
 %setup -q -n %{name}-%{version}
 %patch0
 
+%ifarch x86_64
+%patch1
+%endif
+
 %build
 CFLAGS="-I/usr/include/openssl -I/usr/kerberos/include -I/usr/include ${RPM_OPT_FLAGS}" \
 %configure --with-ssl
@@ -54,6 +59,10 @@
 %{_mandir}/man1/*
 
 %changelog
+* Thu May 26 2005 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
+4.20.0-5
+- x86_64 buildfix
+
 * Mon May 23 2005 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
 4.20.0-4
 - enable jabber encryption support via gpgme




More information about the fedora-extras-commits mailing list