summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny van Dyk <kugelfang@gentoo.org>2004-07-10 15:02:32 +0000
committerDanny van Dyk <kugelfang@gentoo.org>2004-07-10 15:02:32 +0000
commit5de8dd0906659e00b0f9b681e683b8921f64eee4 (patch)
tree04a3f45b42c9f9f886c7f51858bd127f9e2e9f0b /media-libs/nas
parentRe-added version 0.12.7 as some people have issues with 0.13.* (Manifest reco... (diff)
downloadgentoo-2-5de8dd0906659e00b0f9b681e683b8921f64eee4.tar.gz
gentoo-2-5de8dd0906659e00b0f9b681e683b8921f64eee4.tar.bz2
gentoo-2-5de8dd0906659e00b0f9b681e683b8921f64eee4.zip
Adding patch to come around segfault on amd64. BUG #44070.
Diffstat (limited to 'media-libs/nas')
-rw-r--r--media-libs/nas/ChangeLog6
-rw-r--r--media-libs/nas/files/nas-1.6c-header.patch10
-rw-r--r--media-libs/nas/nas-1.6c-r1.ebuild12
3 files changed, 25 insertions, 3 deletions
diff --git a/media-libs/nas/ChangeLog b/media-libs/nas/ChangeLog
index 1ad58511f44d..a90506f29aad 100644
--- a/media-libs/nas/ChangeLog
+++ b/media-libs/nas/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-libs/nas
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/nas/ChangeLog,v 1.24 2004/06/24 23:17:21 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/nas/ChangeLog,v 1.25 2004/07/10 15:02:32 kugelfang Exp $
+
+ 10 Jul 2004; Danny van Dyk <kugelfang@gentoo.org>
+ +files/nas-1.6c-header.patch, nas-1.6c-r1.ebuild:
+ Added patch on amd64 to cure segfaults. BUG #44070
19 Jun 2004; Tom Gall <tgall@gentoo.org> nas-1.6c-r1.ebuild:
~ppc64 bug #54449
diff --git a/media-libs/nas/files/nas-1.6c-header.patch b/media-libs/nas/files/nas-1.6c-header.patch
new file mode 100644
index 000000000000..1e94821a438e
--- /dev/null
+++ b/media-libs/nas/files/nas-1.6c-header.patch
@@ -0,0 +1,10 @@
+--- server/dia/main.c.orig 2004-07-10 16:26:02.392580536 +0200
++++ server/dia/main.c 2004-07-10 16:26:18.304161608 +0200
+@@ -51,6 +51,7 @@
+ * $Id: nas-1.6c-header.patch,v 1.1 2004/07/10 15:02:32 kugelfang Exp $
+ */
+
++#include <stdlib.h>
+ #include <stdio.h>
+ #include <audio/audio.h>
+ #include <audio/Aproto.h>
diff --git a/media-libs/nas/nas-1.6c-r1.ebuild b/media-libs/nas/nas-1.6c-r1.ebuild
index f66443c54656..28ead94399df 100644
--- a/media-libs/nas/nas-1.6c-r1.ebuild
+++ b/media-libs/nas/nas-1.6c-r1.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/nas/nas-1.6c-r1.ebuild,v 1.8 2004/06/24 23:17:21 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/nas/nas-1.6c-r1.ebuild,v 1.9 2004/07/10 15:02:32 kugelfang Exp $
+
+inherit eutils
DESCRIPTION="Network Audio System"
SRC_URI="http://radscan.com/nas/${P}.src.tar.gz"
@@ -20,10 +22,16 @@ RDEPEND="virtual/x11"
DEPEND="${RDEPEND}
sys-apps/sed"
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ use amd64 && epatch ${FILESDIR}/${P}-header.patch
+}
+
src_compile() {
xmkmf
touch doc/man/lib/tmp.{_man,man}
- emake World || die
+ CFLAGS="-O2 -ggdb" emake World || die
}
src_install () {