• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Keine Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

作図ソフト dia の改良版


Commit MetaInfo

Revisiona8cf510b42b400cb357cf1dbfa73616c3cf74ece (tree)
Zeit2012-09-09 22:50:23
AutorHans Breuer <hans@breu...>
CommiterHans Breuer

Log Message

[layout] Make it compile with gcc

Typo in source definition, protoype for strcmp().
Still it is crashing during layout plug-in load.

Ändern Zusammenfassung

Diff

--- a/plug-ins/layout/Makefile.am
+++ b/plug-ins/layout/Makefile.am
@@ -1,6 +1,6 @@
11 plugin_sources = \
22 dia-graph.h \
3- dia-grap.cpp \
3+ dia-graph.cpp \
44 layout.cpp \
55 ogdf-simple.h
66
--- a/plug-ins/layout/dia-graph.cpp
+++ b/plug-ins/layout/dia-graph.cpp
@@ -26,6 +26,7 @@
2626 #include "dia-graph.h"
2727
2828 #include <stdio.h>
29+#include <string.h>
2930 #include <vector>
3031
3132 /*!
--- a/plug-ins/layout/readme.txt
+++ b/plug-ins/layout/readme.txt
@@ -1,7 +1,7 @@
11 A Dia plug-in offering automatic layout facilities
22 --------------------------------------------------
33
4-This plug-on is based on OGDF (www.ogdf.net).
4+This plug-on is based on OGDF (www.ogdf.net) - v. 2012.07 (Sakura).
55 "OGDF is a self-contained C++ class library for the automatic layout of diagrams."
66
77 The plug-in uses a self-devolved wrapper over OGDF (ogdf-simple(h|cpp)), mostly to
@@ -45,4 +45,5 @@ Build on *NIX
4545 add
4646 compilerParams = -fPIC -I.
4747 to makeMakefile.config, run
48- ./makeMakefile.sh
48+ ./makeMakefile.sh
49+