]> jfr.im git - irc.git/blob - software/!RELEASES/ircservices/achurch.org/services/lists/ircservices/2008/005657.html
RELEASE -> !RELEASE
[irc.git] / software / !RELEASES / ircservices / achurch.org / services / lists / ircservices / 2008 / 005657.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
2 <HTML>
3 <HEAD>
4 <TITLE> [IRCServices] Patch: Make IRCServices 5.1.13 compile on Mac OS X
5 </TITLE>
6 <LINK REL="Index" HREF="index.html" >
7 <LINK REL="made" HREF="mailto:ircservices%40ircservices.za.net?Subject=%5BIRCServices%5D%20Patch%3A%20Make%20IRCServices%205.1.13%20compile%20on%20Mac%20OS%20X&In-Reply-To=">
8 <META NAME="robots" CONTENT="index,nofollow">
9 <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
10 <LINK REL="Previous" HREF="005656.html">
11 <LINK REL="Next" HREF="005668.html">
12 </HEAD>
13 <BODY BGCOLOR="#ffffff">
14 <H1>[IRCServices] Patch: Make IRCServices 5.1.13 compile on Mac OS X</H1>
15 <B>Alexander Barton</B>
16 <A HREF="mailto:ircservices%40ircservices.za.net?Subject=%5BIRCServices%5D%20Patch%3A%20Make%20IRCServices%205.1.13%20compile%20on%20Mac%20OS%20X&In-Reply-To="
17 TITLE="[IRCServices] Patch: Make IRCServices 5.1.13 compile on Mac OS X">alex at barton.de
18 </A><BR>
19 <I>Tue Nov 11 08:55:02 PST 2008</I>
20 <P><UL>
21 <LI>Previous message: <A HREF="005656.html">[IRCServices] Services 5.1.13 released
22 </A></li>
23 <LI>Next message: <A HREF="005668.html">[IRCServices] Patch: Make IRCServices 5.1.13 compile on Mac OS X
24 </A></li>
25 <LI> <B>Messages sorted by:</B>
26 <a href="date.html#5657">[ date ]</a>
27 <a href="thread.html#5657">[ thread ]</a>
28 <a href="subject.html#5657">[ subject ]</a>
29 <a href="author.html#5657">[ author ]</a>
30 </LI>
31 </UL>
32 <HR>
33 <!--beginarticle-->
34 <PRE>Hi!
35
36 Attached is a patch that makes IRCServices 5.1.13 compile on Mac OS X:
37 the problem was that on Mac OS X (tested with 10.5.5) the
38 transformation with tr(1) is broken when $LANG (or $LC_xxx) is set:
39
40 $ echo $LANG
41 de_DE.ISO8859-1
42 $ echo crypto | tr '[a-z]' '[A-Z]'
43 CR&#221;PUO
44
45 This is needed to create the correct #define's in config.h.
46 So we set it to something sane (&quot;C&quot;).
47
48 Regards
49 Alex
50
51
52 diff -rup ircservices-5.1.13-orig/configure ircservices-5.1.13/configure
53 --- ircservices-5.1.13-orig/configure 2008-01-06 01:17:39.000000000
54 +0100
55 +++ ircservices-5.1.13/configure 2008-11-09 15:25:23.000000000 +0100
56 @@ -163,7 +163,7 @@ test_function () {
57 if [ ! &quot;$proto&quot; ] ; then
58 proto=&quot;(...)&quot;
59 fi
60 - func2=`echo $func | tr '[a-z]' '[A-Z]'`
61 + func2=`echo $func | LC_ALL=C tr '[a-z]' '[A-Z]'`
62 if [ ! &quot;$TEST&quot; ] ; then
63 TEST=&quot;return 0;&quot;
64 fi
65
66 </PRE>
67
68
69
70
71
72 <!--endarticle-->
73 <HR>
74 <P><UL>
75 <!--threads-->
76 <LI>Previous message: <A HREF="005656.html">[IRCServices] Services 5.1.13 released
77 </A></li>
78 <LI>Next message: <A HREF="005668.html">[IRCServices] Patch: Make IRCServices 5.1.13 compile on Mac OS X
79 </A></li>
80 <LI> <B>Messages sorted by:</B>
81 <a href="date.html#5657">[ date ]</a>
82 <a href="thread.html#5657">[ thread ]</a>
83 <a href="subject.html#5657">[ subject ]</a>
84 <a href="author.html#5657">[ author ]</a>
85 </LI>
86 </UL>
87
88 </body></html>