summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Harring <ferringb@gentoo.org>2004-02-01 12:29:46 +0000
committerBrian Harring <ferringb@gentoo.org>2004-02-01 12:29:46 +0000
commit48a8bc834b8060fffaf3a856a3589fdd224f6401 (patch)
tree623f715154d6875dd34c18ea62b1c6568a3a4911 /games-emulation/stella
parentFixed my errors. Closes #40045. (diff)
downloadhistorical-48a8bc834b8060fffaf3a856a3589fdd224f6401.tar.gz
historical-48a8bc834b8060fffaf3a856a3589fdd224f6401.tar.bz2
historical-48a8bc834b8060fffaf3a856a3589fdd224f6401.zip
Tweaked the alsalib patch slightly, removing an uncessary definition.
Diffstat (limited to 'games-emulation/stella')
-rw-r--r--games-emulation/stella/Manifest2
-rw-r--r--games-emulation/stella/files/stella-1.3-alsa-fix.patch8
2 files changed, 4 insertions, 6 deletions
diff --git a/games-emulation/stella/Manifest b/games-emulation/stella/Manifest
index ebbc3349c859..b65ccaf64a91 100644
--- a/games-emulation/stella/Manifest
+++ b/games-emulation/stella/Manifest
@@ -2,7 +2,7 @@ MD5 29f58d8ac5598d702edeef2324ea75c6 stella-1.2.ebuild 1114
MD5 bcfe3f4680395d5c05e8ae985a6c48c4 ChangeLog 819
MD5 86feb9877c54bafffaad6d88c76ac0a8 stella-1.3.ebuild 1262
MD5 e598816335d2efb933951aede7a20fa4 stella-1.3-r1.ebuild 1386
-MD5 50234c4f315b2cce6869a5f5976046af files/stella-1.3-alsa-fix.patch 1112
+MD5 72f37d51ae26ee356cc4ede6b1438195 files/stella-1.3-alsa-fix.patch 1040
MD5 4ed8ab29f9d3ab27873b12516dfd9fdf files/digest-stella-1.2 66
MD5 5af9244b91231a9124ae00e7620ad00e files/digest-stella-1.3 66
MD5 5af9244b91231a9124ae00e7620ad00e files/digest-stella-1.3-r1 66
diff --git a/games-emulation/stella/files/stella-1.3-alsa-fix.patch b/games-emulation/stella/files/stella-1.3-alsa-fix.patch
index fd603b286a72..a9193fd870b8 100644
--- a/games-emulation/stella/files/stella-1.3-alsa-fix.patch
+++ b/games-emulation/stella/files/stella-1.3-alsa-fix.patch
@@ -1,14 +1,13 @@
diff -ur stella-1.3/src/ui/sound/SoundALSA.cxx stella-1.3-fixed/src/ui/sound/SoundALSA.cxx
--- stella-1.3/src/ui/sound/SoundALSA.cxx 2003-02-17 19:19:44.000000000 -0600
+++ stella-1.3-fixed/src/ui/sound/SoundALSA.cxx 2004-01-22 00:57:30.000000000 -0600
-@@ -16,6 +16,11 @@
- // $Id: stella-1.3-alsa-fix.patch,v 1.1 2004/02/01 12:13:02 ferringb Exp $
+@@ -16,6 +16,10 @@
+ // $Id: stella-1.3-alsa-fix.patch,v 1.2 2004/02/01 12:29:32 ferringb Exp $
//============================================================================
+#include <alsa/version.h>
+#if SND_LIB_MAJOR==1
+#define ALSA_PCM_OLD_HW_PARAMS_API
-+#define ALSA_PCM_NEW_HW_PARAMS_API
+#endif
#include <alsa/asoundlib.h>
#include <stdio.h>
@@ -16,14 +15,13 @@ diff -ur stella-1.3/src/ui/sound/SoundALSA.cxx stella-1.3-fixed/src/ui/sound/Sou
diff -ur stella-1.3/src/ui/sound/SoundALSA.hxx stella-1.3-fixed/src/ui/sound/SoundALSA.hxx
--- stella-1.3/src/ui/sound/SoundALSA.hxx 2003-02-17 19:19:44.000000000 -0600
+++ stella-1.3-fixed/src/ui/sound/SoundALSA.hxx 2004-01-22 00:57:01.000000000 -0600
-@@ -19,6 +19,11 @@
+@@ -20,6 +19,10 @@
#ifndef SOUNDALSA_HXX
#define SOUNDALSA_HXX
+#include <alsa/version.h>
+#if SND_LIB_MAJOR==1
+#define ALSA_PCM_OLD_HW_PARAMS_API
-+#define ALSA_PCM_NEW_HW_PARAMS_API
+#endif
#include <alsa/asoundlib.h>