aports/testing/mapserver/10-musl.patch
2021-02-04 22:06:32 +00:00

15 lines
361 B
Diff

Author: Holger Jaekel <holger.jaekel@gmx.de>
Summary: Fixes compilation with musl libc, define PATH_MAX
----
--- a/mapshape.c
+++ b/mapshape.c
@@ -34,6 +34,7 @@
* DEALINGS IN THE SOFTWARE.
****************************************************************************/
+#define _GNU_SOURCE
#include <limits.h>
#include <assert.h>
#include "mapserver.h"