ports/astro/stellarsolver/files/patch-stellarsolver_astrometry_os-features.h
Xin LI dca15813a5 astro/stellarsolver: Upgrade to 2.4 and fix build on -CURRENT with GNU qsort_r.
PR:		ports/266227, ports/266574
Reported by:	antoine (via exp-run)
Approved by:	maintainer (acm@)
2022-09-24 22:39:16 -07:00

11 lines
432 B
C

--- stellarsolver/astrometry/os-features.h.orig 2022-07-29 16:11:55 UTC
+++ stellarsolver/astrometry/os-features.h
@@ -110,7 +110,7 @@
#if NEED_DECLARE_QSORT_R
//// NOTE: this declaration must match os-features-test.c .
-void qsort_r(void *base, size_t nmemb, size_t sz,
+void (qsort_r)(void *base, size_t nmemb, size_t sz,
void *userdata,
int (*compar)(void *, const void *, const void *));
#endif