On Thu, 18 Jan 2001, Sam TH wrote:
> 
> ICONV_CONST is a horrible hack that I created to fix this problem of
> incompatible iconv() prototypes.  What you need to do is find where
> ICONV_CONST is defined, and add something like this:
> 
> #ifdef __MAC_OS__ // or whatever your platform defines
> #define ICONV_CONST const 
> #endif
> 
> That should fix the problem.
> 
> This is a hacked-up way to get around our lack of configure, which
> shold evetually be remedied (once my computer works again).

With the attached patch (thanks Hubert for asking about that!!!) I can
finally build abiword on Yellow Dog Linux (PPC) using the Red Hat rawhide
spec. The final reason I used the Red Hat spec rather than the abisource spec
is because the RH one is fully able to be built as a user, while the abisource
one wants to install to your running system (not very polite).

In the future it would be very helpful to folks like me to have an
AbiSource-supplied SRPM that is known to build correctly.

At any rate, I look forward to configure (never thought I'd hear myself say
that). Great work on the word processor, and good luck on the build system! :)

-Hollis

P.S. Is it "abiWORD" or "abiSUITE"? A lot of confusion there.. RH ships
abiword, you guys build abisuite...

P.P.S. cc me on replies; must lower INBOX flow. ;)
--- abi-0.7.12/src/af/util/xp/ut_types.h.old    Sat Jan 27 20:42:39 2001
+++ abi-0.7.12/src/af/util/xp/ut_types.h        Sat Jan 27 20:46:05 2001
@@ -178,7 +178,8 @@
 
 #if defined (WIN32) || defined(__QNXNTO__) ||  \
 (defined (__MACH__) && defined (__APPLE__)) || \
-defined(__BEOS__) || defined (__AIX__) 
+defined(__BEOS__) || defined (__AIX__) || \
+(defined(__linux__) && defined(__powerpc__))
 
 #define ICONV_CONST const
 #else

Reply via email to