SF.net SVN: gar:[23768] csw/mgar/pkg/openssl/trunk

chninkel at users.sourceforge.net chninkel at users.sourceforge.net
Thu Jun 5 21:47:43 CEST 2014


Revision: 23768
          http://sourceforge.net/p/gar/code/23768
Author:   chninkel
Date:     2014-06-05 19:47:37 +0000 (Thu, 05 Jun 2014)
Log Message:
-----------
openssl/trunk: fix a missing limits.h header inclusion

Modified Paths:
--------------
    csw/mgar/pkg/openssl/trunk/Makefile
    csw/mgar/pkg/openssl/trunk/files/changelog.CSW

Added Paths:
-----------
    csw/mgar/pkg/openssl/trunk/files/0005-add-missing-limits.h-header-inclusion-for-INT_MAX.patch

Modified: csw/mgar/pkg/openssl/trunk/Makefile
===================================================================
--- csw/mgar/pkg/openssl/trunk/Makefile	2014-06-05 14:11:41 UTC (rev 23767)
+++ csw/mgar/pkg/openssl/trunk/Makefile	2014-06-05 19:47:37 UTC (rev 23768)
@@ -134,7 +134,11 @@
 # (patchs taken from Debian Package)
 PATCHFILES += block_bad_certificates.patch
 
+# the ssl/s3_pkt.c file uses the INT_MAX macro, this requires
+# limits.h to be included on Solaris
+PATCHFILES += 0005-add-missing-limits.h-header-inclusion-for-INT_MAX.patch
 
+
 LICENSE=LICENSE
 
 ##### Build and installation information #####

Added: csw/mgar/pkg/openssl/trunk/files/0005-add-missing-limits.h-header-inclusion-for-INT_MAX.patch
===================================================================
--- csw/mgar/pkg/openssl/trunk/files/0005-add-missing-limits.h-header-inclusion-for-INT_MAX.patch	                        (rev 0)
+++ csw/mgar/pkg/openssl/trunk/files/0005-add-missing-limits.h-header-inclusion-for-INT_MAX.patch	2014-06-05 19:47:37 UTC (rev 23768)
@@ -0,0 +1,24 @@
+From 0bc7d6f12c9b55be62be61cea2c6d4db98b328e4 Mon Sep 17 00:00:00 2001
+From: Yann Rouillard <yann at pleiades.fr.eu.org>
+Date: Thu, 5 Jun 2014 21:43:06 +0200
+Subject: [PATCH] add missing limits.h header inclusion for INT_MAX
+
+---
+ ssl/s3_pkt.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/ssl/s3_pkt.c b/ssl/s3_pkt.c
+index c087fee..32a7a29 100644
+--- a/ssl/s3_pkt.c
++++ b/ssl/s3_pkt.c
+@@ -111,6 +111,7 @@
+ 
+ #include <stdio.h>
+ #include <errno.h>
++#include <limits.h>
+ #define USE_SOCKETS
+ #include "ssl_locl.h"
+ #include <openssl/evp.h>
+-- 
+1.8.4.1
+

Modified: csw/mgar/pkg/openssl/trunk/files/changelog.CSW
===================================================================
--- csw/mgar/pkg/openssl/trunk/files/changelog.CSW	2014-06-05 14:11:41 UTC (rev 23767)
+++ csw/mgar/pkg/openssl/trunk/files/changelog.CSW	2014-06-05 19:47:37 UTC (rev 23768)
@@ -1,6 +1,8 @@
 openssl (0.9.8za,REV=2014.05.06) unstable
 
   * New upstream release.
+  * add a new patch to fix a missing header inclusion:
+    0005-add-missing-limits.h-header-inclusion-for-INT_MAX.patch
 
    -- Yann Rouillard <yann at opencsw.org>  Thu, 05 Jun 2014 15:12:30 +0200
 

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