[csw-devel] SF.net SVN: gar:[9650] csw/mgar/pkg

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Fri Apr 16 11:32:08 CEST 2010


Revision: 9650
          http://gar.svn.sourceforge.net/gar/?rev=9650&view=rev
Author:   dmichelsen
Date:     2010-04-16 09:32:08 +0000 (Fri, 16 Apr 2010)

Log Message:
-----------
libical: Initial commit

Added Paths:
-----------
    csw/mgar/pkg/libical/
    csw/mgar/pkg/libical/branches/
    csw/mgar/pkg/libical/tags/
    csw/mgar/pkg/libical/trunk/
    csw/mgar/pkg/libical/trunk/Makefile
    csw/mgar/pkg/libical/trunk/checksums
    csw/mgar/pkg/libical/trunk/files/
    csw/mgar/pkg/libical/trunk/files/0001-Use-putenv-instead-of-setenv.patch


Property changes on: csw/mgar/pkg/libical/trunk
___________________________________________________________________
Added: svn:ignore
   + cookies
download
work


Added: svn:externals
   + gar https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2


Added: csw/mgar/pkg/libical/trunk/Makefile
===================================================================
--- csw/mgar/pkg/libical/trunk/Makefile	                        (rev 0)
+++ csw/mgar/pkg/libical/trunk/Makefile	2010-04-16 09:32:08 UTC (rev 9650)
@@ -0,0 +1,38 @@
+# : Makefile 9089 2010-03-11 08:34:46Z wahwah $
+GARNAME = libical
+GARVERSION = 0.44
+CATEGORIES = lib
+
+DESCRIPTION = Library that implements the iCal protocols in RFC2445, RFC2446, RFC2447
+define BLURB
+endef
+
+SF_PROJ = freeassociation
+MASTER_SITES = $(SF_MIRROR)
+DISTFILES  = $(GARNAME)-$(GARVERSION).tar.gz
+
+# Fix testsuite until this is resolved:
+#   http://sourceforge.net/tracker/?func=detail&aid=2988172&group_id=16077&atid=116077
+PATCHFILES = 0001-Use-putenv-instead-of-setenv.patch
+
+# File name regex to get notifications about upstream software releases
+UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.gz
+
+VENDOR_URL = http://freeassociation.sourceforge.net/
+
+PACKAGES = CSWlibical CSWlibicaldevel
+
+CATALOGNAME_CSWlibical = libical
+CATALOGNAME_CSWliicaldevel = libical_devel
+
+SPKG_DESC_CSWlibical = $(DESCRIPTION)
+SPKG_DESC_CSWlibicaldevel = Developer files for libical
+
+BUILD64 = 1
+CONFIGURE_ARGS = $(DIRPATHS)
+
+TEST_TARGET = check
+
+PKGFILES_CSWlibicaldevel = $(PKGFILES_DEVEL)
+
+include gar/category.mk


Property changes on: csw/mgar/pkg/libical/trunk/Makefile
___________________________________________________________________
Added: svn:keywords
   + Id

Added: csw/mgar/pkg/libical/trunk/checksums
===================================================================
--- csw/mgar/pkg/libical/trunk/checksums	                        (rev 0)
+++ csw/mgar/pkg/libical/trunk/checksums	2010-04-16 09:32:08 UTC (rev 9650)
@@ -0,0 +1,2 @@
+d127fdd155907983c7829e24c61be59e  0001-Use-putenv-instead-of-setenv.patch
+e0403c31e1ed82569325685f8c15959c  libical-0.44.tar.gz

Added: csw/mgar/pkg/libical/trunk/files/0001-Use-putenv-instead-of-setenv.patch
===================================================================
--- csw/mgar/pkg/libical/trunk/files/0001-Use-putenv-instead-of-setenv.patch	                        (rev 0)
+++ csw/mgar/pkg/libical/trunk/files/0001-Use-putenv-instead-of-setenv.patch	2010-04-16 09:32:08 UTC (rev 9650)
@@ -0,0 +1,27 @@
+From 65113edda06ad24ceec3a924d7a45cb609742924 Mon Sep 17 00:00:00 2001
+From: Dagobert Michelsen <dam at opencsw.org>
+Date: Fri, 16 Apr 2010 11:09:15 +0200
+Subject: [PATCH] Use putenv instead of setenv
+
+---
+ src/test/timezones.c |    4 +++-
+ 1 files changed, 3 insertions(+), 1 deletions(-)
+
+diff --git a/src/test/timezones.c b/src/test/timezones.c
+index 0ddcc7e..9621325 100644
+--- a/src/test/timezones.c
++++ b/src/test/timezones.c
+@@ -49,7 +49,9 @@ int main(int argc, char **argv)
+          * select this location for glibc: needs support for TZ=<location>
+          * which is not POSIX
+          */
+-        setenv("TZ", zone_location, 1);
++	char tzenv[200];
++	snprintf(tzenv,sizeof(tzenv),"TZ=%s", zone_location);
++	putenv( tzenv );
+         tzset();
+ 
+         /*
+-- 
+1.7.0
+


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