diff options
author | pav <pav@FreeBSD.org> | 2005-02-26 05:49:44 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2005-02-26 05:49:44 +0800 |
commit | fc2b64f38b3cc157c10d372b133aaa703f7770db (patch) | |
tree | f30185f9b57cbe4193945cf6f0e1618283aa0283 /math/graphthing | |
parent | e6daa628ea8905c7fa8da1539dc1656ddd5a634d (diff) | |
download | freebsd-ports-gnome-fc2b64f38b3cc157c10d372b133aaa703f7770db.tar.gz freebsd-ports-gnome-fc2b64f38b3cc157c10d372b133aaa703f7770db.tar.zst freebsd-ports-gnome-fc2b64f38b3cc157c10d372b133aaa703f7770db.zip |
- Fix build on gcc-3.4
PR: ports/78017
Submitted by: Johan van Selst <johans@stack.nl>
Diffstat (limited to 'math/graphthing')
-rw-r--r-- | math/graphthing/Makefile | 8 | ||||
-rw-r--r-- | math/graphthing/files/patch-src-gui.h | 18 |
2 files changed, 19 insertions, 7 deletions
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 <bsd.port.pre.mk> - -.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 <bsd.port.post.mk> +.include <bsd.port.mk> 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"); + }; + |