summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuncan Coutts <dcoutts@gentoo.org>2006-02-16 11:52:56 +0000
committerDuncan Coutts <dcoutts@gentoo.org>2006-02-16 11:52:56 +0000
commit119ccbc0df72ff92dae2be2b65f9f2ffe9ae9a19 (patch)
tree07abdf1987fedcda70b7367a935fb589a9904342 /dev-lang
parentFix download of patch, see bug #98460. (diff)
downloadhistorical-119ccbc0df72ff92dae2be2b65f9f2ffe9ae9a19.tar.gz
historical-119ccbc0df72ff92dae2be2b65f9f2ffe9ae9a19.tar.bz2
historical-119ccbc0df72ff92dae2be2b65f9f2ffe9ae9a19.zip
Add a patch to fix building of the OpenAL bindings. (thanks to kolmodin)
Package-Manager: portage-2.1_pre4-r1
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/hugs98/ChangeLog6
-rw-r--r--dev-lang/hugs98/Manifest27
-rw-r--r--dev-lang/hugs98/files/hugs98-2005.3-openal.patch29
-rw-r--r--dev-lang/hugs98/hugs98-2005.3-r2.ebuild5
-rw-r--r--dev-lang/hugs98/metadata.xml2
5 files changed, 53 insertions, 16 deletions
diff --git a/dev-lang/hugs98/ChangeLog b/dev-lang/hugs98/ChangeLog
index 217e179d8864..74ebaa895103 100644
--- a/dev-lang/hugs98/ChangeLog
+++ b/dev-lang/hugs98/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-lang/hugs98
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/hugs98/ChangeLog,v 1.26 2006/02/16 02:15:58 dcoutts Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/hugs98/ChangeLog,v 1.27 2006/02/16 11:52:55 dcoutts Exp $
+
+ 16 Feb 2006; <duncan@gentoo.org> +files/hugs98-2005.3-openal.patch,
+ metadata.xml, hugs98-2005.3-r2.ebuild:
+ Add a patch to fix building of the OpenAL bindings. (thanks to kolmodin)
*hugs98-2005.3-r2 (16 Feb 2006)
diff --git a/dev-lang/hugs98/Manifest b/dev-lang/hugs98/Manifest
index dbf2472e6b08..998b9a2adec5 100644
--- a/dev-lang/hugs98/Manifest
+++ b/dev-lang/hugs98/Manifest
@@ -1,9 +1,9 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-MD5 e472248eda41350e58862b01b675acdc ChangeLog 5206
-RMD160 ee01a7e64cfb7c5392ea9e7244beb23f79394176 ChangeLog 5206
-SHA256 3e4dc1ba96241586c07c1115486ccb2a08c6371efbb29cb60b3113b531cb50aa ChangeLog 5206
+MD5 025f52e4058a1ec0c3b62cd6a54dbec4 ChangeLog 5393
+RMD160 bd2b1f83dd776db65a3e8ff2aff33af75b6191dd ChangeLog 5393
+SHA256 944227c3b2194ef9774f6c27c2af6d7917156476f818a7a2edf5699dff5c2d98 ChangeLog 5393
MD5 eb7ae57bb23e867135381cbd99c5c1c0 files/digest-hugs98-2003.11 67
RMD160 22a7c4f341235c48d815661dbcd6bd09ea7e349c files/digest-hugs98-2003.11 67
SHA256 bba01220731cd99e559c50dd5ad243da635a47a797d83145e07c16722a4690dd files/digest-hugs98-2003.11 67
@@ -16,22 +16,25 @@ SHA256 2e788c888d2a255a600a26d9c75e61419b889531be148584f623c355c6092154 files/di
MD5 4c6e27fe15252dea9f141e0f6b06ed36 files/hugs98-2003.11-gcc34.patch 303
RMD160 db9c39870607d55182f1d09e7d52d6d03d7a9935 files/hugs98-2003.11-gcc34.patch 303
SHA256 d59a4b1d9fe4632d0a551aaeb2bc53e5804c88948e0a797220f427f0b452879d files/hugs98-2003.11-gcc34.patch 303
+MD5 c923a2f2a44b3e7dd35751a877c6e163 files/hugs98-2005.3-openal.patch 1323
+RMD160 eaf01eadf4bf71ed690fcccc2fdb57e3e3868e33 files/hugs98-2005.3-openal.patch 1323
+SHA256 7e60d448b4c75f0321ff6aec0cff845c9c6053b5ba5229af4451f814211f13ef files/hugs98-2005.3-openal.patch 1323
MD5 82baad88b726920518455a0b2c393f89 hugs98-2003.11.ebuild 2498
RMD160 7d5055cdc5f43465f35e0eac36559d2de85d3886 hugs98-2003.11.ebuild 2498
SHA256 57bcbdc2d3b77b9cde0deb36921da2e28798fe85eecdf1f02c0a5ec1a8d5054f hugs98-2003.11.ebuild 2498
MD5 acd9560964734571829a7a9fa4f09be2 hugs98-2005.3-r1.ebuild 2243
RMD160 a91956532064253e4524d09533f77212f9ad35e4 hugs98-2005.3-r1.ebuild 2243
SHA256 6e64b4670dd1edb87d366b501401d96ad8f0c9b6967bf8b4d5f9651e6e125e16 hugs98-2005.3-r1.ebuild 2243
-MD5 7c9b34c9e816d9740e7099ab8f99eea4 hugs98-2005.3-r2.ebuild 2910
-RMD160 3ab17446cf44d5eb60da013a240416ec320bd1d7 hugs98-2005.3-r2.ebuild 2910
-SHA256 59492581f8021b39a9185de70b0dc3668b4bc78828d1b34e28bb300f2c7a949b hugs98-2005.3-r2.ebuild 2910
-MD5 a769ecfcd1cdd2d40986627df7dfb249 metadata.xml 224
-RMD160 57bc74b2471cd3dba6dcdcce531df8eb82893cee metadata.xml 224
-SHA256 2b30834e4d9f141a1e1b63457d4af1f6a8cb6d4a47f8dd3b14e726277079769b metadata.xml 224
+MD5 9463ffaaca1b4b49c813fd61f67c48db hugs98-2005.3-r2.ebuild 2948
+RMD160 6e87dfd92e59fe1a75d51d236bff29a7edd37bb0 hugs98-2005.3-r2.ebuild 2948
+SHA256 c543295b9f17c5577c983b0baa20a17647211ce878b89b31968196fa4ee7cf98 hugs98-2005.3-r2.ebuild 2948
+MD5 c694674dcbef799cd4fdb6914683ebff metadata.xml 223
+RMD160 7783e6057effb8b8f0b79cffe8b557b32c633839 metadata.xml 223
+SHA256 1d00c8be162a6cb87b3de440b3e63e10b39c12d56e8fbfe592e75aed872b2508 metadata.xml 223
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (GNU/Linux)
-iD8DBQFD8+Bp/B0cxt+cq+wRAncLAKCYrOKlfI20lXnM6ixJbrqNo0u4OACfXorv
-4g7VbbVWWZOFpM7iZP1Iz80=
-=6Vmf
+iD8DBQFD9Gel/B0cxt+cq+wRAsS6AKCDSvsZ3QMga+vqqfzrLDsDMCkpMgCgrVfz
+juN7Z+zjRKt9xxrPcG4hApA=
+=ZCif
-----END PGP SIGNATURE-----
diff --git a/dev-lang/hugs98/files/hugs98-2005.3-openal.patch b/dev-lang/hugs98/files/hugs98-2005.3-openal.patch
new file mode 100644
index 000000000000..ddf4160db1b8
--- /dev/null
+++ b/dev-lang/hugs98/files/hugs98-2005.3-openal.patch
@@ -0,0 +1,29 @@
+diff -urwpN hugs98-Mar2005-orig/fptools/libraries/OpenAL/Sound/OpenAL/ALC/Context.hs hugs98-Mar2005/fptools/libraries/OpenAL/Sound/OpenAL/ALC/Context.hs
+--- hugs98-Mar2005-orig/fptools/libraries/OpenAL/Sound/OpenAL/ALC/Context.hs 2006-02-16 07:42:41.000000000 +0100
++++ hugs98-Mar2005/fptools/libraries/OpenAL/Sound/OpenAL/ALC/Context.hs 2006-02-16 07:45:53.000000000 +0100
+@@ -66,10 +66,10 @@ foreign import CALLCONV unsafe "alcCreat
+ -- | Destroys the given context.
+
+ destroyContext :: Context -> IO ()
+-destroyContext = ignore . alcDestroyContext
++destroyContext = alcDestroyContext
+
+ foreign import CALLCONV unsafe "alcDestroyContext"
+- alcDestroyContext :: Context -> IO ALCenum
++ alcDestroyContext :: Context -> IO ()
+
+ --------------------------------------------------------------------------------
+
+@@ -102,10 +102,10 @@ foreign import CALLCONV unsafe "alcMakeC
+ -- | Performs processing on a synced context, nop on an asynchronous context.
+
+ processContext :: Context -> IO ()
+-processContext = ignore . alcProcessContext
++processContext = alcProcessContext
+
+ foreign import CALLCONV unsafe "alcProcessContext"
+- alcProcessContext :: Context -> IO Context
++ alcProcessContext :: Context -> IO ()
+
+ -- | Suspends processing on an asynchronous context. This is a legal nop on a
+ -- synced context.
diff --git a/dev-lang/hugs98/hugs98-2005.3-r2.ebuild b/dev-lang/hugs98/hugs98-2005.3-r2.ebuild
index a88bf8afae18..532cf90da908 100644
--- a/dev-lang/hugs98/hugs98-2005.3-r2.ebuild
+++ b/dev-lang/hugs98/hugs98-2005.3-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/hugs98/hugs98-2005.3-r2.ebuild,v 1.1 2006/02/16 02:15:58 dcoutts Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/hugs98/hugs98-2005.3-r2.ebuild,v 1.2 2006/02/16 11:52:55 dcoutts Exp $
inherit base flag-o-matic eutils versionator
@@ -32,7 +32,7 @@ HUGS_MONTH=$(transform_month ${HUGS_MONTH_NR})
MY_PV="${HUGS_MONTH}$(get_major_version )"
MY_P="${PN}-${MY_PV}"
S=${WORKDIR}/${MY_P}
-DESCRIPTION="The HUGS98 Haskell interpreter"
+DESCRIPTION="The Hugs98 Haskell interpreter"
SRC_URI="http://cvs.haskell.org/Hugs/downloads/${MY_PV}/${MY_P}.tar.gz
http://cvs.haskell.org/Hugs/downloads/${MY_PV}/${MY_P}-patch.gz"
HOMEPAGE="http://www.haskell.org/hugs/"
@@ -53,6 +53,7 @@ src_unpack() {
base_src_unpack
cd ${S}
epatch ${WORKDIR}/${MY_P}-patch
+ epatch ${FILESDIR}/${P}-openal.patch
if ! use X; then
sed -i -e 's/X11//' -e 's/HGL//' "${S}/Makefile" \
diff --git a/dev-lang/hugs98/metadata.xml b/dev-lang/hugs98/metadata.xml
index a53a18c06081..8c66906af531 100644
--- a/dev-lang/hugs98/metadata.xml
+++ b/dev-lang/hugs98/metadata.xml
@@ -3,6 +3,6 @@
<pkgmetadata>
<herd>haskell</herd>
<maintainer>
- <email>kosmikus@gentoo.org</email>
+ <email>haskell@gentoo.org</email>
</maintainer>
</pkgmetadata>