Ticket #47865: patch-rssyl-symbol-fix.diff

File patch-rssyl-symbol-fix.diff, 3.1 KB (added by pmetzger (Perry E. Metzger), 9 years ago)

Patch from maintainers to fix build on OS X -- fixed in next release

  • src/plugins/rssyl/libfeed/parser.c

    diff --git a/src/plugins/rssyl/libfeed/parser.c b/src/plugins/rssyl/libfeed/parser.c
    index 14f4a36..6439245 100644
    a b  
    3434
    3535#include "parser.h"
    3636
     37enum {
     38        FEED_TYPE_NONE,
     39        FEED_TYPE_RDF,
     40        FEED_TYPE_RSS_20,
     41        FEED_TYPE_ATOM_03,
     42        FEED_TYPE_ATOM_10,
     43        FEED_TYPE_OPML
     44} FeedTypes;
     45
    3746static void _handler_set(XML_Parser parser, guint type)
    3847{
    3948        if( parser == NULL )
  • src/plugins/rssyl/libfeed/parser.h

    diff --git a/src/plugins/rssyl/libfeed/parser.h b/src/plugins/rssyl/libfeed/parser.h
    index f8cbb9a..02cd0e5 100644
    a b gchar *feed_parser_get_attribute_value(const gchar **attr, const gchar *name); 
    3232int feed_parser_unknown_encoding_handler(void *encdata, const XML_Char *name,
    3333                XML_Encoding *info);
    3434
    35 
    36 enum {
    37         FEED_TYPE_NONE,
    38         FEED_TYPE_RDF,
    39         FEED_TYPE_RSS_20,
    40         FEED_TYPE_ATOM_03,
    41         FEED_TYPE_ATOM_10,
    42         FEED_TYPE_OPML
    43 } FeedTypes;
    44 
    4535#endif /* __PARSER_H */
  • src/plugins/rssyl/libfeed/parser_atom10.c

    diff --git a/src/plugins/rssyl/libfeed/parser_atom10.c b/src/plugins/rssyl/libfeed/parser_atom10.c
    index 9cf4ffa..8f9f4d6 100644
    a b  
    2929#include "parser.h"
    3030#include "parser_atom10.h"
    3131
     32enum {
     33        FEED_LOC_ATOM10_NONE,
     34        FEED_LOC_ATOM10_ENTRY,
     35        FEED_LOC_ATOM10_AUTHOR,
     36        FEED_LOC_ATOM10_SOURCE,
     37        FEED_LOC_ATOM10_CONTENT
     38} FeedAtom10Locations;
     39
    3240void feed_parser_atom10_start(void *data, const gchar *el, const gchar **attr)
    3341{
    3442        FeedParserCtx *ctx = (FeedParserCtx *)data;
  • src/plugins/rssyl/libfeed/parser_atom10.h

    diff --git a/src/plugins/rssyl/libfeed/parser_atom10.h b/src/plugins/rssyl/libfeed/parser_atom10.h
    index 85e95b4..e3c71fb 100644
    a b  
    2323void feed_parser_atom10_start(void *data, const char *el, const char **attr);
    2424void feed_parser_atom10_end(void *data, const char *el);
    2525
    26 enum {
    27         FEED_LOC_ATOM10_NONE,
    28         FEED_LOC_ATOM10_ENTRY,
    29         FEED_LOC_ATOM10_AUTHOR,
    30         FEED_LOC_ATOM10_SOURCE,
    31         FEED_LOC_ATOM10_CONTENT
    32 } FeedAtom10Locations;
    33 
    3426#endif /* __PARSER_ATOM03_H */
  • src/plugins/rssyl/libfeed/parser_rdf.c

    diff --git a/src/plugins/rssyl/libfeed/parser_rdf.c b/src/plugins/rssyl/libfeed/parser_rdf.c
    index d514bf0..77e1df5 100644
    a b  
    2828#include "date.h"
    2929#include "parser_rdf.h"
    3030
     31enum {
     32        FEED_LOC_RDF_NONE,
     33        FEED_LOC_RDF_CHANNEL,
     34        FEED_LOC_RDF_ITEM
     35} FeedRdfLocations;
     36
    3137void feed_parser_rdf_start(void *data, const gchar *el, const gchar **attr)
    3238{
    3339        FeedParserCtx *ctx = (FeedParserCtx *)data;
  • src/plugins/rssyl/libfeed/parser_rdf.h

    diff --git a/src/plugins/rssyl/libfeed/parser_rdf.h b/src/plugins/rssyl/libfeed/parser_rdf.h
    index 1c3809f..66299cb 100644
    a b  
    2323void feed_parser_rdf_start(void *data, const char *el, const char **attr);
    2424void feed_parser_rdf_end(void *data, const char *el);
    2525
    26 enum {
    27         FEED_LOC_RDF_NONE,
    28         FEED_LOC_RDF_CHANNEL,
    29         FEED_LOC_RDF_ITEM
    30 } FeedRdfLocations;
    31 
    3226#endif /* __PARSER_RDF_H */