aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2006-12-23 00:58:22 +0800
committerTilman Keskinoz <arved@FreeBSD.org>2006-12-23 00:58:22 +0800
commit29169020ac18bebe1c9cd385e6f0904bbfe44aa8 (patch)
tree5a7b1c1f671236fb4a5db2cf052e777eaab218da /graphics
parent93d3f3f91ed4ff4acac07d9d283c6a87497da6dd (diff)
downloadfreebsd-ports-gnome-29169020ac18bebe1c9cd385e6f0904bbfe44aa8.tar.gz
freebsd-ports-gnome-29169020ac18bebe1c9cd385e6f0904bbfe44aa8.tar.zst
freebsd-ports-gnome-29169020ac18bebe1c9cd385e6f0904bbfe44aa8.zip
Fix build with gcc41
Diffstat (limited to 'graphics')
-rw-r--r--graphics/gephex/files/patch-base_src_utils_structscanner.h17
-rw-r--r--graphics/gephex/files/patch-engine-src-model-model.h11
-rw-r--r--graphics/gephex/files/patch-qtgui-src-gui-graphnameview.cpp20
3 files changed, 48 insertions, 0 deletions
diff --git a/graphics/gephex/files/patch-base_src_utils_structscanner.h b/graphics/gephex/files/patch-base_src_utils_structscanner.h
new file mode 100644
index 000000000000..4dc20137ecc5
--- /dev/null
+++ b/graphics/gephex/files/patch-base_src_utils_structscanner.h
@@ -0,0 +1,17 @@
+--- base/src/utils/structscanner.h.orig Fri Dec 22 15:31:34 2006
++++ base/src/utils/structscanner.h Fri Dec 22 15:32:09 2006
+@@ -40,11 +40,11 @@
+ {
+ IStructTokenListener& m_listener;
+
+- void StructScanner::divideNameFromContent(const std::string& text,
++ void divideNameFromContent(const std::string& text,
+ std::string& name,
+ std::string& content) const;
+- void StructScanner::processName(const std::string& name) const;
+- void StructScanner::processContent(const std::string& content) const;
++ void processName(const std::string& name) const;
++ void processContent(const std::string& content) const;
+ std::string::size_type
+ findNextClosingBracket(const std::string& content,
+ std::string::size_type n) const;
diff --git a/graphics/gephex/files/patch-engine-src-model-model.h b/graphics/gephex/files/patch-engine-src-model-model.h
new file mode 100644
index 000000000000..6b182bcd8f7d
--- /dev/null
+++ b/graphics/gephex/files/patch-engine-src-model-model.h
@@ -0,0 +1,11 @@
+--- engine/src/model/model.h.orig Fri Dec 22 15:34:42 2006
++++ engine/src/model/model.h Fri Dec 22 15:34:53 2006
+@@ -235,7 +235,7 @@
+ void deleteModule(utils::AutoPtr<Graph>, int moduleID);
+
+ #ifndef NDEBUG
+- void Model::checkGraphSerialisation();
++ void checkGraphSerialisation();
+ #endif
+
+ };
diff --git a/graphics/gephex/files/patch-qtgui-src-gui-graphnameview.cpp b/graphics/gephex/files/patch-qtgui-src-gui-graphnameview.cpp
new file mode 100644
index 000000000000..39d9faa56049
--- /dev/null
+++ b/graphics/gephex/files/patch-qtgui-src-gui-graphnameview.cpp
@@ -0,0 +1,20 @@
+--- qtgui/src/gui/graphnameview.cpp.orig Fri Dec 22 15:47:05 2006
++++ qtgui/src/gui/graphnameview.cpp Fri Dec 22 15:47:31 2006
+@@ -266,7 +266,7 @@
+ m_textListener->textChanged(1,newStatus.c_str());
+ }
+
+- virtual void GraphItem::propertySelected(int id)
++ virtual void propertySelected(int id)
+ {
+ switch(id)
+ {
+@@ -428,7 +428,7 @@
+ m_textListener->textChanged(1,newStatus.c_str());
+ }
+
+- void SnapItem::propertySelected(int id)
++ void propertySelected(int id)
+ {
+ switch(id)
+ {