Assembla home | Assembla project page
 

PortLog: dev-libs/expat

http://expat.sourceforge.net/

CVS HEAD

R5unstable
BONEuntested
Haikustable

work-in-progress (andreasf) - [R5, Haiku]

Haiku: all tests pass

Patch

revision 2 (scottmc)

There's a few beos cases that may or may not need to be addressed. These two files have numerous beos refs, but might be autogenerated?

expat-2.0.1/conftools/libtool.m4
expat-2.0.1/conftools/ltmain.sh

These three files need to be looked at more closely before closing this one out
(from running grep -nri -C10 'beos' expat-2.0.1):

expat-2.0.1/doc/reference.html-241-are already using the "cdecl" calling convention, or they wouldn't be
expat-2.0.1/doc/reference.html-242-working).  The annotation is only needed if the default calling
expat-2.0.1/doc/reference.html-243-convention may be something other than "cdecl".  To use the annotation
expat-2.0.1/doc/reference.html-244-safely with older versions of Expat, you can conditionally define it
expat-2.0.1/doc/reference.html-245-<em>after</em> including Expat's header file:</p>
expat-2.0.1/doc/reference.html-246-
expat-2.0.1/doc/reference.html-247-<pre class="eg">
expat-2.0.1/doc/reference.html-248-#include &lt;expat.h&gt;
expat-2.0.1/doc/reference.html-249-
expat-2.0.1/doc/reference.html-250-#ifndef XMLCALL
expat-2.0.1/doc/reference.html:251:#if defined(_MSC_EXTENSIONS) &amp;&amp; !defined(__BEOS__) &amp;&amp; !defined(__CYGWIN__)
expat-2.0.1/doc/reference.html-252-#define XMLCALL __cdecl
expat-2.0.1/doc/reference.html-253-#elif defined(__GNUC__)
expat-2.0.1/doc/reference.html-254-#define XMLCALL __attribute__((cdecl))
expat-2.0.1/doc/reference.html-255-#else
expat-2.0.1/doc/reference.html-256-#define XMLCALL
expat-2.0.1/doc/reference.html-257-#endif
expat-2.0.1/doc/reference.html-258-#endif
expat-2.0.1/doc/reference.html-259-</pre>
expat-2.0.1/doc/reference.html-260-
expat-2.0.1/doc/reference.html-261-<p>After creating the parser, the main program just has the job of
--
expat-2.0.1/lib/expat_external.h-1-/* Copyright (c) 1998, 1999, 2000 Thai Open Source Software Center Ltd
expat-2.0.1/lib/expat_external.h-2-   See the file COPYING for copying permission.
expat-2.0.1/lib/expat_external.h-3-*/
expat-2.0.1/lib/expat_external.h-4-
expat-2.0.1/lib/expat_external.h-5-#ifndef Expat_External_INCLUDED
expat-2.0.1/lib/expat_external.h-6-#define Expat_External_INCLUDED 1
expat-2.0.1/lib/expat_external.h-7-
expat-2.0.1/lib/expat_external.h-8-/* External API definitions */
expat-2.0.1/lib/expat_external.h-9-
expat-2.0.1/lib/expat_external.h:10:#if defined(_MSC_EXTENSIONS) && !defined(__BEOS__) && !defined(__CYGWIN__)
expat-2.0.1/lib/expat_external.h-11-#define XML_USE_MSC_EXTENSIONS 1
expat-2.0.1/lib/expat_external.h-12-#endif
expat-2.0.1/lib/expat_external.h-13-
expat-2.0.1/lib/expat_external.h-14-/* Expat tries very hard to make the API boundary very specifically
expat-2.0.1/lib/expat_external.h-15-   defined.  There are two macros defined to control this boundary;
expat-2.0.1/lib/expat_external.h-16-   each of these can be defined before including this header to
expat-2.0.1/lib/expat_external.h-17-   achieve some different behavior, but doing so it not recommended or
expat-2.0.1/lib/expat_external.h-18-   tested frequently.
expat-2.0.1/lib/expat_external.h-19-
expat-2.0.1/lib/expat_external.h-20-   XMLCALL    - The calling convention to use for all calls across the
--
expat-2.0.1/xmlwf/readfilemap.c-9-#include <stdio.h>
expat-2.0.1/xmlwf/readfilemap.c-10-
expat-2.0.1/xmlwf/readfilemap.c-11-#ifdef __WATCOMC__
expat-2.0.1/xmlwf/readfilemap.c-12-#ifndef __LINUX__
expat-2.0.1/xmlwf/readfilemap.c-13-#include <io.h>
expat-2.0.1/xmlwf/readfilemap.c-14-#else
expat-2.0.1/xmlwf/readfilemap.c-15-#include <unistd.h>
expat-2.0.1/xmlwf/readfilemap.c-16-#endif
expat-2.0.1/xmlwf/readfilemap.c-17-#endif
expat-2.0.1/xmlwf/readfilemap.c-18-
expat-2.0.1/xmlwf/readfilemap.c:19:#ifdef __BEOS__
expat-2.0.1/xmlwf/readfilemap.c-20-#include <unistd.h>
expat-2.0.1/xmlwf/readfilemap.c-21-#endif
expat-2.0.1/xmlwf/readfilemap.c-22-
expat-2.0.1/xmlwf/readfilemap.c-23-#ifndef S_ISREG
expat-2.0.1/xmlwf/readfilemap.c-24-#ifndef S_IFREG
expat-2.0.1/xmlwf/readfilemap.c-25-#define S_IFREG _S_IFREG
expat-2.0.1/xmlwf/readfilemap.c-26-#endif
expat-2.0.1/xmlwf/readfilemap.c-27-#ifndef S_IFMT
expat-2.0.1/xmlwf/readfilemap.c-28-#define S_IFMT _S_IFMT
expat-2.0.1/xmlwf/readfilemap.c-29-#endif