From b7936593e0636adeafe81a8e134167452ae02091 Mon Sep 17 00:00:00 2001 From: Pav Lucistnik Date: Fri, 25 Feb 2005 21:49:44 +0000 Subject: [PATCH] - Fix build on gcc-3.4 PR: ports/78017 Submitted by: Johan van Selst --- math/graphthing/Makefile | 8 +------- math/graphthing/files/patch-src-gui.h | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+), 7 deletions(-) create mode 100644 math/graphthing/files/patch-src-gui.h diff --git a/math/graphthing/Makefile b/math/graphthing/Makefile index 7307978a352e..238659063acf 100644 --- a/math/graphthing/Makefile +++ b/math/graphthing/Makefile @@ -25,14 +25,8 @@ GNU_CONFIGURE= yes PLIST_FILES= bin/graphthing bin/gt -.include - -.if ${OSVERSION} >= 502126 -BROKEN= "Configure fails on FreeBSD >= 5.x" -.endif - post-patch: ${REINPLACE_CMD} -e "s,\/usr\/include\/gtk-1.2\/gdk\/gdkkeysyms.h,," \ ${WRKSRC}/src/depend.1 -.include +.include diff --git a/math/graphthing/files/patch-src-gui.h b/math/graphthing/files/patch-src-gui.h new file mode 100644 index 000000000000..8018b28a56d3 --- /dev/null +++ b/math/graphthing/files/patch-src-gui.h @@ -0,0 +1,18 @@ +--- src/gui.h.orig Thu Feb 24 14:11:10 2005 ++++ src/gui.h Thu Feb 24 14:11:12 2005 +@@ -140,7 +140,6 @@ public: + class ParamDialog : public Gtk::Dialog + { + protected: +- void ok_click (); + + virtual int delete_event_impl (GdkEventAny *ev); + virtual void get_data () = 0; +@@ -148,6 +147,7 @@ protected: + public: + bool cancelled; + ++ void ok_click (); + ParamDialog (const String &title = "Prefab Parameter"); + }; +