]> git.pld-linux.org Git - packages/redland.git/blame - redland-system-raptor.patch
- rewritten - build only rapper with redland support based on system libraptor
[packages/redland.git] / redland-system-raptor.patch
CommitLineData
07b965e7
JB
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 @@
ec6b87a7
JB
4
5
6 bin_PROGRAMS = rapper
7-bin_SCRIPTS = raptor-config
07b965e7 8 noinst_SCRIPTS = raptor-src-config
9c3d57bf 9-lib_LTLIBRARIES = libraptor.la
07b965e7 10-
75bfd5de 11-include_HEADERS = raptor.h
ec6b87a7 12
07b965e7
JB
13 noinst_HEADERS = raptor_internal.h win32_config.h
14
9c3d57bf 15-man_MANS = rapper.1 libraptor.3 raptor-config.1
ec6b87a7
JB
16+man_MANS = rapper.1
17
9c3d57bf 18 rapper_SOURCES = rdfdump.c raptor_getopt.h
07b965e7
JB
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
9c3d57bf 23
07b965e7 24 libraptor_la_SOURCES = raptor_parse.c ntriples_parse.c \
75bfd5de 25 raptor_uri.c raptor_libxml.c raptor_win32.c raptor_locator.c \
07b965e7 26@@ -61,8 +55,6 @@
75bfd5de
JB
27
28
29
30-SUBDIRS= tests win32 examples
31-
07b965e7
JB
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 @@
75bfd5de
JB
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
9c3d57bf 40
07b965e7
JB
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 1.119177 seconds and 4 git commands to generate.