From 0647e4db8ec10ef0e91817cebfe0efa77a228748 Mon Sep 17 00:00:00 2001
From: Tilman Keskinoz <arved@FreeBSD.org>
Date: Sun, 17 Dec 2006 19:28:49 +0000
Subject: Fix build with gcc41

PR:		106837
Submitted by:	David Johnson (maintainer)
---
 misc/qbrew/files/patch-qbrew-calc.h | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 misc/qbrew/files/patch-qbrew-calc.h

(limited to 'misc/qbrew')

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);
-- 
cgit v1.2.3