rpms/zhcon/devel zhcon-0.2.6.gcc43.patch, NONE, 1.1 zhcon.spec, 1.5, 1.6
Hu Zheng (zhu)
fedora-extras-commits at redhat.com
Tue Feb 26 09:13:41 UTC 2008
- Previous message (by thread): rpms/turba/devel .cvsignore, 1.5, 1.6 sources, 1.5, 1.6 turba.spec, 1.4, 1.5
- Next message (by thread): rpms/turba/F-7 .cvsignore, 1.4, 1.5 sources, 1.4, 1.5 turba.spec, 1.3, 1.4
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: zhu
Update of /cvs/pkgs/rpms/zhcon/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv28196
Modified Files:
zhcon.spec
Added Files:
zhcon-0.2.6.gcc43.patch
Log Message:
gcc-4.3 compile fix
zhcon-0.2.6.gcc43.patch:
--- NEW FILE zhcon-0.2.6.gcc43.patch ---
diff -u -r zhcon-0.2.5/src/basefont.cpp zhcon-0.2.5.fix/src/basefont.cpp
--- zhcon-0.2.5/src/basefont.cpp 2006-04-25 00:38:27.000000000 +0800
+++ zhcon-0.2.5.fix/src/basefont.cpp 2008-02-26 17:00:11.000000000 +0800
@@ -16,6 +16,7 @@
* *
***************************************************************************/
+#include <cstring>
#include <unistd.h>
#include <fcntl.h>
#include <sys/types.h>
diff -u -r zhcon-0.2.5/src/display/fblinear4.cpp zhcon-0.2.5.fix/src/display/fblinear4.cpp
--- zhcon-0.2.5/src/display/fblinear4.cpp 2006-04-25 00:38:23.000000000 +0800
+++ zhcon-0.2.5.fix/src/display/fblinear4.cpp 2008-02-26 16:59:08.000000000 +0800
@@ -17,6 +17,7 @@
* *
***************************************************************************/
+#include <cstring>
#include <assert.h>
#include <endian.h>
#include "global.h"
diff -u -r zhcon-0.2.5/src/display/fblinear8.cpp zhcon-0.2.5.fix/src/display/fblinear8.cpp
--- zhcon-0.2.5/src/display/fblinear8.cpp 2006-04-25 00:38:23.000000000 +0800
+++ zhcon-0.2.5.fix/src/display/fblinear8.cpp 2008-02-26 16:59:23.000000000 +0800
@@ -17,6 +17,7 @@
* *
***************************************************************************/
+#include <cstring>
#include <assert.h>
#include <endian.h>
#include "global.h"
diff -u -r zhcon-0.2.5/src/display/fbvgaplanes.cpp zhcon-0.2.5.fix/src/display/fbvgaplanes.cpp
--- zhcon-0.2.5/src/display/fbvgaplanes.cpp 2006-04-25 00:38:23.000000000 +0800
+++ zhcon-0.2.5.fix/src/display/fbvgaplanes.cpp 2008-02-26 16:59:36.000000000 +0800
@@ -19,6 +19,7 @@
#include <config.h>
#endif
+#include <cstring>
#ifdef USING_VGA
#include <assert.h>
#include <unistd.h>
diff -u -r zhcon-0.2.5/src/display/vgadev.cpp zhcon-0.2.5.fix/src/display/vgadev.cpp
--- zhcon-0.2.5/src/display/vgadev.cpp 2008-02-26 16:25:27.000000000 +0800
+++ zhcon-0.2.5.fix/src/display/vgadev.cpp 2008-02-26 16:59:57.000000000 +0800
@@ -23,6 +23,7 @@
#endif
+#include <cstring>
#ifdef USING_VGA
#if defined(linux)
diff -u -r zhcon-0.2.5/src/graphdev.cpp zhcon-0.2.5.fix/src/graphdev.cpp
--- zhcon-0.2.5/src/graphdev.cpp 2006-04-25 00:38:26.000000000 +0800
+++ zhcon-0.2.5.fix/src/graphdev.cpp 2008-02-26 17:00:19.000000000 +0800
@@ -20,6 +20,8 @@
#include <config.h>
#endif
+#include <cstring>
+#include <stdlib.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/ioctl.h>
diff -u -r zhcon-0.2.5/src/inputclient.cpp zhcon-0.2.5.fix/src/inputclient.cpp
--- zhcon-0.2.5/src/inputclient.cpp 2006-04-25 00:38:27.000000000 +0800
+++ zhcon-0.2.5.fix/src/inputclient.cpp 2008-02-26 17:00:59.000000000 +0800
@@ -16,6 +16,7 @@
* *
***************************************************************************/
+#include <stdlib.h>
#include "inputclient.h"
Console* InputClient::mpCon = NULL;
diff -u -r zhcon-0.2.5/src/inputmanager.cpp zhcon-0.2.5.fix/src/inputmanager.cpp
--- zhcon-0.2.5/src/inputmanager.cpp 2006-05-03 01:18:39.000000000 +0800
+++ zhcon-0.2.5.fix/src/inputmanager.cpp 2008-02-26 17:00:52.000000000 +0800
@@ -21,6 +21,7 @@
using namespace std;
+#include <stdlib.h>
#include <unistd.h>
#include <sys/time.h>
#include <string>
diff -u -r zhcon-0.2.5/src/inputmanager.h zhcon-0.2.5.fix/src/inputmanager.h
--- zhcon-0.2.5/src/inputmanager.h 2006-04-25 00:38:26.000000000 +0800
+++ zhcon-0.2.5.fix/src/inputmanager.h 2008-02-26 17:01:08.000000000 +0800
@@ -24,6 +24,7 @@
*@author ejoy
*/
using namespace std;
+#include <sys/select.h>
#include <cassert>
#include <vector>
diff -u -r zhcon-0.2.5/src/window.cpp zhcon-0.2.5.fix/src/window.cpp
--- zhcon-0.2.5/src/window.cpp 2006-04-25 00:38:25.000000000 +0800
+++ zhcon-0.2.5.fix/src/window.cpp 2008-02-26 17:00:29.000000000 +0800
@@ -16,6 +16,7 @@
* *
***************************************************************************/
+#include <cstring>
#include <cassert>
#include <algorithm>
#include <sys/time.h>
diff -u -r zhcon-0.2.5/src/winime.cpp zhcon-0.2.5.fix/src/winime.cpp
--- zhcon-0.2.5/src/winime.cpp 2008-02-26 16:25:27.000000000 +0800
+++ zhcon-0.2.5.fix/src/winime.cpp 2008-02-26 17:00:35.000000000 +0800
@@ -16,6 +16,7 @@
* *
***************************************************************************/
+#include <cstring>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
diff -u -r zhcon-0.2.5/src/zhcon.cpp zhcon-0.2.5.fix/src/zhcon.cpp
--- zhcon-0.2.5/src/zhcon.cpp 2008-02-26 16:25:27.000000000 +0800
+++ zhcon-0.2.5.fix/src/zhcon.cpp 2008-02-26 17:00:44.000000000 +0800
@@ -19,6 +19,7 @@
#include <config.h>
#endif
+#include <cstring>
#include <iostream>
#include <unistd.h>
#include <cstdlib>
Index: zhcon.spec
===================================================================
RCS file: /cvs/pkgs/rpms/zhcon/devel/zhcon.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- zhcon.spec 20 Feb 2008 08:43:57 -0000 1.5
+++ zhcon.spec 26 Feb 2008 09:13:06 -0000 1.6
@@ -1,7 +1,7 @@
Name: zhcon
Summary: A Fast Console CJK System Using FrameBuffer
Version: 0.2.6
-Release: 6%{?dist}
+Release: 7%{?dist}
Group: Applications/System
License: GPL
URL: http://www.sourceforge.net/projects/%{name}/
@@ -11,6 +11,7 @@
Patch2: zhcon-0.2.6-path-define.patch
Patch3: zhcon-0.2.6-flags.patch
Patch4: zhcon-0.2.6-64bit-fix.patch
+Patch5: zhcon-0.2.6.gcc43.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Buildrequires: autoconf automake
@@ -34,6 +35,7 @@
%patch2 -p1 -b .path_define
%patch3 -p1 -b .flags
%patch4 -p1 -b .64bit_fix
+%patch5 -p1 -b .gcc43_fix
iconv -f GB2312 -t UTF-8 ChangeLog -o ChangeLog.utf && mv -f ChangeLog.utf ChangeLog
( cd doc; tar -zxf html.tar.gz; chmod 755 manual)
@@ -65,6 +67,9 @@
%{_datadir}/%{name}/
%changelog
+* Tue Feb 26 2008 Hu Zheng <zhu at redhat.com> - 0.2.6-7
+- Gcc-4.3 compile fix.
+
* Wed Feb 20 2008 Fedora Release Engineering <rel-eng at fedoraproject.org> - 0.2.6-6
- Autorebuild for GCC 4.3
- Previous message (by thread): rpms/turba/devel .cvsignore, 1.5, 1.6 sources, 1.5, 1.6 turba.spec, 1.4, 1.5
- Next message (by thread): rpms/turba/F-7 .cvsignore, 1.4, 1.5 sources, 1.4, 1.5 turba.spec, 1.3, 1.4
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list