]> git.pld-linux.org Git - packages/redland.git/blob - redland-system-raptor.patch
- removed %%include /usr/lib/rpm/macros.python
[packages/redland.git] / redland-system-raptor.patch
1 --- redland-0.9.16/raptor/Makefile.am.orig      Fri Jan 30 18:30:30 2004
2 +++ redland-0.9.16/raptor/Makefile.am   Thu Mar  4 13:13:37 2004
3 @@ -20,20 +20,14 @@
4  
5  
6  bin_PROGRAMS = rapper
7 -bin_SCRIPTS = raptor-config
8  noinst_SCRIPTS = raptor-src-config
9 -lib_LTLIBRARIES = libraptor.la
10 -
11 -include_HEADERS = raptor.h
12  
13  noinst_HEADERS = raptor_internal.h win32_config.h
14  
15 -man_MANS = rapper.1 libraptor.3 raptor-config.1
16 +man_MANS = rapper.1
17  
18  rapper_SOURCES = rdfdump.c raptor_getopt.h
19 -rapper_LDADD = libraptor.la @RAPPER_EXTRA_OBJS@
20 -rapper_DEPENDENCIES = libraptor.la @RAPPER_EXTRA_OBJS@
21 -EXTRA_rapper_SOURCES = getopt.c
22 +rapper_LDADD = -lraptor
23  
24  libraptor_la_SOURCES = raptor_parse.c ntriples_parse.c \
25  raptor_uri.c raptor_libxml.c raptor_win32.c raptor_locator.c \
26 @@ -61,8 +55,6 @@
27  
28  
29  
30 -SUBDIRS= tests win32 examples
31 -
32  TESTS=raptor_uri_test raptor_namespace_test strcasecmp_test \
33  raptor_www_test raptor_set_test raptor_xml_test \
34  raptor_sequence_test raptor_stringbuffer_test
35 @@ -121,7 +113,6 @@
36  @MAINT@        -groff -man -Thtml -P-l $< | tidy -asxml -wrap 1000 2>/dev/null | perl $(srcdir)/fix-groff-xhtml $@
37  
38  pkgconfigdir = $(libdir)/pkgconfig
39 -pkgconfig_DATA = raptor.pc
40  
41  # Actually it needs turtle_parser.h but nevermind
42  turtle_lexer.c: $(srcdir)/turtle_lexer.l turtle_parser.tab.c
43 --- redland-0.9.16/raptor/rdfdump.c.orig        Sat Jan 24 18:49:40 2004
44 +++ redland-0.9.16/raptor/rdfdump.c     Thu Mar  4 13:27:23 2004
45 @@ -273,9 +273,12 @@
46  
47        case 'i':
48          if(optarg) {
49 -          if(raptor_syntax_name_check(optarg))
50 +         /* until raptor update with new raptor_syntax_name_check() function */
51 +         raptor_parser *r = raptor_new_parser(optarg);
52 +          if(r != NULL) {
53 +           raptor_free_parser(r);
54              syntax_name=optarg;
55 -          else {
56 +         } else {
57              int i;
58              
59              fprintf(stderr, "%s: invalid argument `%s' for `" HELP_ARG(i, input) "'\n",
This page took 0.029117 seconds and 3 git commands to generate.