1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 3.2//EN">
4 <TITLE> [IRCServices] Patch: Make IRCServices
5.1.13 compile on Mac OS X
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=66D4835E-FDD7-4DAC-A6DC-FB58685B036B%40barton.de">
8 <META NAME=
"robots" CONTENT=
"index,nofollow">
9 <META http-equiv=
"Content-Type" content=
"text/html; charset=us-ascii">
10 <LINK REL=
"Previous" HREF=
"005657.html">
11 <LINK REL=
"Next" HREF=
"005658.html">
13 <BODY BGCOLOR=
"#ffffff">
14 <H1>[IRCServices] Patch: Make IRCServices
5.1.13 compile on Mac OS X
</H1>
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=66D4835E-FDD7-4DAC-A6DC-FB58685B036B%40barton.de"
17 TITLE=
"[IRCServices] Patch: Make IRCServices 5.1.13 compile on Mac OS X">achurch at achurch.org
19 <I>Sun Dec
7 20:
09:
15 PST
2008</I>
21 <LI>Previous message:
<A HREF=
"005657.html">[IRCServices] Patch: Make IRCServices
5.1.13 compile on Mac OS X
23 <LI>Next message:
<A HREF=
"005658.html">[IRCServices] Patch: Flush write buffer on connect
25 <LI> <B>Messages sorted by:
</B>
26 <a href=
"date.html#5668">[ date ]
</a>
27 <a href=
"thread.html#5668">[ thread ]
</a>
28 <a href=
"subject.html#5668">[ subject ]
</a>
29 <a href=
"author.html#5668">[ author ]
</a>
34 <PRE>Fixed for the next release (I just replaced the ranges with literals to
35 make sure there are no future surprises). Thanks for the report!
38 <A HREF=
"http://lists.ircservices.za.net/mailman/listinfo/ircservices">achurch at achurch.org
</A>
39 <A HREF=
"http://achurch.org/">http://achurch.org/
</A>
43 </I>><i>Attached is a patch that makes IRCServices
5.1.13 compile on Mac OS X:
44 </I>><i>the problem was that on Mac OS X (tested with
10.5.5) the
45 </I>><i>transformation with tr(
1) is broken when $LANG (or $LC_xxx) is set:
47 </I>><i> $ echo $LANG
48 </I>><i> de_DE.ISO8859-
1
49 </I>><i> $ echo crypto | tr '[a-z]' '[A-Z]'
50 </I>><i> CR
ンPUO
52 </I>><i>This is needed to create the correct #define's in config.h.
53 </I>><i>So we set it to something sane (
"C
").
59 </I>><i>diff -rup ircservices-
5.1.13-orig/configure ircservices-
5.1.13/configure
60 </I>><i>--- ircservices-
5.1.13-orig/configure
2008-
01-
06 01:
17:
39.000000000
62 </I>><i>+++ ircservices-
5.1.13/configure
2008-
11-
09 15:
25:
23.000000000 +
0100
63 </I>><i>@@ -
163,
7 +
163,
7 @@ test_function () {
64 </I>><i> if [ !
"$proto
" ] ; then
65 </I>><i> proto=
"(...)
"
67 </I>><i>- func2=`echo $func | tr '[a-z]' '[A-Z]'`
68 </I>><i>+ func2=`echo $func | LC_ALL=C tr '[a-z]' '[A-Z]'`
69 </I>><i> if [ !
"$TEST
" ] ; then
70 </I>><i> TEST=
"return
0;
"
73 </I>><i>------------------------------------------------------------------
74 </I>><i>To unsubscribe or change your subscription options, visit:
75 </I>><i><A HREF=
"http://lists.ircservices.za.net/mailman/listinfo/ircservices">http://lists.ircservices.za.net/mailman/listinfo/ircservices
</A>
82 <LI>Previous message:
<A HREF=
"005657.html">[IRCServices] Patch: Make IRCServices
5.1.13 compile on Mac OS X
84 <LI>Next message:
<A HREF=
"005658.html">[IRCServices] Patch: Flush write buffer on connect
86 <LI> <B>Messages sorted by:
</B>
87 <a href=
"date.html#5668">[ date ]
</a>
88 <a href=
"thread.html#5668">[ thread ]
</a>
89 <a href=
"subject.html#5668">[ subject ]
</a>
90 <a href=
"author.html#5668">[ author ]
</a>