Update to micq-0.5.0.4

From Bernd Ahlers, b.ahlers@ba-net.org.
This commit is contained in:
mbalmer 2005-06-07 06:48:13 +00:00
parent d4916d9484
commit abc9721ce4
3 changed files with 6 additions and 33 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.37 2005/05/01 07:40:40 david Exp $
# $OpenBSD: Makefile,v 1.38 2005/06/07 06:48:13 mbalmer Exp $
# $FreeBSD: Makefile,v 1.6 1999/06/03 08:31:06 ache Exp $
COMMENT= "text-based ICQ implementation"
DISTNAME= micq-0.5.0.3
DISTNAME= micq-0.5.0.4
CATEGORIES= net
MAINTAINER= David Krause <david@openbsd.org>

View File

@ -1,4 +1,4 @@
MD5 (micq-0.5.0.3.tgz) = c91f72d387c911b26673c39ef7120ed9
RMD160 (micq-0.5.0.3.tgz) = 73afadf5b914261656fdb6b20eb8faf37fdb6d9b
SHA1 (micq-0.5.0.3.tgz) = 60d0eb554b9c03573ea466b7253aada72f336a10
SIZE (micq-0.5.0.3.tgz) = 1038506
MD5 (micq-0.5.0.4.tgz) = 142f80100955018046745ada09859b2d
RMD160 (micq-0.5.0.4.tgz) = fa164c847624b389f20eb426a592582a6b38913b
SHA1 (micq-0.5.0.4.tgz) = bd30f9a79febcae5a0e995328edef0c8bd9f6132
SIZE (micq-0.5.0.4.tgz) = 1042082

View File

@ -1,27 +0,0 @@
$OpenBSD: patch-src_i18n_c,v 1.4 2005/05/01 22:47:28 david Exp $
--- src/i18n.c.orig Wed Apr 27 14:57:14 2005
+++ src/i18n.c Sun May 1 12:18:07 2005
@@ -110,12 +110,12 @@ void i18nInit (const char *arg)
earg = getenv ("LC_MESSAGES");
if (!earg)
earg = getenv ("LANG");
+ if (!earg)
+ earg = "C";
if (earg && !prG->locale_orig)
s_repl (&prG->locale_orig, earg);
if (earg && !prG->locale_full)
s_repl (&prG->locale_full, earg);
- if (!earg)
- earg = "C";
if (strchr (earg, '.') && arg && !strchr (arg, '.'))
{
arg = earg;
@@ -155,7 +155,7 @@ int i18nOpen (const char *ploc)
loc = ploc ? ploc : prG->locale_full;
- if (!strcmp (loc, "en_US.US-ASCII") || !strcmp (loc, "C") || !strcmp (loc, "C"))
+ if (!loc || !strcmp (loc, "en_US.US-ASCII") || !strcmp (loc, "C"))
{
i18nClose ();
if (ploc)