[csw-devel] SF.net SVN: gar:[18689] csw/mgar/pkg/lang-python/pyzmq/trunk

romeotheriault at users.sourceforge.net romeotheriault at users.sourceforge.net
Tue Jul 10 05:48:09 CEST 2012


Revision: 18689
          http://gar.svn.sourceforge.net/gar/?rev=18689&view=rev
Author:   romeotheriault
Date:     2012-07-10 03:48:09 +0000 (Tue, 10 Jul 2012)
Log Message:
-----------
lang-python/pyzmq/trunk: Patch zmq_compat.h to use inttypes.h for solaris

Modified Paths:
--------------
    csw/mgar/pkg/lang-python/pyzmq/trunk/Makefile

Added Paths:
-----------
    csw/mgar/pkg/lang-python/pyzmq/trunk/files/0002-Include-inttypes-so-builds-on-solaris-9.patch

Modified: csw/mgar/pkg/lang-python/pyzmq/trunk/Makefile
===================================================================
--- csw/mgar/pkg/lang-python/pyzmq/trunk/Makefile	2012-07-10 03:16:12 UTC (rev 18688)
+++ csw/mgar/pkg/lang-python/pyzmq/trunk/Makefile	2012-07-10 03:48:09 UTC (rev 18689)
@@ -11,18 +11,15 @@
 MASTER_SITES = https://github.com/zeromq/pyzmq/downloads/
 DISTFILES  = $(DISTNAME).tar.gz
 
-PACKAGING_PLATFORMS += solaris10-sparc solaris10-i386
+#CHECKPKG_OVERRIDES_CSWpy-pyzmq += pkginfo-opencsw-repository-uncommitted
 
-CHECKPKG_OVERRIDES_CSWpy-pyzmq += pkginfo-opencsw-repository-uncommitted
-
 BUILD_DEP_PKGS += CSWlibzmq1-dev
 RUNTIME_DEP_PKGS_CSWpy-pyzmq += CSWlibpython2-6-1-0
 RUNTIME_DEP_PKGS_CSWpy-pyzmq += CSWlibzmq1
 
 PATCHFILES += 0001-These-flags-are-for-gnu-gcc-and-fail-on-suns-cc-comp.patch
+PATCHFILES += 0002-Include-inttypes-so-builds-on-solaris-9.patch
 
-#GARCOMPILER = GCC4
-
 CONFIGURE_ARGS += $(DIRPATHS)
 
 BUILD_ARGS += --zmq=/opt/csw

Added: csw/mgar/pkg/lang-python/pyzmq/trunk/files/0002-Include-inttypes-so-builds-on-solaris-9.patch
===================================================================
--- csw/mgar/pkg/lang-python/pyzmq/trunk/files/0002-Include-inttypes-so-builds-on-solaris-9.patch	                        (rev 0)
+++ csw/mgar/pkg/lang-python/pyzmq/trunk/files/0002-Include-inttypes-so-builds-on-solaris-9.patch	2012-07-10 03:48:09 UTC (rev 18689)
@@ -0,0 +1,27 @@
+From 64e5cb62c43bedf150987ee308ebbad432860a54 Mon Sep 17 00:00:00 2001
+From: Romeo Theriault <romeotheriault at opencsw.org>
+Date: Tue, 10 Jul 2012 05:35:53 +0200
+Subject: [PATCH] Include inttypes so builds on solaris 9
+
+---
+ zmq/utils/zmq_compat.h |    4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/zmq/utils/zmq_compat.h b/zmq/utils/zmq_compat.h
+index 388a569..44953fa 100644
+--- a/zmq/utils/zmq_compat.h
++++ b/zmq/utils/zmq_compat.h
+@@ -7,6 +7,10 @@
+ 
+ #if defined(_MSC_VER)
+ #define pyzmq_int64_t __int64
++#endif
++#if defined(__sun) || defined(__sun__)
++#include <sys/inttypes.h>
++#define pyzmq_int64_t int64_t
+ #else
+ #include <stdint.h>
+ #define pyzmq_int64_t int64_t
+-- 
+1.7.10.3
+

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