aboutsummaryrefslogtreecommitdiff
path: root/misc/qbrew
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2006-12-17 19:28:49 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2006-12-17 19:28:49 +0000
commit0647e4db8ec10ef0e91817cebfe0efa77a228748 (patch)
tree46b0d53aa0cdf75a1fefd3957ef460459cb9a014 /misc/qbrew
parent80a08d871cc7ded5af45e2f6a9487774d5b86ed8 (diff)
downloadports-0647e4db8ec10ef0e91817cebfe0efa77a228748.tar.gz
ports-0647e4db8ec10ef0e91817cebfe0efa77a228748.zip
Fix build with gcc41
PR: 106837 Submitted by: David Johnson (maintainer)
Notes
Notes: svn path=/head/; revision=180029
Diffstat (limited to 'misc/qbrew')
-rw-r--r--misc/qbrew/files/patch-qbrew-calc.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/misc/qbrew/files/patch-qbrew-calc.h b/misc/qbrew/files/patch-qbrew-calc.h
new file mode 100644
index 000000000000..27116742d80e
--- /dev/null
+++ b/misc/qbrew/files/patch-qbrew-calc.h
@@ -0,0 +1,22 @@
+--- qbrew/calc.h.orig Sat Dec 16 14:34:28 2006
++++ qbrew/calc.h Sat Dec 16 14:34:52 2006
+@@ -175,15 +175,15 @@
+ static int SRM(Recipe *r);
+
+ // convert Specific Gravity to Plato
+- static double Calc::SgToP(double sg);
++ static double SgToP(double sg);
+ // convert grain extract to yield
+- static double Calc::extractToYield(double extract);
+- static double Calc::yieldToExtract(double yield);
++ static double extractToYield(double extract);
++ static double yieldToExtract(double yield);
+
+ // add an entry to the utilization table
+ static void addUEntry(const UEntry &u);
+ // get the table of utilizations
+- static const QValueList<UEntry> &Calc::getUEntryList();
++ static const QValueList<UEntry> &getUEntryList();
+
+ private:
+ static double calcOG(Recipe *r);