Avoid pointer to integer conversion to let this build with clang 15
This commit is contained in:
parent
606049478a
commit
83bff15553
|
@ -2,7 +2,7 @@ COMMENT= RDF Parser Toolkit for Redland
|
||||||
DISTNAME= raptor2-2.0.15
|
DISTNAME= raptor2-2.0.15
|
||||||
PKGNAME= ${DISTNAME:C/raptor2/raptor/}
|
PKGNAME= ${DISTNAME:C/raptor2/raptor/}
|
||||||
CATEGORIES= textproc
|
CATEGORIES= textproc
|
||||||
REVISION= 4
|
REVISION= 5
|
||||||
|
|
||||||
SHARED_LIBS += raptor2 0.0 # 0.0
|
SHARED_LIBS += raptor2 0.0 # 0.0
|
||||||
|
|
||||||
|
|
12
textproc/raptor/patches/patch-src_raptor_parse_c
Normal file
12
textproc/raptor/patches/patch-src_raptor_parse_c
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
Index: src/raptor_parse.c
|
||||||
|
--- src/raptor_parse.c.orig
|
||||||
|
+++ src/raptor_parse.c
|
||||||
|
@@ -257,7 +257,7 @@ raptor_world_get_parser_factory(raptor_world *world, c
|
||||||
|
int
|
||||||
|
raptor_world_get_parsers_count(raptor_world* world)
|
||||||
|
{
|
||||||
|
- RAPTOR_ASSERT_OBJECT_POINTER_RETURN_VALUE(world, raptor_world, NULL);
|
||||||
|
+ RAPTOR_ASSERT_OBJECT_POINTER_RETURN_VALUE(world, raptor_world, 0);
|
||||||
|
|
||||||
|
raptor_world_open(world);
|
||||||
|
|
12
textproc/raptor/patches/patch-src_raptor_serialize_c
Normal file
12
textproc/raptor/patches/patch-src_raptor_serialize_c
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
Index: src/raptor_serialize.c
|
||||||
|
--- src/raptor_serialize.c.orig
|
||||||
|
+++ src/raptor_serialize.c
|
||||||
|
@@ -240,7 +240,7 @@ raptor_get_serializer_factory(raptor_world* world, con
|
||||||
|
int
|
||||||
|
raptor_world_get_serializers_count(raptor_world* world)
|
||||||
|
{
|
||||||
|
- RAPTOR_ASSERT_OBJECT_POINTER_RETURN_VALUE(world, raptor_world, NULL);
|
||||||
|
+ RAPTOR_ASSERT_OBJECT_POINTER_RETURN_VALUE(world, raptor_world, 0);
|
||||||
|
|
||||||
|
raptor_world_open(world);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user