summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Brinkmann <luckyduck@gentoo.org>2005-04-01 20:35:07 +0000
committerJan Brinkmann <luckyduck@gentoo.org>2005-04-01 20:35:07 +0000
commite5bcefeb4ddee7e196a9a00d0f8aad15005a58c4 (patch)
tree2218349acc47c22ee0b89f71451891eebbacdf83 /media-sound/gsm
parentStable on ppc. (diff)
downloadhistorical-e5bcefeb4ddee7e196a9a00d0f8aad15005a58c4.tar.gz
historical-e5bcefeb4ddee7e196a9a00d0f8aad15005a58c4.tar.bz2
historical-e5bcefeb4ddee7e196a9a00d0f8aad15005a58c4.zip
added a patch for amd64, fixes #86593
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'media-sound/gsm')
-rw-r--r--media-sound/gsm/ChangeLog8
-rw-r--r--media-sound/gsm/Manifest13
-rw-r--r--media-sound/gsm/files/gsm-1.0.10-amd64.diff16
-rw-r--r--media-sound/gsm/gsm-1.0.10.ebuild12
4 files changed, 38 insertions, 11 deletions
diff --git a/media-sound/gsm/ChangeLog b/media-sound/gsm/ChangeLog
index 368405c3f466..2eb693cc002c 100644
--- a/media-sound/gsm/ChangeLog
+++ b/media-sound/gsm/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-sound/gsm
-# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/gsm/ChangeLog,v 1.11 2004/12/19 05:46:37 eradicator Exp $
+# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/gsm/ChangeLog,v 1.12 2005/04/01 20:35:07 luckyduck Exp $
+
+ 01 Apr 2005; Jan Brinkmann <luckyduck@gentoo.org>
+ +files/gsm-1.0.10-amd64.diff, gsm-1.0.10.ebuild:
+ added a patch for amd64, fixes #86593
18 Dec 2004; Jeremy Huddleston <eradicator@gentoo.org> gsm-1.0.10.ebuild:
Stable sparc.
diff --git a/media-sound/gsm/Manifest b/media-sound/gsm/Manifest
index 452df804af71..42df9417b790 100644
--- a/media-sound/gsm/Manifest
+++ b/media-sound/gsm/Manifest
@@ -1,14 +1,15 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-MD5 838b6d282551419946c1016a1b7d7ff2 ChangeLog 1013
-MD5 78d31c979d77406a3a2462d05a1c5d54 gsm-1.0.10.ebuild 984
+MD5 93d65c607af137f63978eb02811f7195 gsm-1.0.10.ebuild 1079
+MD5 6635d133f9e8b74cfebb930330144f8f ChangeLog 1156
MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158
MD5 8179ccaf93a92a8a0dedf55cea8eb26f files/digest-gsm-1.0.10 61
+MD5 cf99fa6ecbaddb1c554a36ba9ca4169f files/gsm-1.0.10-amd64.diff 591
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.2.6 (GNU/Linux)
+Version: GnuPG v1.4.0 (GNU/Linux)
-iD8DBQFBxRXvArHZZzCEUG0RAvrkAJ4t7MAU1I2vGt/Kw2ZnmeEsavUc6ACfSq/y
-6xKS3VyIvNo87IXhGOSEjL0=
-=g+ao
+iD8DBQFCTbCV06ebR+OMO78RAuJOAJ4iRqOx/GOir0gAU6SMPHi5iHHt/ACbBPbg
+9aQBd+wI8COrSIOTLnPzKjI=
+=rMzH
-----END PGP SIGNATURE-----
diff --git a/media-sound/gsm/files/gsm-1.0.10-amd64.diff b/media-sound/gsm/files/gsm-1.0.10-amd64.diff
new file mode 100644
index 000000000000..6b96d57ba8e1
--- /dev/null
+++ b/media-sound/gsm/files/gsm-1.0.10-amd64.diff
@@ -0,0 +1,16 @@
+diff -ur gsm-1.0-pl10-orig/inc/private.h gsm-1.0-pl10/inc/private.h
+--- gsm-1.0-pl10-orig/inc/private.h 2005-03-25 00:35:41.000000000 +0100
++++ gsm-1.0-pl10/inc/private.h 2005-03-25 00:36:05.000000000 +0100
+@@ -10,10 +10,10 @@
+ #define PRIVATE_H
+
+ typedef short word; /* 16 bit signed int */
+-typedef long longword; /* 32 bit signed int */
++typedef int longword; /* 32 bit signed int */
+
+ typedef unsigned short uword; /* unsigned word */
+-typedef unsigned long ulongword; /* unsigned longword */
++typedef unsigned int ulongword; /* unsigned longword */
+
+ struct gsm_state {
+
diff --git a/media-sound/gsm/gsm-1.0.10.ebuild b/media-sound/gsm/gsm-1.0.10.ebuild
index 401a73f02633..c7a1a8110188 100644
--- a/media-sound/gsm/gsm-1.0.10.ebuild
+++ b/media-sound/gsm/gsm-1.0.10.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/gsm/gsm-1.0.10.ebuild,v 1.13 2004/12/19 05:46:37 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/gsm/gsm-1.0.10.ebuild,v 1.14 2005/04/01 20:35:07 luckyduck Exp $
IUSE=""
-inherit versionator
+inherit eutils versionator
S="${WORKDIR}/${PN}-$(replace_version_separator 2 '-pl' )"
@@ -18,6 +18,12 @@ KEYWORDS="amd64 ppc sparc x86"
DEPEND="virtual/libc"
+src_unpack() {
+ unpack ${A}
+ cd ${A}
+ use amd64 && epatch ${FILESDIR}/${P}-amd64.diff
+}
+
src_compile() {
emake CCFLAGS="${CFLAGS} -c -DNeedFunctionPrototypes=1" || die
}