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

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Mon Aug 16 17:47:21 CEST 2010


Revision: 10752
          http://gar.svn.sourceforge.net/gar/?rev=10752&view=rev
Author:   wahwah
Date:     2010-08-16 15:47:21 +0000 (Mon, 16 Aug 2010)

Log Message:
-----------
thrift: Initial commit. Started working on the package, needs more patches.

Modified Paths:
--------------
    csw/mgar/pkg/thrift/trunk/Makefile
    csw/mgar/pkg/thrift/trunk/checksums

Added Paths:
-----------
    csw/mgar/pkg/thrift/
    csw/mgar/pkg/thrift/trunk/files/0001-sys-inttypes.h-instead-of-stdint.h.patch

Modified: csw/mgar/pkg/thrift/trunk/Makefile
===================================================================
--- csw/mgar/pkg/template/trunk/Makefile	2010-08-12 08:21:26 UTC (rev 10726)
+++ csw/mgar/pkg/thrift/trunk/Makefile	2010-08-16 15:47:21 UTC (rev 10752)
@@ -11,8 +11,8 @@
 ## For more information about GAR variables, please see:
 ## https://sourceforge.net/apps/trac/gar/wiki/GAR%20Variable%20Reference
 ##
-GARNAME = mypkg
-GARVERSION = 1.0
+GARNAME = thrift
+GARVERSION = 0.3.0
 ##
 ## The category that your software fits in. This is not a descriptive field, but
 ## influences the build process. Depending on the CATEGORIES setting, different
@@ -25,21 +25,20 @@
 CATEGORIES = lib
 ##
 ## A one-line description of the package, which will appear in the pkginfo.
-DESCRIPTION = <please fill in>
+DESCRIPTION = Software framework for scalable cross-language services development
 ##
 ## A longer description of the package. This is only for descriptive purposes
 ## inside the Makefile and is not used elsewhere.
 define BLURB
-  <please fill in>
 endef
 ##
 ## Upstream URL that should show up in the VENDOR field as well as on
 ## http://opencsw.org/packages/<packagename>.
-SPKG_SOURCEURL =
+SPKG_SOURCEURL = http://incubator.apache.org/thrift/
 ##
 ## Whitespace-separated list of URLs to download the source package from.
 ## There are presets: $(SF_MIRRORS), $(GNU_MIRRORS) and $(GOOGLE_MIRROR).
-MASTER_SITES =
+MASTER_SITES = http://apache.mirrors.esat.net/incubator/thrift/$(GARVERSION)-incubating/
 ##
 ## SF_PROJ is required if you set $(MASTER_SITES) to $(SF_MIRRORS) and the
 ## Sourceforge project name differs from $(GARNAME). Specifies the Sourceforge
@@ -176,10 +175,5 @@
 ## The compiler to use. Defaults to SOS11, can be also: SOS12, GCC3, GCC4.
 ## GARCOMPILER = SOS11
 ##
-# Remove the following rules and uncomment the
-# include before building.
-all: .DEFAULT
-.DEFAULT:
-	@true
-
-#include gar/category.mk
+PATCHFILES += 0001-sys-inttypes.h-instead-of-stdint.h.patch
+include gar/category.mk

Modified: csw/mgar/pkg/thrift/trunk/checksums
===================================================================
--- csw/mgar/pkg/template/trunk/checksums	2010-08-12 08:21:26 UTC (rev 10726)
+++ csw/mgar/pkg/thrift/trunk/checksums	2010-08-16 15:47:21 UTC (rev 10752)
@@ -0,0 +1 @@
+a6c80ab3d8c7827365a9b40f5c9d66a3  thrift-0.3.0.tar.gz

Added: csw/mgar/pkg/thrift/trunk/files/0001-sys-inttypes.h-instead-of-stdint.h.patch
===================================================================
--- csw/mgar/pkg/thrift/trunk/files/0001-sys-inttypes.h-instead-of-stdint.h.patch	                        (rev 0)
+++ csw/mgar/pkg/thrift/trunk/files/0001-sys-inttypes.h-instead-of-stdint.h.patch	2010-08-16 15:47:21 UTC (rev 10752)
@@ -0,0 +1,39 @@
+From 3463cbf826b2ac1eb4e96d997e1830e7af0a495b Mon Sep 17 00:00:00 2001
+From: Maciej Blizinski <maciej at opencsw.org>
+Date: Mon, 16 Aug 2010 17:05:23 +0200
+Subject: [PATCH] sys/inttypes.h instead of stdint.h
+
+---
+ compiler/cpp/src/parse/t_const_value.h |    2 +-
+ compiler/cpp/src/parse/t_type.h        |    2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/compiler/cpp/src/parse/t_const_value.h b/compiler/cpp/src/parse/t_const_value.h
+index 5bfaeb2..e975571 100644
+--- a/compiler/cpp/src/parse/t_const_value.h
++++ b/compiler/cpp/src/parse/t_const_value.h
+@@ -21,7 +21,7 @@
+ #define T_CONST_VALUE_H
+ 
+ #include "t_enum.h"
+-#include <stdint.h>
++#include <sys/inttypes.h>
+ #include <map>
+ #include <vector>
+ 
+diff --git a/compiler/cpp/src/parse/t_type.h b/compiler/cpp/src/parse/t_type.h
+index 4ce2eda..93ff2ff 100644
+--- a/compiler/cpp/src/parse/t_type.h
++++ b/compiler/cpp/src/parse/t_type.h
+@@ -23,7 +23,7 @@
+ #include <string>
+ #include <map>
+ #include <cstring>
+-#include <stdint.h>
++#include <sys/inttypes.h>
+ #include "t_doc.h"
+ 
+ // What's worse?  This, or making a src/parse/non_inlined.cc?
+-- 
+1.7.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