SF.net SVN: gar:[23418] csw/mgar/pkg

guengel at users.sourceforge.net guengel at users.sourceforge.net
Mon Apr 14 09:11:10 CEST 2014


Revision: 23418
          http://sourceforge.net/p/gar/code/23418
Author:   guengel
Date:     2014-04-14 07:11:06 +0000 (Mon, 14 Apr 2014)
Log Message:
-----------
postgis/trunk: Initial commit of PostGIS.

Added Paths:
-----------
    csw/mgar/pkg/postgis/
    csw/mgar/pkg/postgis/Makefile
    csw/mgar/pkg/postgis/branches/
    csw/mgar/pkg/postgis/tags/
    csw/mgar/pkg/postgis/trunk/
    csw/mgar/pkg/postgis/trunk/Makefile
    csw/mgar/pkg/postgis/trunk/checksums
    csw/mgar/pkg/postgis/trunk/files/
    csw/mgar/pkg/postgis/trunk/files/0000-Use-stdarg.h-only-if-__STDC__-is-defined-to-1.patch

Added: csw/mgar/pkg/postgis/Makefile
===================================================================
--- csw/mgar/pkg/postgis/Makefile	                        (rev 0)
+++ csw/mgar/pkg/postgis/Makefile	2014-04-14 07:11:06 UTC (rev 23418)
@@ -0,0 +1,2 @@
+%:
+	$(MAKE) -C trunk $*


Property changes on: csw/mgar/pkg/postgis/Makefile
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Date Revision Author HeadURL Id
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Index: csw/mgar/pkg/postgis/trunk
===================================================================
--- csw/mgar/pkg/postgis/trunk	2014-04-14 07:07:05 UTC (rev 23417)
+++ csw/mgar/pkg/postgis/trunk	2014-04-14 07:11:06 UTC (rev 23418)

Property changes on: csw/mgar/pkg/postgis/trunk
___________________________________________________________________
Added: svn:ignore
## -0,0 +1 ##
+work
Added: csw/mgar/pkg/postgis/trunk/Makefile
===================================================================
--- csw/mgar/pkg/postgis/trunk/Makefile	                        (rev 0)
+++ csw/mgar/pkg/postgis/trunk/Makefile	2014-04-14 07:11:06 UTC (rev 23418)
@@ -0,0 +1,29 @@
+# $Id$
+# TODO (release-critical prefixed with !, non release-critical with *)
+#
+NAME = postgis
+VERSION = 2.1.1
+GARTYPE = v2
+
+DESCRIPTION = Brief description
+define BLURB
+  Long description
+endef
+
+GARCOMPILER = GNU
+
+PATCHFILES += 0000-Use-stdarg.h-only-if-__STDC__-is-defined-to-1.patch
+
+MASTER_SITES = http://download.osgeo.org/postgis/source/
+DISTFILES  = $(DISTNAME).tar.gz
+
+EXTRA_LINKER_FLAGS = -lm
+EXTRA_CFLAGS = -std=c99 -D__EXTENSIONS__
+EXTRA_TEST_ENV = GDAL_DATA=/opt/csw/share/gdal-data
+
+CONFIGURE_ARGS = $(DIRPATHS)
+
+BUILD64 = 1
+
+include gar/category.mk
+


Property changes on: csw/mgar/pkg/postgis/trunk/Makefile
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: csw/mgar/pkg/postgis/trunk/checksums
===================================================================
--- csw/mgar/pkg/postgis/trunk/checksums	                        (rev 0)
+++ csw/mgar/pkg/postgis/trunk/checksums	2014-04-14 07:11:06 UTC (rev 23418)
@@ -0,0 +1 @@
+4af86a39e2e9dbf10fe894e03c2c7027  postgis-2.1.1.tar.gz

Added: csw/mgar/pkg/postgis/trunk/files/0000-Use-stdarg.h-only-if-__STDC__-is-defined-to-1.patch
===================================================================
--- csw/mgar/pkg/postgis/trunk/files/0000-Use-stdarg.h-only-if-__STDC__-is-defined-to-1.patch	                        (rev 0)
+++ csw/mgar/pkg/postgis/trunk/files/0000-Use-stdarg.h-only-if-__STDC__-is-defined-to-1.patch	2014-04-14 07:11:06 UTC (rev 23418)
@@ -0,0 +1,143 @@
+From 89b5005b81ab3231c41a579d512dd6a9a90f4a7e Mon Sep 17 00:00:00 2001
+From: Rafael Ostertag <rafi at guengel.ch>
+Date: Fri, 4 Apr 2014 13:58:38 +0200
+Subject: [PATCH] Use stdarg.h only if __STDC__ is defined to 1
+
+---
+ liblwgeom/liblwgeom.h.in       | 6 +++++-
+ liblwgeom/liblwgeom_internal.h | 6 +++++-
+ liblwgeom/lwgeom.c             | 6 +++++-
+ liblwgeom/lwgeom_log.h         | 6 +++++-
+ liblwgeom/lwsegmentize.c       | 6 +++++-
+ liblwgeom/lwutil.c             | 6 +++++-
+ liblwgeom/stringbuffer.h       | 8 ++++++--
+ 7 files changed, 36 insertions(+), 8 deletions(-)
+
+diff --git a/liblwgeom/liblwgeom.h.in b/liblwgeom/liblwgeom.h.in
+index ab3807e..500e4a2 100644
+--- a/liblwgeom/liblwgeom.h.in
++++ b/liblwgeom/liblwgeom.h.in
+@@ -16,7 +16,11 @@
+ #ifndef _LIBLWGEOM_H
+ #define _LIBLWGEOM_H 1
+ 
+-#include <stdarg.h>
++#if __STDC__
++# include <stdarg.h>
++#else
++# include <varargs.h>
++#endif
+ #include <stdio.h>
+ #include <stdint.h>
+ #include "proj_api.h"
+diff --git a/liblwgeom/liblwgeom_internal.h b/liblwgeom/liblwgeom_internal.h
+index 0e63d1a..db6e425 100644
+--- a/liblwgeom/liblwgeom_internal.h
++++ b/liblwgeom/liblwgeom_internal.h
+@@ -19,7 +19,11 @@
+ #include "../postgis_config.h"
+ 
+ #include <assert.h>
+-#include <stdarg.h>
++#if __STDC__
++# include <stdarg.h>
++#else
++# include <varargs.h>
++#endif
+ #include <stdint.h>
+ #include <stdio.h>
+ #include <string.h>
+diff --git a/liblwgeom/lwgeom.c b/liblwgeom/lwgeom.c
+index d2bd421..062d4cd 100644
+--- a/liblwgeom/lwgeom.c
++++ b/liblwgeom/lwgeom.c
+@@ -12,7 +12,11 @@
+ 
+ #include <stdio.h>
+ #include <stdlib.h>
+-#include <stdarg.h>
++#if __STDC__
++# include <stdarg.h>
++#else
++# include <varargs.h>
++#endif
+ 
+ #include "liblwgeom_internal.h"
+ #include "lwgeom_log.h"
+diff --git a/liblwgeom/lwgeom_log.h b/liblwgeom/lwgeom_log.h
+index fb8bc00..108d366 100644
+--- a/liblwgeom/lwgeom_log.h
++++ b/liblwgeom/lwgeom_log.h
+@@ -20,7 +20,11 @@
+ #ifndef LWGEOM_LOG_H
+ #define LWGEOM_LOG_H 1
+ 
+-#include <stdarg.h>
++#if __STDC__
++# include <stdarg.h>
++#else
++# include <varargs.h>
++#endif
+ 
+ /*
+  * Debug macros
+diff --git a/liblwgeom/lwsegmentize.c b/liblwgeom/lwsegmentize.c
+index 193ef03..7dbfdef 100644
+--- a/liblwgeom/lwsegmentize.c
++++ b/liblwgeom/lwsegmentize.c
+@@ -12,7 +12,11 @@
+ 
+ #include <stdio.h>
+ #include <stdlib.h>
+-#include <stdarg.h>
++#if __STDC__
++# include <stdarg.h>
++#else
++# include <varargs.h>
++#endif
+ #include <string.h>
+ 
+ #include "liblwgeom_internal.h"
+diff --git a/liblwgeom/lwutil.c b/liblwgeom/lwutil.c
+index 3c4a6bb..228ae0b 100644
+--- a/liblwgeom/lwutil.c
++++ b/liblwgeom/lwutil.c
+@@ -1,6 +1,10 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+-#include <stdarg.h>
++#if __STDC__
++# include <stdarg.h>
++#else
++# include <varargs.h>
++#endif
+ #include <string.h>
+ 
+ /* Global variables */
+diff --git a/liblwgeom/stringbuffer.h b/liblwgeom/stringbuffer.h
+index 0574aea..34f6c26 100644
+--- a/liblwgeom/stringbuffer.h
++++ b/liblwgeom/stringbuffer.h
+@@ -40,7 +40,11 @@
+ #define _STRINGBUFFER_H 1
+ 
+ #include <stdlib.h>
+-#include <stdarg.h>
++#if __STDC__
++# include <stdarg.h>
++#else
++# include <varargs.h>
++#endif
+ #include <string.h>
+ #include <stdio.h>
+ 
+@@ -69,4 +73,4 @@ extern char stringbuffer_lastchar(stringbuffer_t *s);
+ extern int stringbuffer_trim_trailing_white(stringbuffer_t *s);
+ extern int stringbuffer_trim_trailing_zeroes(stringbuffer_t *s);
+ 
+-#endif /* _STRINGBUFFER_H */
+\ No newline at end of file
++#endif /* _STRINGBUFFER_H */
+-- 
+1.8.4.1
+

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list