summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Mende <angelos@gentoo.org>2011-05-07 17:46:18 +0000
committerChristoph Mende <angelos@gentoo.org>2011-05-07 17:46:18 +0000
commitda4ce8c3fe2ad2f7e743fd72d173bfbc4803719f (patch)
treea0d792b4f595cb2eed3f57e9d29c58fce867b205 /media-sound/horgand
parentalpha/arm/ia64/sh/sparc stable wrt #363767 (diff)
downloadhistorical-da4ce8c3fe2ad2f7e743fd72d173bfbc4803719f.tar.gz
historical-da4ce8c3fe2ad2f7e743fd72d173bfbc4803719f.tar.bz2
historical-da4ce8c3fe2ad2f7e743fd72d173bfbc4803719f.zip
Fix possible overflow (bug #351290)
Package-Manager: portage-2.2.0_alpha31/cvs/Linux x86_64
Diffstat (limited to 'media-sound/horgand')
-rw-r--r--media-sound/horgand/ChangeLog6
-rw-r--r--media-sound/horgand/Manifest13
-rw-r--r--media-sound/horgand/files/horgand-1.14-overflow.patch13
-rw-r--r--media-sound/horgand/horgand-1.14.ebuild9
4 files changed, 31 insertions, 10 deletions
diff --git a/media-sound/horgand/ChangeLog b/media-sound/horgand/ChangeLog
index 1e3cd198dc2f..b9dd10b7e1fb 100644
--- a/media-sound/horgand/ChangeLog
+++ b/media-sound/horgand/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-sound/horgand
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/horgand/ChangeLog,v 1.25 2011/03/20 20:09:59 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/horgand/ChangeLog,v 1.26 2011/05/07 17:46:18 angelos Exp $
+
+ 07 May 2011; Christoph Mende <angelos@gentoo.org> horgand-1.14.ebuild,
+ +files/horgand-1.14-overflow.patch:
+ Fix possible overflow (bug #351290)
20 Mar 2011; Justin Lecher <jlec@gentoo.org> horgand-1.14.ebuild:
x11-libs/fltk SLOTMOVE 1.1 -> 1, corrected ebuild accordingly
diff --git a/media-sound/horgand/Manifest b/media-sound/horgand/Manifest
index d75e7d05acf4..15b6dde2f99d 100644
--- a/media-sound/horgand/Manifest
+++ b/media-sound/horgand/Manifest
@@ -1,14 +1,15 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
+Hash: SHA256
+AUX horgand-1.14-overflow.patch 235 RMD160 20c44f30ee4913b43da908cac19fda0e5369dc31 SHA1 361917914de9cf6968cadc5243c7ef6fb44e81cb SHA256 af59be3b3d0769a2f5d51bb2e895f6fa9571226fac2b299f01c2397043d0829c
DIST horgand-1.14.tar.gz 2531734 RMD160 73fa51d91936ff95e8029c628cfdca4061ccebf7 SHA1 045b339241e8047aa8f5221fa215789333d6ef47 SHA256 836b3a8608953bb3bb37151947eb6236c557a9efde10e4bae1ecad46fc325e8e
-EBUILD horgand-1.14.ebuild 1039 RMD160 c74c918047f135db98503689976c33232cd04642 SHA1 54c41d93b5c352f599bb4cbdf86dd49ef94991ea SHA256 29c1f6be5e10460f34471c70b907da4680971bb373262664f1a73e3ec7556ffa
-MISC ChangeLog 3130 RMD160 90b120e7d8101604e75d2e917615378c9663c2c4 SHA1 3581b83862e433877d6c4cb17b3d0f6bd530147d SHA256 6b1502fd218612c353ccd8fbbb2174a0c8ab8ae91997c92c0f08b52bec73c0bc
+EBUILD horgand-1.14.ebuild 1094 RMD160 1649e65b76838400486c86a3e6e01bf1f2e59ade SHA1 44d635915d6ef941da7852224609e5557b0afdc5 SHA256 d3ef6c9fbbaff92f2627e9e3154fe69846724dc087bd64f0fecdb3889bebb3a8
+MISC ChangeLog 3283 RMD160 d1dc477b0ee8f71840bf744d45896ffb2b62ca99 SHA1 b37b264921463b1f3a38110e98939b8b8ff231bd SHA256 4082a11b87823cf7c60584688b31530135bcdaf1738c4bafd89ce7f6f8479744
MISC metadata.xml 158 RMD160 6842e2189a50bd8a98e84802c38180ac1421c00e SHA1 703cea5a2109d41f7c87993c1f01d418a4c85174 SHA256 dfb5b47e6836db39fb187301dfcff1c2605e91d13d21db160806a563d8c75f9b
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iEYEARECAAYFAk2GXxwACgkQgAnW8HDreRZZSACbBS6ujfLoHCuPHIsClEltKy4U
-PNYAoMqlD/FfNUM6Ut5UfOCvnLym2yZR
-=GVfE
+iF4EAREIAAYFAk3FhW8ACgkQmWq1bYTyC0NN3QD/VFfrRp/egFQ6iTiHZ2/+8JU0
+Oximt4lfhGo0vf+/5L4A/2C5AhpKeS4BOzB7JE3UNpnf17DG7CzvLUh/DM+PcN3h
+=7RKX
-----END PGP SIGNATURE-----
diff --git a/media-sound/horgand/files/horgand-1.14-overflow.patch b/media-sound/horgand/files/horgand-1.14-overflow.patch
new file mode 100644
index 000000000000..05e359b7c8d9
--- /dev/null
+++ b/media-sound/horgand/files/horgand-1.14-overflow.patch
@@ -0,0 +1,13 @@
+diff --git a/src/Holrgan.h b/src/Holrgan.h
+index 1b93042..f8e9209 100644
+--- a/src/Holrgan.h
++++ b/src/Holrgan.h
+@@ -398,7 +398,7 @@ struct Ch3
+ struct Ch4
+
+ {
+- char Nom[10];
++ char Nom[12];
+ int type;
+ int fund;
+ int dist1;
diff --git a/media-sound/horgand/horgand-1.14.ebuild b/media-sound/horgand/horgand-1.14.ebuild
index 7ec5384bcf44..af526f5195fe 100644
--- a/media-sound/horgand/horgand-1.14.ebuild
+++ b/media-sound/horgand/horgand-1.14.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/horgand/horgand-1.14.ebuild,v 1.6 2011/03/20 20:09:59 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/horgand/horgand-1.14.ebuild,v 1.7 2011/05/07 17:46:18 angelos Exp $
-EAPI="1"
+EAPI=2
inherit eutils toolchain-funcs
DESCRIPTION="Opensource software organ"
@@ -23,8 +23,11 @@ RDEPEND="x11-libs/fltk:1
DEPEND="${RDEPEND}
dev-util/pkgconfig"
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-overflow.patch
+}
+
src_compile() {
- econf
emake CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS} $(fltk-config --cxxflags) \
$(pkg-config --cflags jack) $(pkg-config --cflags sndfile)" || die "emake failed."
}