aboutsummaryrefslogtreecommitdiffstats
path: root/misc/qbrew
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2006-12-18 03:28:49 +0800
committerarved <arved@FreeBSD.org>2006-12-18 03:28:49 +0800
commitfde4e129ad9ca2bfadaecb7c6b16cb7f407b8775 (patch)
tree8da2ea8ffe98c6a45cd8ae2039e8d5070494cebf /misc/qbrew
parent45cd42af07840eec8971c98dd8d12815b196aaf0 (diff)
downloadfreebsd-ports-gnome-fde4e129ad9ca2bfadaecb7c6b16cb7f407b8775.tar.gz
freebsd-ports-gnome-fde4e129ad9ca2bfadaecb7c6b16cb7f407b8775.tar.zst
freebsd-ports-gnome-fde4e129ad9ca2bfadaecb7c6b16cb7f407b8775.zip
Fix build with gcc41
PR: 106837 Submitted by: David Johnson (maintainer)
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);