[csw-devel] SF.net SVN: gar:[15055] csw/mgar/pkg/putty/trunk

bonivart at users.sourceforge.net bonivart at users.sourceforge.net
Wed Jul 13 19:57:49 CEST 2011


Revision: 15055
          http://gar.svn.sourceforge.net/gar/?rev=15055&view=rev
Author:   bonivart
Date:     2011-07-13 17:57:48 +0000 (Wed, 13 Jul 2011)

Log Message:
-----------
putty/trunk: almost builds, problem with gtk symbols

Modified Paths:
--------------
    csw/mgar/pkg/putty/trunk/Makefile

Added Paths:
-----------
    csw/mgar/pkg/putty/trunk/files/0001-solaris-9-uses-inttypes.h-instead-of-stdint.h.patch

Modified: csw/mgar/pkg/putty/trunk/Makefile
===================================================================
--- csw/mgar/pkg/putty/trunk/Makefile	2011-07-13 15:15:24 UTC (rev 15054)
+++ csw/mgar/pkg/putty/trunk/Makefile	2011-07-13 17:57:48 UTC (rev 15055)
@@ -15,6 +15,10 @@
 
 DISTFILES = $(DISTNAME).tar.gz
 
+PATCHFILES += 0001-solaris-9-uses-inttypes.h-instead-of-stdint.h.patch
+
+LICENSE = LICENSE
+
 CONFIGURE_ARGS = $(DIRPATHS)
 
 WORKSRC = $(WORKDIR)/$(DISTNAME)/unix

Added: csw/mgar/pkg/putty/trunk/files/0001-solaris-9-uses-inttypes.h-instead-of-stdint.h.patch
===================================================================
--- csw/mgar/pkg/putty/trunk/files/0001-solaris-9-uses-inttypes.h-instead-of-stdint.h.patch	                        (rev 0)
+++ csw/mgar/pkg/putty/trunk/files/0001-solaris-9-uses-inttypes.h-instead-of-stdint.h.patch	2011-07-13 17:57:48 UTC (rev 15055)
@@ -0,0 +1,34 @@
+From 9f709dbe1015a11c96b75e328176dc0af1eb1946 Mon Sep 17 00:00:00 2001
+From: Peter Bonivart <bonivart at opencsw.org>
+Date: Wed, 13 Jul 2011 19:31:16 +0200
+Subject: [PATCH] solaris-9-uses-inttypes.h-instead-of-stdint.h
+
+---
+ unix/unix.h |   11 ++++++++++-
+ 1 files changed, 10 insertions(+), 1 deletions(-)
+
+diff --git a/unix/unix.h b/unix/unix.h
+index 74f4174..abea183 100644
+--- a/unix/unix.h
++++ b/unix/unix.h
+@@ -6,7 +6,16 @@
+ #endif
+ 
+ #include <stdio.h>		       /* for FILENAME_MAX */
+-#include <stdint.h>		       /* C99 int types */
++
++/* C99 int types, Solaris uses inttypes.h */
++#ifdef HAVE_STDINT_H
++#  include <stdint.h>
++#  else
++#  ifdef HAVE_INTTYPES_H
++#    include <inttypes.h>
++#  endif
++#endif
++
+ #ifndef NO_LIBDL
+ #include <dlfcn.h>		       /* Dynamic library loading */
+ #endif /*  NO_LIBDL */
+-- 
+1.7.6
+


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