diff options
author | Rainer Groesslinger <scandium@gentoo.org> | 2003-10-17 14:10:53 +0000 |
---|---|---|
committer | Rainer Groesslinger <scandium@gentoo.org> | 2003-10-17 14:10:53 +0000 |
commit | f4ff8a451f1645db8a27f7df25fbf68b513a72ed (patch) | |
tree | 0bb169e9fb4d4bc3ff31dd406ff99847d42b8a1f /dev-dotnet/pnetlib | |
parent | take out ~amd64 flag for now (diff) | |
download | historical-f4ff8a451f1645db8a27f7df25fbf68b513a72ed.tar.gz historical-f4ff8a451f1645db8a27f7df25fbf68b513a72ed.tar.bz2 historical-f4ff8a451f1645db8a27f7df25fbf68b513a72ed.zip |
fix for foreign language support
Diffstat (limited to 'dev-dotnet/pnetlib')
-rw-r--r-- | dev-dotnet/pnetlib/ChangeLog | 6 | ||||
-rw-r--r-- | dev-dotnet/pnetlib/Manifest | 5 | ||||
-rw-r--r-- | dev-dotnet/pnetlib/files/pnetlib-0.6.0.resources.patch | 23 | ||||
-rw-r--r-- | dev-dotnet/pnetlib/pnetlib-0.6.0.ebuild | 13 |
4 files changed, 43 insertions, 4 deletions
diff --git a/dev-dotnet/pnetlib/ChangeLog b/dev-dotnet/pnetlib/ChangeLog index 349d385429ba..864b8da85685 100644 --- a/dev-dotnet/pnetlib/ChangeLog +++ b/dev-dotnet/pnetlib/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-dotnet/pnetlib # Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/pnetlib/ChangeLog,v 1.6 2003/10/15 19:13:50 scandium Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/pnetlib/ChangeLog,v 1.7 2003/10/17 14:10:47 scandium Exp $ + + 17 Oct 2003; Rainer Groesslinger <scandium@gentoo.org> pnetlib-0.6.0.ebuild, + files/pnetlib-0.6.0.resources.patch: + Added a fix to make foreign language support work properly 15 Oct 2003; Rainer Groesslinger <scandium@gentoo.org> pnetlib-0.6.0.ebuild: added ~sparc to keywords diff --git a/dev-dotnet/pnetlib/Manifest b/dev-dotnet/pnetlib/Manifest index 5135d1cae0d2..068b3ebd6367 100644 --- a/dev-dotnet/pnetlib/Manifest +++ b/dev-dotnet/pnetlib/Manifest @@ -1,6 +1,7 @@ -MD5 85d83a6417a9889509842b7f04fd86f6 pnetlib-0.6.0.ebuild 652 +MD5 878c67ccc3152845f03d2e98bdbfd865 pnetlib-0.6.0.ebuild 816 MD5 df24daa5bd30bd379d54769a076c6189 pnetlib-0.5.12.ebuild 644 -MD5 cd46a8486b361fcc71229a47df487492 ChangeLog 1761 +MD5 d589605faf2c4b7960b28f859b2e416d ChangeLog 1941 MD5 76b314cc7b7b79b298dd4889dff8c9cd metadata.xml 159 +MD5 cbabf6c8043d36c91b7066be67e0332f files/pnetlib-0.6.0.resources.patch 727 MD5 3c425353dc536d999fa612f912ac1c90 files/digest-pnetlib-0.5.12 67 MD5 56cf2139dbad94d47277cf24dda3bcd3 files/digest-pnetlib-0.6.0 66 diff --git a/dev-dotnet/pnetlib/files/pnetlib-0.6.0.resources.patch b/dev-dotnet/pnetlib/files/pnetlib-0.6.0.resources.patch new file mode 100644 index 000000000000..0477a429183c --- /dev/null +++ b/dev-dotnet/pnetlib/files/pnetlib-0.6.0.resources.patch @@ -0,0 +1,23 @@ +--- runtime/System/Resources/ResourceManager.cs 2003/08/04 06:17:01 1.15 ++++ runtime/System/Resources/ResourceManager.cs 2003/10/17 00:14:29 1.16 +@@ -564,9 +564,18 @@ + } + + // Try loading the resources from a satellite assembly. ++ String assemblyName = MainAssembly.FullName; ++ if(assemblyName != null) ++ { ++ int index = assemblyName.IndexOf(','); ++ if(index != -1) ++ { ++ assemblyName = assemblyName.Substring(0, index); ++ } ++ } + String path = MainAssembly.GetSatellitePath + (culture.Name + Path.DirectorySeparatorChar + +- MainAssembly.FullName + ".resources.dll"); ++ assemblyName + ".resources.dll"); + if(path != null) + { + error = 1; + diff --git a/dev-dotnet/pnetlib/pnetlib-0.6.0.ebuild b/dev-dotnet/pnetlib/pnetlib-0.6.0.ebuild index 7630db209a28..c3353756a9a9 100644 --- a/dev-dotnet/pnetlib/pnetlib-0.6.0.ebuild +++ b/dev-dotnet/pnetlib/pnetlib-0.6.0.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/pnetlib/pnetlib-0.6.0.ebuild,v 1.2 2003/10/15 19:13:50 scandium Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/pnetlib/pnetlib-0.6.0.ebuild,v 1.3 2003/10/17 14:10:47 scandium Exp $ + +inherit eutils DESCRIPTION="Portable .NET C# library" HOMEPAGE="http://www.dotgnu.org/" @@ -15,6 +17,15 @@ IUSE="X" DEPEND="=dev-dotnet/pnet-${PV}* X? ( virtual/x11 )" +src_unpack() { + # A fix for foreign language support + unpack ${A} + cd ${S} + epatch ${FILESDIR}/pnetlib-0.6.0.resources.patch + autoconf + automake +} + src_compile() { econf || die emake || die |