summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-04-17 15:18:00 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-04-17 15:18:00 +0000
commitd273f9222beaad49d477522e0df2edbce226d52d (patch)
tree04d5cf0974e5eb732288d6dd1dcbb4c8a831d2a8 /media-video
parentAdd a check for encode useflag in mplayer package, bug #114396. Thanks to Aru... (diff)
downloadhistorical-d273f9222beaad49d477522e0df2edbce226d52d.tar.gz
historical-d273f9222beaad49d477522e0df2edbce226d52d.tar.bz2
historical-d273f9222beaad49d477522e0df2edbce226d52d.zip
Add patch to include errno.h instead of definining errno on the spot from Alexey Maximof in bug #114567.
Package-Manager: portage-2.1_pre7-r5
Diffstat (limited to 'media-video')
-rw-r--r--media-video/stan/ChangeLog7
-rw-r--r--media-video/stan/Manifest23
-rw-r--r--media-video/stan/files/stan-0.4.1-errno.patch26
-rw-r--r--media-video/stan/stan-0.4.1.ebuild15
4 files changed, 61 insertions, 10 deletions
diff --git a/media-video/stan/ChangeLog b/media-video/stan/ChangeLog
index d1a5876da408..22f626094722 100644
--- a/media-video/stan/ChangeLog
+++ b/media-video/stan/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-video/stan
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/stan/ChangeLog,v 1.2 2006/01/08 12:05:56 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/stan/ChangeLog,v 1.3 2006/04/17 15:18:00 flameeyes Exp $
+
+ 17 Apr 2006; Diego Pettenò <flameeyes@gentoo.org>
+ +files/stan-0.4.1-errno.patch, stan-0.4.1.ebuild:
+ Add patch to include errno.h instead of definining errno on the spot from
+ Alexey Maximof in bug #114567.
08 Jan 2006; Diego Pettenò <flameeyes@gentoo.org> metadata.xml:
Remove retiring dev from metadata.
diff --git a/media-video/stan/Manifest b/media-video/stan/Manifest
index 80d2ec12a991..998cfb232eb8 100644
--- a/media-video/stan/Manifest
+++ b/media-video/stan/Manifest
@@ -1,14 +1,25 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-MD5 51b03be69f3f680e9edeeafa04ae9930 ChangeLog 512
+MD5 de9801e5ff365c63e3c9cd8e0f90e0e1 ChangeLog 727
+RMD160 de1c9964aa354645d6162cb09994d46a02f57522 ChangeLog 727
+SHA256 876950ac21d31bb4a0fcec9e4bc29b18b81d02f179fcdea97772b9555e09bfd2 ChangeLog 727
MD5 b9f1671a1734aa05394e2bfc85152e6b files/digest-stan-0.4.1 61
+RMD160 243f7d343c7d87f273887ef56575710349fd3e72 files/digest-stan-0.4.1 61
+SHA256 0678ce94ffa9db16caa7dff7c657af27c8326b0a264cedf247c571c642706561 files/digest-stan-0.4.1 61
+MD5 d6e0db6ece7abaa543ec76c0e4cb1527 files/stan-0.4.1-errno.patch 645
+RMD160 0355a26f75f08cffbbd17a9ea30526588f3dc283 files/stan-0.4.1-errno.patch 645
+SHA256 22c28b8242e9142fc1be124a063415eae1a273e98f300b1a35b76d331439aa30 files/stan-0.4.1-errno.patch 645
MD5 7300a7b361fa9f48e37722c6952bd432 metadata.xml 158
-MD5 5637adb90156b57ed21a30ac3005423c stan-0.4.1.ebuild 511
+RMD160 d91ff64b3e5f86657b8b6ba02c41a26247a2fac7 metadata.xml 158
+SHA256 f9dd4fb4a7f368e776ea0d7d394dad8f3a674e67f6103d6fb58a8a98971eeee4 metadata.xml 158
+MD5 2885230680d5ed9264e1bf0136d72ec0 stan-0.4.1.ebuild 628
+RMD160 01d0b0758d6edd37e5698948e921994e8e2cffa0 stan-0.4.1.ebuild 628
+SHA256 2e20d6f0f6d2cd6684fc2dbfe4b8da1713921660af4161868bcc1bf3aaddef2b stan-0.4.1.ebuild 628
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2 (GNU/Linux)
+Version: GnuPG v1.4.2.2 (GNU/Linux)
-iD8DBQFDwQAxAiZjviIA2XgRAqxbAJ48v/3wO+c3FCMX8+fzRLia+4jSRQCgzYGz
-BS3jax1oJjhwYkbt5g0Y/eQ=
-=Kjo0
+iD8DBQFEQ7ECAiZjviIA2XgRAl2sAJ9INITZZllDWsNiqepVXg68cdpQ8QCg6hcg
+7FB4MPUGeWAoaCVNldlVBNE=
+=9nXj
-----END PGP SIGNATURE-----
diff --git a/media-video/stan/files/stan-0.4.1-errno.patch b/media-video/stan/files/stan-0.4.1-errno.patch
new file mode 100644
index 000000000000..a63810c1ac1b
--- /dev/null
+++ b/media-video/stan/files/stan-0.4.1-errno.patch
@@ -0,0 +1,26 @@
+--- src/data.c.orig 2005-12-05 13:23:44.000000000 +0200
++++ src/data.c 2005-12-05 13:24:31.000000000 +0200
+@@ -55,7 +55,9 @@
+ #include <stats.h>
+ #include <config.h>
+
+-extern int errno, verbose, progress, bits;
++#include <errno.h>
++
++extern int verbose, progress, bits;
+ extern tnode_t **treap;
+ extern bnode_t *bintree;
+ size_t size = 0;
+--- src/stan.c.orig 2005-12-05 13:23:49.000000000 +0200
++++ src/stan.c 2005-12-05 13:24:57.000000000 +0200
+@@ -46,7 +46,9 @@
+ #include <bits.h>
+ #include <config.h>
+
+-int errno, verbose = 0, progress = 0, bits = 0;
++#include <errno.h>
++
++int verbose = 0, progress = 0, bits = 0;
+
+ void print_usage()
+ {
diff --git a/media-video/stan/stan-0.4.1.ebuild b/media-video/stan/stan-0.4.1.ebuild
index 571d39dba201..4115620f6116 100644
--- a/media-video/stan/stan-0.4.1.ebuild
+++ b/media-video/stan/stan-0.4.1.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/stan/stan-0.4.1.ebuild,v 1.1 2005/01/17 18:12:44 kzimmerm Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/stan/stan-0.4.1.ebuild,v 1.2 2006/04/17 15:18:00 flameeyes Exp $
+
+inherit eutils
DESCRIPTION="Stan is a console application that analyzes binary streams and calculates statistical information."
HOMEPAGE="http://www.roqe.org/stan/"
@@ -13,6 +15,13 @@ IUSE=""
DEPEND=""
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}/${P}-errno.patch"
+}
+
src_install() {
- einstall || die
+ einstall || die "einstall failed"
}