forked from hasufell/hasufell-repository
		
	dev-libs/mbedtls: bump to 2.4.0
This commit is contained in:
		
							parent
							
								
									4d89edea22
								
							
						
					
					
						commit
						632d12a7c1
					
				| @ -1,15 +0,0 @@ | ||||
| Author: James Cowgill | ||||
| Reason: fix missing include | ||||
| Upstream: reported, https://github.com/ARMmbed/mbedtls/issues/522 | ||||
| 
 | ||||
| --- a/include/mbedtls/ssl.h
 | ||||
| +++ b/include/mbedtls/ssl.h
 | ||||
| @@ -52,7 +52,7 @@
 | ||||
|  #endif | ||||
| 
 | ||||
|  #if defined(MBEDTLS_HAVE_TIME) | ||||
| -#include <time.h>
 | ||||
| +#include "platform.h"
 | ||||
|  #endif | ||||
| 
 | ||||
|  /* | ||||
| @ -1,15 +1,17 @@ | ||||
| # Copyright 2016 Julian Ospald <hasufell@posteo.de> | ||||
| # Distributed under the terms of the GNU General Public License v2 | ||||
| 
 | ||||
| WORK=${WORKBASE}/${PN}-${PNV} | ||||
| 
 | ||||
| require github [ user=ARMmbed tag=mbedtls-${PV} ] | ||||
| WORK="${WORKBASE}/${PNV}" # because github.exlib is broken | ||||
| require cmake [ api=2 ] | ||||
| 
 | ||||
| 
 | ||||
| SUMMARY="Cryptographic library for embedded systems" | ||||
| HOMEPAGE="https://tls.mbed.org/" | ||||
| DOWNLOADS="https://tls.mbed.org/download/${PNV}-gpl.tgz" | ||||
| 
 | ||||
| LICENCES="Apache-2.0" | ||||
| LICENCES="|| ( Apache-2.0 GPL-2 )" | ||||
| SLOT="0" | ||||
| PLATFORMS="~amd64 ~x86" | ||||
| 
 | ||||
| @ -49,10 +51,6 @@ CMAKE_SRC_CONFIGURE_TESTS=( | ||||
|     '-DENABLE_TESTING=ON' | ||||
| ) | ||||
| 
 | ||||
| DEFAULT_SRC_PREPARE_PATCHES=( | ||||
|     "${FILES}"/${PNV}-platform-include.patch | ||||
| ) | ||||
| 
 | ||||
| enable_mbedtls_option() { | ||||
|     local myopt="$@" | ||||
|     # check that config.h syntax is the same at version bump | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user