Index: head/math/graphthing/Makefile =================================================================== --- head/math/graphthing/Makefile (revision 420271) +++ head/math/graphthing/Makefile (revision 420272) @@ -1,35 +1,35 @@ # Created by: ijliao # $FreeBSD$ PORTNAME= graphthing PORTVERSION= 1.3.2 PORTREVISION= 11 CATEGORIES= math MASTER_SITES= http://graph.seul.org/ MAINTAINER= ports@FreeBSD.org COMMENT= Tool that allows you to create, manipulate, and study graphs LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING USE_GNOME= gtk20 USES= bison gmake tar:bzip2 USE_WX= 2.8 -WX_UNICODE= yes WX_CONF_ARGS= absolute GNU_CONFIGURE= yes MAKEFILE= GNUmakefile -PLIST_FILES= bin/graphthing bin/gt LDFLAGS+= -lpthread + +PLIST_FILES= bin/graphthing bin/gt post-patch: @${REINPLACE_CMD} -e \ 's|@@CXX@|@CXX@|' ${WRKSRC}/src/GNUmakefile.in do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/graphthing ${STAGEDIR}${PREFIX}/bin ${LN} -sf graphthing ${STAGEDIR}${PREFIX}/bin/gt .include Index: head/math/graphthing/files/patch-src-gt-bison.y =================================================================== --- head/math/graphthing/files/patch-src-gt-bison.y (revision 420271) +++ head/math/graphthing/files/patch-src-gt-bison.y (nonexistent) @@ -1,20 +0,0 @@ ---- src/gt-bison.y.orig 2012-02-21 14:11:30.000000000 +0100 -+++ src/gt-bison.y 2012-02-21 14:11:53.000000000 +0100 -@@ -18,7 +18,7 @@ - - extern char *yy_gt_text; - --int yy_gt_error (char *s); -+int yy_gt_error (const char *s); - int yy_gt_lex (void); - %} - -@@ -132,7 +132,7 @@ - - %% - --int yy_gt_error (char *s) -+int yy_gt_error (const char *s) - { - fprintf (stderr, "gt-parse: %s in line %i, at symbol \"%s\"\n", - s, gt_lineno, yy_gt_text); Property changes on: head/math/graphthing/files/patch-src-gt-bison.y ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/math/graphthing/files/patch-src__fancyfileselection.cc =================================================================== --- head/math/graphthing/files/patch-src__fancyfileselection.cc (revision 420271) +++ head/math/graphthing/files/patch-src__fancyfileselection.cc (nonexistent) @@ -1,22 +0,0 @@ ---- src/fancyfileselection.cc.orig 2006-09-11 10:32:12.000000000 +0900 -+++ src/fancyfileselection.cc 2012-02-13 23:12:49.000000000 +0900 -@@ -21,6 +21,10 @@ - { "Postscript", ".ps" } - }; - -+#if !WXWIN_COMPATIBILITY_2_4 -+# define wxHIDE_READONLY 0 -+#endif -+ - FancyFileSelection::FancyFileSelection (wxWindow *parent, const wxString &title, - long style, bool file_types, - const wxString &mask) -@@ -30,7 +34,7 @@ - style |= wxHIDE_READONLY; - else if (style & wxSAVE) - style |= wxOVERWRITE_PROMPT; -- SetStyle (style); -+ SetWindowStyle (style); - - if (file_types) { - wxString wc = wxT(""); Property changes on: head/math/graphthing/files/patch-src__fancyfileselection.cc ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/math/graphthing/files/patch-src-lang-bison.y =================================================================== --- head/math/graphthing/files/patch-src-lang-bison.y (revision 420271) +++ head/math/graphthing/files/patch-src-lang-bison.y (nonexistent) @@ -1,20 +0,0 @@ ---- src/lang-bison.y.orig 2012-02-21 14:12:06.000000000 +0100 -+++ src/lang-bison.y 2012-02-21 14:12:27.000000000 +0100 -@@ -15,7 +15,7 @@ - - std::stack pbs; - --int yy_lang_error (char *s); -+int yy_lang_error (const char *s); - int yy_lang_lex (void); - %} - -@@ -121,7 +121,7 @@ - - extern char *yy_lang_text; - --int yy_lang_error (char *s) -+int yy_lang_error (const char *s) - { - fprintf (stderr, "lang-parse: %s in line %i, at symbol \"%s\"\n", - s, lang_lineno, yy_lang_text); Property changes on: head/math/graphthing/files/patch-src-lang-bison.y ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/math/graphthing/files/patch-src_fancyfileselection.cc =================================================================== --- head/math/graphthing/files/patch-src_fancyfileselection.cc (nonexistent) +++ head/math/graphthing/files/patch-src_fancyfileselection.cc (revision 420272) @@ -0,0 +1,22 @@ +--- src/fancyfileselection.cc.orig 2006-09-11 01:32:12 UTC ++++ src/fancyfileselection.cc +@@ -21,6 +21,10 @@ static struct { + { "Postscript", ".ps" } + }; + ++#if !WXWIN_COMPATIBILITY_2_4 ++# define wxHIDE_READONLY 0 ++#endif ++ + FancyFileSelection::FancyFileSelection (wxWindow *parent, const wxString &title, + long style, bool file_types, + const wxString &mask) +@@ -30,7 +34,7 @@ FancyFileSelection::FancyFileSelection ( + style |= wxHIDE_READONLY; + else if (style & wxSAVE) + style |= wxOVERWRITE_PROMPT; +- SetStyle (style); ++ SetWindowStyle (style); + + if (file_types) { + wxString wc = wxT(""); Property changes on: head/math/graphthing/files/patch-src_fancyfileselection.cc ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/math/graphthing/files/patch-src_gt_bison.y =================================================================== --- head/math/graphthing/files/patch-src_gt_bison.y (nonexistent) +++ head/math/graphthing/files/patch-src_gt_bison.y (revision 420272) @@ -0,0 +1,20 @@ +--- src/gt-bison.y.orig 2006-09-11 01:32:12 UTC ++++ src/gt-bison.y +@@ -18,7 +18,7 @@ Edge *e; + + extern char *yy_gt_text; + +-int yy_gt_error (char *s); ++int yy_gt_error (const char *s); + int yy_gt_lex (void); + %} + +@@ -132,7 +132,7 @@ edge_property: + + %% + +-int yy_gt_error (char *s) ++int yy_gt_error (const char *s) + { + fprintf (stderr, "gt-parse: %s in line %i, at symbol \"%s\"\n", + s, gt_lineno, yy_gt_text); Property changes on: head/math/graphthing/files/patch-src_gt_bison.y ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/math/graphthing/files/patch-src_lang_bison.y =================================================================== --- head/math/graphthing/files/patch-src_lang_bison.y (nonexistent) +++ head/math/graphthing/files/patch-src_lang_bison.y (revision 420272) @@ -0,0 +1,20 @@ +--- src/lang-bison.y.orig 2006-09-11 01:32:12 UTC ++++ src/lang-bison.y +@@ -15,7 +15,7 @@ int lang_lineno = 1; + + std::stack pbs; + +-int yy_lang_error (char *s); ++int yy_lang_error (const char *s); + int yy_lang_lex (void); + %} + +@@ -121,7 +121,7 @@ phrase: + + extern char *yy_lang_text; + +-int yy_lang_error (char *s) ++int yy_lang_error (const char *s) + { + fprintf (stderr, "lang-parse: %s in line %i, at symbol \"%s\"\n", + s, lang_lineno, yy_lang_text); Property changes on: head/math/graphthing/files/patch-src_lang_bison.y ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/math/graphthing/pkg-descr =================================================================== --- head/math/graphthing/pkg-descr (revision 420271) +++ head/math/graphthing/pkg-descr (revision 420272) @@ -1,5 +1,5 @@ GraphThing is a tool that allows you to create, manipulate and study graphs. These "graphs" are mathematical objects that describe relationships between sets; they are not 2D plots, charts, or anything similar to that. -WWW: http://graph.seul.org +WWW: http://graph.seul.org/