1*a5818cd9SDamjan Jovanovicdiff -Nur misc/build/raptor2-2.0.15/src/raptor_libxml.c misc/build/raptor2-2.0.15/src/raptor_libxml.c 2*a5818cd9SDamjan Jovanovic--- misc/build/raptor2-2.0.15/src/raptor_libxml.c 2024-04-14 16:02:17.001795000 +0200 3*a5818cd9SDamjan Jovanovic+++ misc/build/raptor2-2.0.15/src/raptor_libxml.c 2024-04-14 17:33:11.733451000 +0200 4*a5818cd9SDamjan Jovanovic@@ -246,10 +246,10 @@ 5*a5818cd9SDamjan Jovanovic 6*a5818cd9SDamjan Jovanovic ret->owner = 1; 7*a5818cd9SDamjan Jovanovic 8*a5818cd9SDamjan Jovanovic-#if LIBXML_VERSION >= 20627 9*a5818cd9SDamjan Jovanovic+#if LIBXML_VERSION >= 20627 && LIBXML_VERSION < 21100 10*a5818cd9SDamjan Jovanovic /* Checked field was released in 2.6.27 on 2006-10-25 11*a5818cd9SDamjan Jovanovic * http://git.gnome.org/browse/libxml2/commit/?id=a37a6ad91a61d168ecc4b29263def3363fff4da6 12*a5818cd9SDamjan Jovanovic- * 13*a5818cd9SDamjan Jovanovic+ * and removed in version 2.11.0... 14*a5818cd9SDamjan Jovanovic */ 15*a5818cd9SDamjan Jovanovic 16*a5818cd9SDamjan Jovanovic /* Mark this entity as having been checked - never do this again */ 17*a5818cd9SDamjan Jovanovicdiff -Nur misc/build/raptor2-2.0.15/src/raptor_parse.c misc/build/raptor2-2.0.15/src/raptor_parse.c 18*a5818cd9SDamjan Jovanovic--- misc/build/raptor2-2.0.15/src/raptor_parse.c 2024-04-14 16:02:17.005682000 +0200 19*a5818cd9SDamjan Jovanovic+++ misc/build/raptor2-2.0.15/src/raptor_parse.c 2024-04-14 16:01:17.838736000 +0200 20*a5818cd9SDamjan Jovanovic@@ -257,7 +257,7 @@ 21*a5818cd9SDamjan Jovanovic int 22*a5818cd9SDamjan Jovanovic raptor_world_get_parsers_count(raptor_world* world) 23*a5818cd9SDamjan Jovanovic { 24*a5818cd9SDamjan Jovanovic- RAPTOR_ASSERT_OBJECT_POINTER_RETURN_VALUE(world, raptor_world, NULL); 25*a5818cd9SDamjan Jovanovic+ RAPTOR_ASSERT_OBJECT_POINTER_RETURN_VALUE(world, raptor_world, (int)NULL); 26*a5818cd9SDamjan Jovanovic 27*a5818cd9SDamjan Jovanovic raptor_world_open(world); 28*a5818cd9SDamjan Jovanovic 29*a5818cd9SDamjan Jovanovicdiff -Nur misc/build/raptor2-2.0.15/src/raptor_serialize.c misc/build/raptor2-2.0.15/src/raptor_serialize.c 30*a5818cd9SDamjan Jovanovic--- misc/build/raptor2-2.0.15/src/raptor_serialize.c 2024-04-14 16:02:17.000076000 +0200 31*a5818cd9SDamjan Jovanovic+++ misc/build/raptor2-2.0.15/src/raptor_serialize.c 2024-04-14 16:03:45.447050000 +0200 32*a5818cd9SDamjan Jovanovic@@ -240,7 +240,7 @@ 33*a5818cd9SDamjan Jovanovic int 34*a5818cd9SDamjan Jovanovic raptor_world_get_serializers_count(raptor_world* world) 35*a5818cd9SDamjan Jovanovic { 36*a5818cd9SDamjan Jovanovic- RAPTOR_ASSERT_OBJECT_POINTER_RETURN_VALUE(world, raptor_world, NULL); 37*a5818cd9SDamjan Jovanovic+ RAPTOR_ASSERT_OBJECT_POINTER_RETURN_VALUE(world, raptor_world, (int)NULL); 38*a5818cd9SDamjan Jovanovic 39*a5818cd9SDamjan Jovanovic raptor_world_open(world); 40*a5818cd9SDamjan Jovanovic 41*a5818cd9SDamjan Jovanovicdiff -Nur misc/build/raptor2-2.0.15/src/sort_r.h misc/build/raptor2-2.0.15/src/sort_r.h 42*a5818cd9SDamjan Jovanovic--- misc/build/raptor2-2.0.15/src/sort_r.h 2024-04-14 16:02:17.006876000 +0200 43*a5818cd9SDamjan Jovanovic+++ misc/build/raptor2-2.0.15/src/sort_r.h 2024-04-14 17:12:40.890101000 +0200 44*a5818cd9SDamjan Jovanovic@@ -24,10 +24,10 @@ 45*a5818cd9SDamjan Jovanovic defined OpenBSD3_1 || defined OpenBSD3_9 || defined __OpenBSD__ || \ 46*a5818cd9SDamjan Jovanovic defined __NetBSD__ || \ 47*a5818cd9SDamjan Jovanovic defined __DragonFly__ || \ 48*a5818cd9SDamjan Jovanovic- defined AMIGA) 49*a5818cd9SDamjan Jovanovic+ defined AMIGA) && !defined(qsort_r) 50*a5818cd9SDamjan Jovanovic # define _SORT_R_BSD 51*a5818cd9SDamjan Jovanovic #elif (defined _GNU_SOURCE || defined __gnu_hurd__ || defined __GNU__ || \ 52*a5818cd9SDamjan Jovanovic- defined __linux__ || defined __MINGW32__ || defined __GLIBC__) 53*a5818cd9SDamjan Jovanovic+ defined __linux__ || defined __MINGW32__ || defined __GLIBC__ || defined(qsort_r)) 54*a5818cd9SDamjan Jovanovic # define _SORT_R_LINUX 55*a5818cd9SDamjan Jovanovic #elif (defined _WIN32 || defined _WIN64 || defined __WINDOWS__) 56*a5818cd9SDamjan Jovanovic # define _SORT_R_WINDOWS 57*a5818cd9SDamjan Jovanovic@@ -82,7 +82,7 @@ 58*a5818cd9SDamjan Jovanovic #elif defined _SORT_R_LINUX 59*a5818cd9SDamjan Jovanovic 60*a5818cd9SDamjan Jovanovic typedef int(* __compar_d_fn_t)(const void *, const void *, void *); 61*a5818cd9SDamjan Jovanovic- extern void qsort_r(void *base, size_t nel, size_t width, 62*a5818cd9SDamjan Jovanovic+ extern void (qsort_r)(void *base, size_t nel, size_t width, 63*a5818cd9SDamjan Jovanovic __compar_d_fn_t __compar, void *arg) 64*a5818cd9SDamjan Jovanovic __attribute__((nonnull (1, 4))); 65*a5818cd9SDamjan Jovanovic 66