summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-plugins/vdr-calc/ChangeLog6
-rw-r--r--media-plugins/vdr-calc/files/vdr-calc-0.0.1_rc5-gcc4.diff12
-rw-r--r--media-plugins/vdr-calc/vdr-calc-0.0.1_rc5.ebuild4
3 files changed, 20 insertions, 2 deletions
diff --git a/media-plugins/vdr-calc/ChangeLog b/media-plugins/vdr-calc/ChangeLog
index 142e013a0cd0..bcbd04ef80cd 100644
--- a/media-plugins/vdr-calc/ChangeLog
+++ b/media-plugins/vdr-calc/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-plugins/vdr-calc
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-calc/ChangeLog,v 1.2 2006/04/17 16:50:08 zzam Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-calc/ChangeLog,v 1.3 2006/07/08 19:08:20 zzam Exp $
+
+ 08 Jul 2006; Matthias Schwarzott <zzam@gentoo.org>
+ +files/vdr-calc-0.0.1_rc5-gcc4.diff, vdr-calc-0.0.1_rc5.ebuild:
+ Added gcc4-compatibility patch.
17 Apr 2006; Matthias Schwarzott <zzam@gentoo.org>
vdr-calc-0.0.1_rc5.ebuild:
diff --git a/media-plugins/vdr-calc/files/vdr-calc-0.0.1_rc5-gcc4.diff b/media-plugins/vdr-calc/files/vdr-calc-0.0.1_rc5-gcc4.diff
new file mode 100644
index 000000000000..0c5aaafd34ee
--- /dev/null
+++ b/media-plugins/vdr-calc/files/vdr-calc-0.0.1_rc5-gcc4.diff
@@ -0,0 +1,12 @@
+diff -ru calc-0.0.1-rc5-orig/calc.c calc-0.0.1-rc5/calc.c
+--- calc-0.0.1-rc5-orig/calc.c 2006-07-08 20:57:47.571929926 +0200
++++ calc-0.0.1-rc5/calc.c 2006-07-08 20:58:03.045402607 +0200
+@@ -72,7 +72,7 @@
+ void AddDigit(eKeys key);
+ void CalculateResult(char* inOperand1, char* inOperand2, char *outOperand, char cOperator);
+ operType operatorSymbol;
+- void cCalcMain::CalculateResultTrig(char* inOperand1, char *outOperand, char cOperator, gradType calculateGradType);
++ void CalculateResultTrig(char* inOperand1, char *outOperand, char cOperator, gradType calculateGradType);
+ public:
+ cCalcMain(void);
+ ~cCalcMain();
diff --git a/media-plugins/vdr-calc/vdr-calc-0.0.1_rc5.ebuild b/media-plugins/vdr-calc/vdr-calc-0.0.1_rc5.ebuild
index d486e5aa8f03..07e2287351f5 100644
--- a/media-plugins/vdr-calc/vdr-calc-0.0.1_rc5.ebuild
+++ b/media-plugins/vdr-calc/vdr-calc-0.0.1_rc5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-calc/vdr-calc-0.0.1_rc5.ebuild,v 1.2 2006/04/17 16:50:08 zzam Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-calc/vdr-calc-0.0.1_rc5.ebuild,v 1.3 2006/07/08 19:08:20 zzam Exp $
IUSE=""
inherit vdr-plugin
@@ -15,3 +15,5 @@ LICENSE="GPL-2"
DEPEND=">=media-video/vdr-1.3.7"
+PATCHES="${FILESDIR}/${P}-gcc4.diff"
+