devel/manedit manedit-0.5.11-gcc4.patch, NONE, 1.1 manedit.spec, 1.10, 1.11
Michael Schwendt (mschwendt)
fedora-extras-commits at redhat.com
Thu Apr 14 13:29:14 UTC 2005
Author: mschwendt
Update of /cvs/extras/devel/manedit
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv12839
Modified Files:
manedit.spec
Added Files:
manedit-0.5.11-gcc4.patch
Log Message:
====================================
Package needs a new maintainer:
https://bugzilla.redhat.com/154810
====================================
* Thu Apr 14 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.5.11-5
- Fix build for GCC4.
manedit-0.5.11-gcc4.patch:
--- NEW FILE manedit-0.5.11-gcc4.patch ---
diff -Nur manedit-0.5.11-orig/manedit/disk.cpp manedit-0.5.11/manedit/disk.cpp
--- manedit-0.5.11-orig/manedit/disk.cpp 2004-04-17 23:36:17.000000000 +0200
+++ manedit-0.5.11/manedit/disk.cpp 2005-04-14 13:21:13.000000000 +0200
@@ -132,7 +132,7 @@
// Dan S: typecast is due to const.
#if defined(__cplusplus) || defined(c_plusplus)
- while(ISBLANK(reinterpret_cast<char>(*path)))
+ while(ISBLANK(*path))
#else
while(ISBLANK(*path))
#endif
Index: manedit.spec
===================================================================
RCS file: /cvs/extras/devel/manedit/manedit.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- manedit.spec 6 Apr 2005 22:12:24 -0000 1.10
+++ manedit.spec 14 Apr 2005 13:29:12 -0000 1.11
@@ -1,7 +1,6 @@
Name: manedit
Version: 0.5.11
-Release: 4
-
+Release: 5
Summary: GUI editor for creating man pages
Group: Development/Tools
@@ -12,6 +11,7 @@
Patch: manedit-0.5.11-bzip2.patch
Patch1: manedit-0.5.11-nostrip.patch
Patch2: manedit-0.5.11-multilib.patch
+Patch3: manedit-0.5.11-gcc4.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gtk+-devel zlib-devel desktop-file-utils bzip2-devel
@@ -28,6 +28,7 @@
%patch -p1 -b .bzip2
%patch1 -p1 -b .nostrip
%patch2 -p1 -b .multilib
+%patch3 -p1 -b .gcc4
perl -pi -e "s|/usr/man|%{_mandir}|" manedit/pref.c
perl -pi -e "s|/usr/man|%{_mandir}|" manedit/prefcb.c
perl -pi -e "s|\@LIB\@|%{_lib}|" manedit/platforms.ini
@@ -66,6 +67,9 @@
%{_datadir}/applications/*
%changelog
+* Thu Apr 14 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.5.11-5
+- Fix build for GCC4.
+
* Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
- rebuilt
More information about the fedora-extras-commits
mailing list