1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

- Fix build on gcc-3.4

PR:		ports/78017
Submitted by:	Johan van Selst <johans@stack.nl>
This commit is contained in:
Pav Lucistnik 2005-02-25 21:49:44 +00:00
parent 20687bc303
commit b7936593e0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=129806
2 changed files with 19 additions and 7 deletions

View File

@ -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>

View File

@ -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");
};