rpms/notecase/devel notecase-gcc43.patch, NONE, 1.1 notecase.spec, 1.29, 1.30
Christopher Aillon (caillon)
fedora-extras-commits at redhat.com
Thu Mar 27 04:23:06 UTC 2008
Author: caillon
Update of /cvs/extras/rpms/notecase/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv12619
Modified Files:
notecase.spec
Added Files:
notecase-gcc43.patch
Log Message:
* Thu Mar 27 2008 Christopher Aillon <caillon at redhat.com> 1.6.1-4
- Fix the build against GCC 4.3 (#434534)
notecase-gcc43.patch:
--- NEW FILE notecase-gcc43.patch ---
diff -up notecase-1.6.1/src/main.cpp.gcc43 notecase-1.6.1/src/main.cpp
--- notecase-1.6.1/src/main.cpp.gcc43 2007-07-30 23:34:10.000000000 -0400
+++ notecase-1.6.1/src/main.cpp 2008-03-27 00:18:40.000000000 -0400
@@ -8,6 +8,7 @@
#include "config.h"
#include "mru.h"
+#include <cstdlib>
#include <gtk/gtk.h>
#include <libintl.h>
diff -up notecase-1.6.1/src/callbacks.cpp.gcc43 notecase-1.6.1/src/callbacks.cpp
--- notecase-1.6.1/src/callbacks.cpp.gcc43 2007-07-30 23:34:10.000000000 -0400
+++ notecase-1.6.1/src/callbacks.cpp 2008-03-27 00:18:40.000000000 -0400
@@ -32,6 +32,7 @@
#include <pango/pango.h>
#include <glib.h>
#include <time.h>
+#include <cstdlib>
#include "lib/NoteDocument.h"
#include "lib/DocumentIterator.h"
#include "lib/FilePath.h"
diff -up notecase-1.6.1/src/NodePropertiesDlg.cpp.gcc43 notecase-1.6.1/src/NodePropertiesDlg.cpp
--- notecase-1.6.1/src/NodePropertiesDlg.cpp.gcc43 2007-07-30 23:34:10.000000000 -0400
+++ notecase-1.6.1/src/NodePropertiesDlg.cpp 2008-03-27 00:18:40.000000000 -0400
@@ -12,6 +12,7 @@
#include "gui/FileDialog.h"
#include "lib/debug.h"
#include "config.h"
+#include <cstring>
#ifdef _WIN32
#ifndef __MINGW32__
diff -up notecase-1.6.1/src/DocActionSort.cpp.gcc43 notecase-1.6.1/src/DocActionSort.cpp
--- notecase-1.6.1/src/DocActionSort.cpp.gcc43 2007-07-30 23:34:10.000000000 -0400
+++ notecase-1.6.1/src/DocActionSort.cpp 2008-03-27 00:18:40.000000000 -0400
@@ -20,6 +20,7 @@
#include "TreeView.h"
#include "lib/debug.h"
#include <algorithm>
+#include <cstring>
#ifdef _WIN32
#include <io.h>
diff -up notecase-1.6.1/src/gui/GuiLanguage.cpp.gcc43 notecase-1.6.1/src/gui/GuiLanguage.cpp
--- notecase-1.6.1/src/gui/GuiLanguage.cpp.gcc43 2007-07-30 23:34:10.000000000 -0400
+++ notecase-1.6.1/src/gui/GuiLanguage.cpp 2008-03-27 00:18:40.000000000 -0400
@@ -13,6 +13,7 @@
#include "../config.h"
#include "GuiLanguage.h"
#include <algorithm>
+#include <cstring>
#include <gtk/gtk.h>
#ifdef ENABLE_NLS
#include <libintl.h>
diff -up notecase-1.6.1/src/gui/ProgressDlg.cpp.gcc43 notecase-1.6.1/src/gui/ProgressDlg.cpp
--- notecase-1.6.1/src/gui/ProgressDlg.cpp.gcc43 2008-03-27 00:19:20.000000000 -0400
+++ notecase-1.6.1/src/gui/ProgressDlg.cpp 2008-03-27 00:19:38.000000000 -0400
@@ -7,6 +7,7 @@
////////////////////////////////////////////////////////////////////////////
#include "ProgressDlg.h"
+#include <cstring>
#include <string>
#include <gdk/gdkkeysyms.h>
diff -up notecase-1.6.1/src/lib/Base64.cpp.gcc43 notecase-1.6.1/src/lib/Base64.cpp
--- notecase-1.6.1/src/lib/Base64.cpp.gcc43 2007-07-30 23:34:10.000000000 -0400
+++ notecase-1.6.1/src/lib/Base64.cpp 2008-03-27 00:18:40.000000000 -0400
@@ -19,6 +19,7 @@
#include "Base64.h"
#include "debug.h"
+#include <cstring>
// Static Member Initializers
//
diff -up notecase-1.6.1/src/lib/IOProcess.cpp.gcc43 notecase-1.6.1/src/lib/IOProcess.cpp
--- notecase-1.6.1/src/lib/IOProcess.cpp.gcc43 2007-07-30 23:34:10.000000000 -0400
+++ notecase-1.6.1/src/lib/IOProcess.cpp 2008-03-27 00:18:40.000000000 -0400
@@ -8,6 +8,7 @@
#include "IOProcess.h"
#include "debug.h"
+#include <cstring>
IOProcess::IOProcess(int nMode)
{
diff -up notecase-1.6.1/src/lib/FilePath.cpp.gcc43 notecase-1.6.1/src/lib/FilePath.cpp
--- notecase-1.6.1/src/lib/FilePath.cpp.gcc43 2007-07-30 23:34:10.000000000 -0400
+++ notecase-1.6.1/src/lib/FilePath.cpp 2008-03-27 00:18:40.000000000 -0400
@@ -11,6 +11,7 @@
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
+#include <cstdlib>
#ifdef _WIN32
#include <windows.h>
diff -up notecase-1.6.1/src/lib/FormatIOMMLX.cpp.gcc43 notecase-1.6.1/src/lib/FormatIOMMLX.cpp
--- notecase-1.6.1/src/lib/FormatIOMMLX.cpp.gcc43 2007-07-30 23:34:10.000000000 -0400
+++ notecase-1.6.1/src/lib/FormatIOMMLX.cpp 2008-03-27 00:18:40.000000000 -0400
@@ -15,6 +15,7 @@
#include "debug.h"
#include "../config.h"
#include "../support.h"
+#include <cstring>
#include <stdio.h> //fopen
#include <glib.h>
#include <gtk/gtk.h>
diff -up notecase-1.6.1/src/lib/FormatIOExecutable.cpp.gcc43 notecase-1.6.1/src/lib/FormatIOExecutable.cpp
--- notecase-1.6.1/src/lib/FormatIOExecutable.cpp.gcc43 2007-07-30 23:34:10.000000000 -0400
+++ notecase-1.6.1/src/lib/FormatIOExecutable.cpp 2008-03-27 00:18:40.000000000 -0400
@@ -12,6 +12,7 @@
#include "debug.h"
#include "../config.h"
#include "../support.h"
+#include <cstring>
#include <stdio.h> //fopen
#include <glib.h>
#include <gtk/gtk.h>
diff -up notecase-1.6.1/src/lib/FormatIOGjots2.cpp.gcc43 notecase-1.6.1/src/lib/FormatIOGjots2.cpp
--- notecase-1.6.1/src/lib/FormatIOGjots2.cpp.gcc43 2007-07-30 23:34:10.000000000 -0400
+++ notecase-1.6.1/src/lib/FormatIOGjots2.cpp 2008-03-27 00:18:40.000000000 -0400
@@ -8,6 +8,7 @@
#include "FormatIOGjots2.h"
#include "DocumentIterator.h"
+#include <cstring>
#include <stdio.h> //fopen
#define DOC_PARSE_BLANK 0
diff -up notecase-1.6.1/src/lib/FormatIOEncHtml.cpp.gcc43 notecase-1.6.1/src/lib/FormatIOEncHtml.cpp
--- notecase-1.6.1/src/lib/FormatIOEncHtml.cpp.gcc43 2007-07-30 23:34:10.000000000 -0400
+++ notecase-1.6.1/src/lib/FormatIOEncHtml.cpp 2008-03-27 00:18:40.000000000 -0400
@@ -16,6 +16,7 @@
#include "IOLayerFile64.h"
#include "DocumentIterator.h"
#include "debug.h"
+#include <cstring>
#include <stdio.h> //sprintf
#include <glib.h> // bate order macros
diff -up notecase-1.6.1/src/lib/HtmlParser.cpp.gcc43 notecase-1.6.1/src/lib/HtmlParser.cpp
--- notecase-1.6.1/src/lib/HtmlParser.cpp.gcc43 2007-07-30 23:34:10.000000000 -0400
+++ notecase-1.6.1/src/lib/HtmlParser.cpp 2008-03-27 00:18:40.000000000 -0400
@@ -11,6 +11,7 @@
#include <glib.h>
#include <vector>
#include <algorithm>
+#include <cstring>
void replaceall(std::string &strData, const char *szFind, const char *szReplace);
diff -up notecase-1.6.1/src/FindReplaceDlg.cpp.gcc43 notecase-1.6.1/src/FindReplaceDlg.cpp
--- notecase-1.6.1/src/FindReplaceDlg.cpp.gcc43 2007-07-30 23:34:10.000000000 -0400
+++ notecase-1.6.1/src/FindReplaceDlg.cpp 2008-03-27 00:18:40.000000000 -0400
@@ -16,6 +16,7 @@
#include "TreeView.h"
#include "support.h"
#include "interface.h"
+#include <cstring>
extern FindReplaceInfo g_objSearchInfo;
extern GtkWidget *window1;
Index: notecase.spec
===================================================================
RCS file: /cvs/extras/rpms/notecase/devel/notecase.spec,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- notecase.spec 20 Feb 2008 00:57:05 -0000 1.29
+++ notecase.spec 27 Mar 2008 04:22:24 -0000 1.30
@@ -1,6 +1,6 @@
Name: notecase
Version: 1.6.1
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: A hierarchical note manager
Group: Applications/Productivity
@@ -13,6 +13,7 @@
Requires(post): desktop-file-utils shared-mime-info
Requires(postun): desktop-file-utils shared-mime-info
+Patch1: notecase-gcc43.patch
%description
NoteCase is a hierarchical note manager (aka. outliner). It helps you organize
@@ -23,6 +24,7 @@
%prep
%setup -q
+%patch1 -p1 -b .gcc43
%build
make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS"
@@ -58,6 +60,9 @@
%{_datadir}/mime/packages/%{name}.xml
%changelog
+* Thu Mar 27 2008 Christopher Aillon <caillon at redhat.com> 1.6.1-4
+- Fix the build against GCC 4.3 (#434534)
+
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng at fedoraproject.org> - 1.6.1-3
- Autorebuild for GCC 4.3
More information about the fedora-extras-commits
mailing list