summaryrefslogtreecommitdiff
path: root/devel/netcdf/patches/patch-ak
diff options
context:
space:
mode:
Diffstat (limited to 'devel/netcdf/patches/patch-ak')
-rw-r--r--devel/netcdf/patches/patch-ak29
1 files changed, 29 insertions, 0 deletions
diff --git a/devel/netcdf/patches/patch-ak b/devel/netcdf/patches/patch-ak
new file mode 100644
index 00000000000..4022ff26a2f
--- /dev/null
+++ b/devel/netcdf/patches/patch-ak
@@ -0,0 +1,29 @@
+--- cxx/netcdfcpp.h.orig 2003-10-26 08:25:59.000000000 +1100
++++ cxx/netcdfcpp.h 2003-10-26 08:26:58.000000000 +1100
+@@ -154,7 +154,7 @@
+ virtual ~NcDim( void );
+
+ // to construct dimensions, since constructor is private
+- friend NcFile;
++ friend class NcFile;
+ };
+
+
+@@ -357,7 +357,7 @@
+ void init_cur( void );
+
+ // to make variables, since constructor is private
+- friend NcFile;
++ friend class NcFile;
+ };
+
+
+@@ -388,7 +388,7 @@
+ NcAtt( NcFile*, NcToken); // global attribute
+
+ // To make attributes, since constructor is private
+- friend NcFile;
++ friend class NcFile;
+ friend NcAtt* NcVar::get_att( NcToken ) const;
+ };
+