[postgis-tickets] [SCM] PostGIS branch master updated. 3.3.0rc2-102-g3bc1bd949

git at osgeo.org git at osgeo.org
Fri Sep 16 12:56:31 PDT 2022


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "PostGIS".

The branch, master has been updated
       via  3bc1bd94958644d0d5ddba6d2a6ce475ddfd869b (commit)
      from  956ffd5f949c8dbef9ba14f70907b50673c403c2 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 3bc1bd94958644d0d5ddba6d2a6ce475ddfd869b
Author: Sandro Santilli <strk at kbt.io>
Date:   Fri Sep 16 21:55:48 2022 +0200

    Define _GNU_SOURCE if not defined (for asprintf)
    
    Use of asprintf was introduced with 32f2ea28a

diff --git a/loader/shpcommon.c b/loader/shpcommon.c
index d9e25b1f1..787232397 100644
--- a/loader/shpcommon.c
+++ b/loader/shpcommon.c
@@ -13,6 +13,10 @@
 
 /* This file contains functions that are shared between the loader and dumper */
 
+#ifndef _GNU_SOURCE
+# define _GNU_SOURCE
+#endif
+
 #include <stdio.h>
 #include <string.h>
 #include <stdlib.h>

-----------------------------------------------------------------------

Summary of changes:
 loader/shpcommon.c | 4 ++++
 1 file changed, 4 insertions(+)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list