summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Smith <smithj@gentoo.org>2005-08-24 00:48:14 +0000
committerJonathan Smith <smithj@gentoo.org>2005-08-24 00:48:14 +0000
commit89fb6c50fceb5fd323139de5d2ceac4f1c886d7e (patch)
tree2ded942d7029f45d36e2e946d2b83e9e0fa94be1 /x11-misc
parentclean up ebuild to suck less (diff)
downloadgentoo-2-89fb6c50fceb5fd323139de5d2ceac4f1c886d7e.tar.gz
gentoo-2-89fb6c50fceb5fd323139de5d2ceac4f1c886d7e.tar.bz2
gentoo-2-89fb6c50fceb5fd323139de5d2ceac4f1c886d7e.zip
#100405: sedded #include <errno.h> into main.cc so it actually compiles
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/obpager/ChangeLog5
-rw-r--r--x11-misc/obpager/Manifest14
-rw-r--r--x11-misc/obpager/obpager-1.8.ebuild12
3 files changed, 14 insertions, 17 deletions
diff --git a/x11-misc/obpager/ChangeLog b/x11-misc/obpager/ChangeLog
index a8bf3d3fdb7f..66d9c6de65ba 100644
--- a/x11-misc/obpager/ChangeLog
+++ b/x11-misc/obpager/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for x11-misc/obpager
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/obpager/ChangeLog,v 1.3 2005/06/19 22:51:15 smithj Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/obpager/ChangeLog,v 1.4 2005/08/24 00:48:14 smithj Exp $
+
+ 24 Aug 2005; Jonathan Smith <smithj@gentoo.org> obpager-1.8.ebuild:
+ #100405: sedded #include <errno.h> into main.cc so it actually compiles
19 Jun 2005; Jonathan Smith <smithj@gentoo.org> obpager-1.8.ebuild:
stable x86
diff --git a/x11-misc/obpager/Manifest b/x11-misc/obpager/Manifest
index 7f85f6b58319..e69de29bb2d1 100644
--- a/x11-misc/obpager/Manifest
+++ b/x11-misc/obpager/Manifest
@@ -1,14 +0,0 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 f4a879e9364f8e44379f3467588cbe14 ChangeLog 554
-MD5 a833a8f11fdfcf95b3a92f93c68d5bc1 metadata.xml 313
-MD5 6c6178aebee93fabaf03e2c1a147c77e obpager-1.8.ebuild 557
-MD5 087ed13764f0ec9707aad1e98ecb7576 files/digest-obpager-1.8 62
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
-
-iD8DBQFCtfcil5AvwDPiUowRAgvlAJ4sVTdJ5dcvIRVzsK+wMrJP5zhoxQCgnG4r
-yT8o1O15m7aCF7ThfS6UtG0=
-=g/Mp
------END PGP SIGNATURE-----
diff --git a/x11-misc/obpager/obpager-1.8.ebuild b/x11-misc/obpager/obpager-1.8.ebuild
index 2ec8fcd53877..ced81e9711a3 100644
--- a/x11-misc/obpager/obpager-1.8.ebuild
+++ b/x11-misc/obpager/obpager-1.8.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/obpager/obpager-1.8.ebuild,v 1.4 2005/06/19 22:51:15 smithj Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/obpager/obpager-1.8.ebuild,v 1.5 2005/08/24 00:48:14 smithj Exp $
DESCRIPTION="Lightweight pager designed to be used with NetWM-compliant window manager"
HOMEPAGE="http://obpager.sourceforge.net/"
@@ -13,8 +13,16 @@ IUSE=""
DEPEND="virtual/x11"
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ # this makes it compile :-)
+ sed -i -e '18s/^.*$/#include <errno.h>/' src/main.cc
+}
+
src_compile() {
- emake || die
+ emake || die "emake failed"
}
src_install() {