HaikuPorts
  • Login
  • Preferences
  • Help/Guide
  • Wiki
  • Timeline
  • Roadmap
  • View Tickets
  • Search
  • Port Log
  • Blog

Context Navigation

  • ← Previous Change
  • Wiki History
  • Next Change →

Changes between Version 7 and Version 8 of dev-libs/expat


Ignore:
Timestamp:
06/16/08 15:53:36 (7 years ago)
Author:
scottmc
Comment:

added grep check for beos cases to be checked over

Legend:

Unmodified
Added
Removed
Modified
  • dev-libs/expat

    v7 v8  
    1616 
    1717[source:BePorts/trunk/dev-libs/expat/expat-CVS.diff Patch] 
     18 
     19=== revision 2 (scottmc) === 
     20 
     21There's a few beos cases that may or may not need to be addressed.  
     22These two files have numerous beos refs, but might be autogenerated? 
     23{{{ 
     24expat-2.0.1/conftools/libtool.m4 
     25expat-2.0.1/conftools/ltmain.sh 
     26}}} 
     27These three files need to be looked at more closely before closing this one out[[BR]] 
     28(from running grep -nri -C10 'beos' expat-2.0.1): 
     29{{{ 
     30expat-2.0.1/doc/reference.html-241-are already using the "cdecl" calling convention, or they wouldn't be 
     31expat-2.0.1/doc/reference.html-242-working).  The annotation is only needed if the default calling 
     32expat-2.0.1/doc/reference.html-243-convention may be something other than "cdecl".  To use the annotation 
     33expat-2.0.1/doc/reference.html-244-safely with older versions of Expat, you can conditionally define it 
     34expat-2.0.1/doc/reference.html-245-<em>after</em> including Expat's header file:</p> 
     35expat-2.0.1/doc/reference.html-246- 
     36expat-2.0.1/doc/reference.html-247-<pre class="eg"> 
     37expat-2.0.1/doc/reference.html-248-#include &lt;expat.h&gt; 
     38expat-2.0.1/doc/reference.html-249- 
     39expat-2.0.1/doc/reference.html-250-#ifndef XMLCALL 
     40expat-2.0.1/doc/reference.html:251:#if defined(_MSC_EXTENSIONS) &amp;&amp; !defined(__BEOS__) &amp;&amp; !defined(__CYGWIN__) 
     41expat-2.0.1/doc/reference.html-252-#define XMLCALL __cdecl 
     42expat-2.0.1/doc/reference.html-253-#elif defined(__GNUC__) 
     43expat-2.0.1/doc/reference.html-254-#define XMLCALL __attribute__((cdecl)) 
     44expat-2.0.1/doc/reference.html-255-#else 
     45expat-2.0.1/doc/reference.html-256-#define XMLCALL 
     46expat-2.0.1/doc/reference.html-257-#endif 
     47expat-2.0.1/doc/reference.html-258-#endif 
     48expat-2.0.1/doc/reference.html-259-</pre> 
     49expat-2.0.1/doc/reference.html-260- 
     50expat-2.0.1/doc/reference.html-261-<p>After creating the parser, the main program just has the job of 
     51-- 
     52expat-2.0.1/lib/expat_external.h-1-/* Copyright (c) 1998, 1999, 2000 Thai Open Source Software Center Ltd 
     53expat-2.0.1/lib/expat_external.h-2-   See the file COPYING for copying permission. 
     54expat-2.0.1/lib/expat_external.h-3-*/ 
     55expat-2.0.1/lib/expat_external.h-4- 
     56expat-2.0.1/lib/expat_external.h-5-#ifndef Expat_External_INCLUDED 
     57expat-2.0.1/lib/expat_external.h-6-#define Expat_External_INCLUDED 1 
     58expat-2.0.1/lib/expat_external.h-7- 
     59expat-2.0.1/lib/expat_external.h-8-/* External API definitions */ 
     60expat-2.0.1/lib/expat_external.h-9- 
     61expat-2.0.1/lib/expat_external.h:10:#if defined(_MSC_EXTENSIONS) && !defined(__BEOS__) && !defined(__CYGWIN__) 
     62expat-2.0.1/lib/expat_external.h-11-#define XML_USE_MSC_EXTENSIONS 1 
     63expat-2.0.1/lib/expat_external.h-12-#endif 
     64expat-2.0.1/lib/expat_external.h-13- 
     65expat-2.0.1/lib/expat_external.h-14-/* Expat tries very hard to make the API boundary very specifically 
     66expat-2.0.1/lib/expat_external.h-15-   defined.  There are two macros defined to control this boundary; 
     67expat-2.0.1/lib/expat_external.h-16-   each of these can be defined before including this header to 
     68expat-2.0.1/lib/expat_external.h-17-   achieve some different behavior, but doing so it not recommended or 
     69expat-2.0.1/lib/expat_external.h-18-   tested frequently. 
     70expat-2.0.1/lib/expat_external.h-19- 
     71expat-2.0.1/lib/expat_external.h-20-   XMLCALL    - The calling convention to use for all calls across the 
     72-- 
     73expat-2.0.1/xmlwf/readfilemap.c-9-#include <stdio.h> 
     74expat-2.0.1/xmlwf/readfilemap.c-10- 
     75expat-2.0.1/xmlwf/readfilemap.c-11-#ifdef __WATCOMC__ 
     76expat-2.0.1/xmlwf/readfilemap.c-12-#ifndef __LINUX__ 
     77expat-2.0.1/xmlwf/readfilemap.c-13-#include <io.h> 
     78expat-2.0.1/xmlwf/readfilemap.c-14-#else 
     79expat-2.0.1/xmlwf/readfilemap.c-15-#include <unistd.h> 
     80expat-2.0.1/xmlwf/readfilemap.c-16-#endif 
     81expat-2.0.1/xmlwf/readfilemap.c-17-#endif 
     82expat-2.0.1/xmlwf/readfilemap.c-18- 
     83expat-2.0.1/xmlwf/readfilemap.c:19:#ifdef __BEOS__ 
     84expat-2.0.1/xmlwf/readfilemap.c-20-#include <unistd.h> 
     85expat-2.0.1/xmlwf/readfilemap.c-21-#endif 
     86expat-2.0.1/xmlwf/readfilemap.c-22- 
     87expat-2.0.1/xmlwf/readfilemap.c-23-#ifndef S_ISREG 
     88expat-2.0.1/xmlwf/readfilemap.c-24-#ifndef S_IFREG 
     89expat-2.0.1/xmlwf/readfilemap.c-25-#define S_IFREG _S_IFREG 
     90expat-2.0.1/xmlwf/readfilemap.c-26-#endif 
     91expat-2.0.1/xmlwf/readfilemap.c-27-#ifndef S_IFMT 
     92expat-2.0.1/xmlwf/readfilemap.c-28-#define S_IFMT _S_IFMT 
     93expat-2.0.1/xmlwf/readfilemap.c-29-#endif 
     94}}} 

Trac Powered

Powered by Trac 0.13dev-r10686
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/