Skip to content

Commit

Permalink
tinyows: patch missing stdlib.h inclusion
Browse files Browse the repository at this point in the history
  • Loading branch information
nilason committed Mar 27, 2024
1 parent d8870af commit 4bb03e0
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gis/tinyows/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ checksums rmd160 e9ee918d07791e596fbccf5f06f22966b93e489e \
size 1278980

patchfiles patch-Makefile_in.diff \
patch-ows_define_h.diff
patch-ows_define_h.diff \
patch_ows_config_c.patch

depends_lib port:libxml2 \
port:postgresql15 \
Expand Down
13 changes: 13 additions & 0 deletions gis/tinyows/files/patch_ows_config_c.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@

--- src/ows/ows_config.c.orig
+++ src/ows/ows_config.c
@@ -22,6 +22,7 @@


#include <stdio.h>
+#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <libxml/xmlreader.h>


0 comments on commit 4bb03e0

Please sign in to comment.