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=">
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">
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
19 <I>Tue Nov
11 08:
55:
02 PST
2008</I>
21 <LI>Previous message:
<A HREF=
"005656.html">[IRCServices] Services
5.1.13 released
23 <LI>Next message:
<A HREF=
"005668.html">[IRCServices] Patch: Make IRCServices
5.1.13 compile on Mac OS X
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>
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:
42 $ echo crypto | tr '[a-z]' '[A-Z]'
45 This is needed to create the correct #define's in config.h.
46 So we set it to something sane (
"C
").
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
55 +++ ircservices-
5.1.13/configure
2008-
11-
09 15:
25:
23.000000000 +
0100
56 @@ -
163,
7 +
163,
7 @@ test_function () {
57 if [ !
"$proto
" ] ; then
58 proto=
"(...)
"
60 - func2=`echo $func | tr '[a-z]' '[A-Z]'`
61 + func2=`echo $func | LC_ALL=C tr '[a-z]' '[A-Z]'`
62 if [ !
"$TEST
" ] ; then
63 TEST=
"return
0;
"
76 <LI>Previous message:
<A HREF=
"005656.html">[IRCServices] Services
5.1.13 released
78 <LI>Next message:
<A HREF=
"005668.html">[IRCServices] Patch: Make IRCServices
5.1.13 compile on Mac OS X
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>