summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Anderson <gentoofan23@gentoo.org>2008-06-26 14:25:35 +0000
committerThomas Anderson <gentoofan23@gentoo.org>2008-06-26 14:25:35 +0000
commit51877e176b1213d488ac8026ee5872f53fd34343 (patch)
tree7fcb6a89d6f0cda416d19b2507338a3df1d7ce7f
parentstable amd64, bug 229585 (diff)
downloadgentoo-2-51877e176b1213d488ac8026ee5872f53fd34343.tar.gz
gentoo-2-51877e176b1213d488ac8026ee5872f53fd34343.tar.bz2
gentoo-2-51877e176b1213d488ac8026ee5872f53fd34343.zip
Fix implicit declarations, bug #229585
(Portage version: 2.1.4.4)
-rw-r--r--x11-plugins/wmMoonClock/ChangeLog6
-rw-r--r--x11-plugins/wmMoonClock/files/wmMoonClock-1.27-implicit.patch9
-rw-r--r--x11-plugins/wmMoonClock/wmMoonClock-1.27-r1.ebuild3
3 files changed, 16 insertions, 2 deletions
diff --git a/x11-plugins/wmMoonClock/ChangeLog b/x11-plugins/wmMoonClock/ChangeLog
index 21f1b7792ea6..f6cda8b8a2fe 100644
--- a/x11-plugins/wmMoonClock/ChangeLog
+++ b/x11-plugins/wmMoonClock/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for x11-plugins/wmMoonClock
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmMoonClock/ChangeLog,v 1.11 2008/06/26 14:20:16 gentoofan23 Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmMoonClock/ChangeLog,v 1.12 2008/06/26 14:25:34 gentoofan23 Exp $
+
+ 26 Jun 2008; Thomas Anderson <gentoofan23@gentoo.org>
+ +files/wmMoonClock-1.27-implicit.patch, wmMoonClock-1.27-r1.ebuild:
+ Fix implicit declarations, bug #229585
26 Jun 2008; Thomas Anderson <gentoofan23@gentoo.org>
wmMoonClock-1.27-r1.ebuild:
diff --git a/x11-plugins/wmMoonClock/files/wmMoonClock-1.27-implicit.patch b/x11-plugins/wmMoonClock/files/wmMoonClock-1.27-implicit.patch
new file mode 100644
index 000000000000..22ac78bd141a
--- /dev/null
+++ b/x11-plugins/wmMoonClock/files/wmMoonClock-1.27-implicit.patch
@@ -0,0 +1,9 @@
+diff -aur wmMoonClock-1.27-orig/Src/CalcEphem.h wmMoonClock-1.27/Src/CalcEphem.h
+--- wmMoonClock-1.27-orig/Src/CalcEphem.h 1998-12-31 13:25:16.000000000 -0500
++++ wmMoonClock-1.27/Src/CalcEphem.h 2008-06-26 10:29:30.000000000 -0400
+@@ -1,4 +1,5 @@
+ #include <stdio.h>
++#include <string.h>
+ #include <math.h>
+
+ #define DegPerRad 57.29577951308232087680
diff --git a/x11-plugins/wmMoonClock/wmMoonClock-1.27-r1.ebuild b/x11-plugins/wmMoonClock/wmMoonClock-1.27-r1.ebuild
index 5e683d9996ef..878aebb00f21 100644
--- a/x11-plugins/wmMoonClock/wmMoonClock-1.27-r1.ebuild
+++ b/x11-plugins/wmMoonClock/wmMoonClock-1.27-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmMoonClock/wmMoonClock-1.27-r1.ebuild,v 1.2 2008/06/26 14:20:16 gentoofan23 Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmMoonClock/wmMoonClock-1.27-r1.ebuild,v 1.3 2008/06/26 14:25:34 gentoofan23 Exp $
inherit eutils multilib toolchain-funcs
@@ -26,6 +26,7 @@ src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${P}-makefile.patch
+ epatch "${FILESDIR}"/${P}-implicit.patch
}
src_compile() {