[dia] [layout] Make it compile with gcc
- From: Hans Breuer <hans src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dia] [layout] Make it compile with gcc
- Date: Sun, 9 Sep 2012 11:52:15 +0000 (UTC)
commit a8cf510b42b400cb357cf1dbfa73616c3cf74ece
Author: Hans Breuer <hans breuer org>
Date: Sun Sep 9 15:50:23 2012 +0200
[layout] Make it compile with gcc
Typo in source definition, protoype for strcmp().
Still it is crashing during layout plug-in load.
plug-ins/layout/Makefile.am | 2 +-
plug-ins/layout/dia-graph.cpp | 1 +
plug-ins/layout/readme.txt | 5 +++--
3 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/plug-ins/layout/Makefile.am b/plug-ins/layout/Makefile.am
index 01ab95f..77bca38 100644
--- a/plug-ins/layout/Makefile.am
+++ b/plug-ins/layout/Makefile.am
@@ -1,6 +1,6 @@
plugin_sources = \
dia-graph.h \
- dia-grap.cpp \
+ dia-graph.cpp \
layout.cpp \
ogdf-simple.h
diff --git a/plug-ins/layout/dia-graph.cpp b/plug-ins/layout/dia-graph.cpp
index 45b2a62..7542fd1 100644
--- a/plug-ins/layout/dia-graph.cpp
+++ b/plug-ins/layout/dia-graph.cpp
@@ -26,6 +26,7 @@
#include "dia-graph.h"
#include <stdio.h>
+#include <string.h>
#include <vector>
/*!
diff --git a/plug-ins/layout/readme.txt b/plug-ins/layout/readme.txt
index b242387..b0eb0a8 100644
--- a/plug-ins/layout/readme.txt
+++ b/plug-ins/layout/readme.txt
@@ -1,7 +1,7 @@
A Dia plug-in offering automatic layout facilities
--------------------------------------------------
-This plug-on is based on OGDF (www.ogdf.net).
+This plug-on is based on OGDF (www.ogdf.net) - v. 2012.07 (Sakura).
"OGDF is a self-contained C++ class library for the automatic layout of diagrams."
The plug-in uses a self-devolved wrapper over OGDF (ogdf-simple(h|cpp)), mostly to
@@ -45,4 +45,5 @@ Build on *NIX
add
compilerParams = -fPIC -I.
to makeMakefile.config, run
- ./makeMakefile.sh
+ ./makeMakefile.sh
+
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]