diff options
author | joerg <joerg@pkgsrc.org> | 2013-07-13 19:44:54 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2013-07-13 19:44:54 +0000 |
commit | 73713f430eb6f9807edb48fa0300f6a11845e85a (patch) | |
tree | 19a225fa65af6a9431fba511a6e1427bd77a8d5f /x11/fltk13 | |
parent | 3a73161fd22b84a2bf6c958e4e2cc9c73c6d3c67 (diff) | |
download | pkgsrc-73713f430eb6f9807edb48fa0300f6a11845e85a.tar.gz |
Remove default arguments from a friend definition that is not a
declaration.
Diffstat (limited to 'x11/fltk13')
-rw-r--r-- | x11/fltk13/distinfo | 3 | ||||
-rw-r--r-- | x11/fltk13/patches/patch-fluid_Fl__Type.h | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/x11/fltk13/distinfo b/x11/fltk13/distinfo index c042d561e1c..7e6c5556529 100644 --- a/x11/fltk13/distinfo +++ b/x11/fltk13/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.3 2013/06/09 16:09:35 ryoon Exp $ +$NetBSD: distinfo,v 1.4 2013/07/13 19:44:54 joerg Exp $ SHA1 (fltk-1.3.2-source.tar.gz) = 25071d6bb81cc136a449825bfd574094b48f07fb RMD160 (fltk-1.3.2-source.tar.gz) = 5d697cb582cb80a1eca50c35696731eea5591768 @@ -11,4 +11,5 @@ SHA1 (patch-ad) = 01a25d7265784572fbd0c7d2c6f029d45333ad21 SHA1 (patch-ae) = e043676f7e111e343bccd6e49f83d11a018fa431 SHA1 (patch-af) = a4154e31fca9ecf125922a84ac39771bc71dcb0f SHA1 (patch-ag) = 87e890ac44b864c224855611942d58dd0ba4b2c9 +SHA1 (patch-fluid_Fl__Type.h) = b404853054a148781af8e8b92cba081154c09686 SHA1 (patch-test_Makefile) = 708decc3be69a9a4db82ab6fe473cf3417c969f2 diff --git a/x11/fltk13/patches/patch-fluid_Fl__Type.h b/x11/fltk13/patches/patch-fluid_Fl__Type.h new file mode 100644 index 00000000000..35ae26e0e23 --- /dev/null +++ b/x11/fltk13/patches/patch-fluid_Fl__Type.h @@ -0,0 +1,15 @@ +$NetBSD: patch-fluid_Fl__Type.h,v 1.1 2013/07/13 19:44:54 joerg Exp $ + +Friends may not declare default arguments with being a definition. + +--- fluid/Fl_Type.h.orig 2013-07-12 17:49:55.000000000 +0000 ++++ fluid/Fl_Type.h +@@ -36,7 +36,7 @@ void set_modflag(int mf); + class Fl_Type { + + friend class Widget_Browser; +- friend Fl_Widget *make_type_browser(int,int,int,int,const char *l=0); ++ friend Fl_Widget *make_type_browser(int,int,int,int,const char *l); + friend class Fl_Window_Type; + virtual void setlabel(const char *); // virtual part of label(char*) + |