summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Shakaryan <omp@gentoo.org>2008-09-21 06:25:55 +0000
committerDavid Shakaryan <omp@gentoo.org>2008-09-21 06:25:55 +0000
commit1409c3b87aaf08a17b057fc47084836b52e888ee (patch)
tree4e77880ecdf82307e1316f479d216eaf9a3a5efe /app-admin
parentVersion bump. Try tests. Fix LICENSE. (diff)
downloadgentoo-2-1409c3b87aaf08a17b057fc47084836b52e888ee.tar.gz
gentoo-2-1409c3b87aaf08a17b057fc47084836b52e888ee.tar.bz2
gentoo-2-1409c3b87aaf08a17b057fc47084836b52e888ee.zip
Fix erroneous omission of stdio.h. (bug #237868)
(Portage version: 2.2_rc8/cvs/Linux 2.6.24-gentoo-r3 x86_64)
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/conky/ChangeLog6
-rw-r--r--app-admin/conky/conky-1.6.1.ebuild9
-rw-r--r--app-admin/conky/files/conky-1.6.1-stdio.patch12
3 files changed, 25 insertions, 2 deletions
diff --git a/app-admin/conky/ChangeLog b/app-admin/conky/ChangeLog
index 9c89c5807f77..890077c9913f 100644
--- a/app-admin/conky/ChangeLog
+++ b/app-admin/conky/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-admin/conky
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/conky/ChangeLog,v 1.96 2008/09/21 06:17:35 omp Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/conky/ChangeLog,v 1.97 2008/09/21 06:25:55 omp Exp $
+
+ 21 Sep 2008; David Shakaryan <omp@gentoo.org>
+ +files/conky-1.6.1-stdio.patch, conky-1.6.1.ebuild:
+ Fix erroneous omission of stdio.h. (bug #237868)
21 Sep 2008; David Shakaryan <omp@gentoo.org> metadata.xml,
conky-1.6.1.ebuild, conky-1.6.2_pre01247.ebuild:
diff --git a/app-admin/conky/conky-1.6.1.ebuild b/app-admin/conky/conky-1.6.1.ebuild
index fecce831f9d0..c4f62912eea2 100644
--- a/app-admin/conky/conky-1.6.1.ebuild
+++ b/app-admin/conky/conky-1.6.1.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/app-admin/conky/conky-1.6.1.ebuild,v 1.8 2008/09/21 06:17:35 omp Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/conky/conky-1.6.1.ebuild,v 1.9 2008/09/21 06:25:55 omp Exp $
inherit eutils
# used for epause
@@ -60,6 +60,13 @@ pkg_setup() {
fi
}
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}/${P}-stdio.patch"
+}
+
src_compile() {
local mymake
if useq ipv6 ; then
diff --git a/app-admin/conky/files/conky-1.6.1-stdio.patch b/app-admin/conky/files/conky-1.6.1-stdio.patch
new file mode 100644
index 000000000000..3b0d2820dea5
--- /dev/null
+++ b/app-admin/conky/files/conky-1.6.1-stdio.patch
@@ -0,0 +1,12 @@
+Index: src/conky.h
+===================================================================
+--- src/conky.h (revision 1237)
++++ src/conky.h (working copy)
+@@ -43,6 +43,7 @@
+
+ #include "config.h"
+ #include <sys/utsname.h>
++#include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
+ #include <locale.h>