]> jfr.im git - irc.git/blob - software/!RELEASES/ircservices/achurch.org/services/lists/ircservices/2008/005668.html
RELEASE -> !RELEASE
[irc.git] / software / !RELEASES / ircservices / achurch.org / services / lists / ircservices / 2008 / 005668.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=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">
12 </HEAD>
13 <BODY BGCOLOR="#ffffff">
14 <H1>[IRCServices] Patch: Make IRCServices 5.1.13 compile on Mac OS X</H1>
15 <B>Andrew Church</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=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
18 </A><BR>
19 <I>Sun Dec 7 20:09:15 PST 2008</I>
20 <P><UL>
21 <LI>Previous message: <A HREF="005657.html">[IRCServices] Patch: Make IRCServices 5.1.13 compile on Mac OS X
22 </A></li>
23 <LI>Next message: <A HREF="005658.html">[IRCServices] Patch: Flush write buffer on connect
24 </A></li>
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>
30 </LI>
31 </UL>
32 <HR>
33 <!--beginarticle-->
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!
36
37 --Andrew Church
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>
40
41 &gt;<i>Hi!
42 </I>&gt;<i>
43 </I>&gt;<i>Attached is a patch that makes IRCServices 5.1.13 compile on Mac OS X:
44 </I>&gt;<i>the problem was that on Mac OS X (tested with 10.5.5) the
45 </I>&gt;<i>transformation with tr(1) is broken when $LANG (or $LC_xxx) is set:
46 </I>&gt;<i>
47 </I>&gt;<i> $ echo $LANG
48 </I>&gt;<i> de_DE.ISO8859-1
49 </I>&gt;<i> $ echo crypto | tr '[a-z]' '[A-Z]'
50 </I>&gt;<i> CR&#65437;PUO
51 </I>&gt;<i>
52 </I>&gt;<i>This is needed to create the correct #define's in config.h.
53 </I>&gt;<i>So we set it to something sane (&quot;C&quot;).
54 </I>&gt;<i>
55 </I>&gt;<i>Regards
56 </I>&gt;<i>Alex
57 </I>&gt;<i>
58 </I>&gt;<i>
59 </I>&gt;<i>diff -rup ircservices-5.1.13-orig/configure ircservices-5.1.13/configure
60 </I>&gt;<i>--- ircservices-5.1.13-orig/configure 2008-01-06 01:17:39.000000000
61 </I>&gt;<i>+0100
62 </I>&gt;<i>+++ ircservices-5.1.13/configure 2008-11-09 15:25:23.000000000 +0100
63 </I>&gt;<i>@@ -163,7 +163,7 @@ test_function () {
64 </I>&gt;<i> if [ ! &quot;$proto&quot; ] ; then
65 </I>&gt;<i> proto=&quot;(...)&quot;
66 </I>&gt;<i> fi
67 </I>&gt;<i>- func2=`echo $func | tr '[a-z]' '[A-Z]'`
68 </I>&gt;<i>+ func2=`echo $func | LC_ALL=C tr '[a-z]' '[A-Z]'`
69 </I>&gt;<i> if [ ! &quot;$TEST&quot; ] ; then
70 </I>&gt;<i> TEST=&quot;return 0;&quot;
71 </I>&gt;<i> fi
72 </I>&gt;<i>
73 </I>&gt;<i>------------------------------------------------------------------
74 </I>&gt;<i>To unsubscribe or change your subscription options, visit:
75 </I>&gt;<i><A HREF="http://lists.ircservices.za.net/mailman/listinfo/ircservices">http://lists.ircservices.za.net/mailman/listinfo/ircservices</A>
76 </I></PRE>
77
78 <!--endarticle-->
79 <HR>
80 <P><UL>
81 <!--threads-->
82 <LI>Previous message: <A HREF="005657.html">[IRCServices] Patch: Make IRCServices 5.1.13 compile on Mac OS X
83 </A></li>
84 <LI>Next message: <A HREF="005658.html">[IRCServices] Patch: Flush write buffer on connect
85 </A></li>
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>
91 </LI>
92 </UL>
93
94 </body></html>