mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
libsodium: bump version and remove SECONDARY_ARCH (#1214)
This commit is contained in:
@@ -13,37 +13,35 @@ COPYRIGHT="2013-2016 Frank Denis"
|
||||
LICENSE="ISC"
|
||||
REVISION="4"
|
||||
SOURCE_URI="https://download.libsodium.org/libsodium/releases/libsodium-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="a14549db3c49f6ae2170cbbf4664bd48ace50681045e8dbea7c8d9fb96f9c765"
|
||||
PATCHES="libsodium-$portVersion.patchset"
|
||||
CHECKSUM_SHA256="b8648f1bb3a54b0251cf4ffa4f0d76ded13977d4fa7517d988f4c902dd8e2f95"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
|
||||
PROVIDES="
|
||||
libsodium$secondaryArchSuffix = $portVersion
|
||||
lib:libsodium$secondaryArchSuffix = 18.1.1 compat >= 18
|
||||
libsodium = $portVersion
|
||||
lib:libsodium = 18.1.1 compat >= 18
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
haiku
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
libsodium${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libsodium$secondaryArchSuffix = 18.1.1 compat >= 18
|
||||
libsodium_devel = $portVersion
|
||||
devel:libsodium = 18.1.1 compat >= 18
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libsodium$secondaryArchSuffix == $portVersion base
|
||||
libsodium == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
haiku_devel
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:autoconf
|
||||
cmd:automake
|
||||
cmd:awk
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:libtoolize$secondaryArchSuffix
|
||||
cmd:gcc
|
||||
cmd:libtoolize
|
||||
cmd:make
|
||||
"
|
||||
|
||||
@@ -1,22 +0,0 @@
|
||||
From 7e3a455500f9accf9bf34377dada312690c27a1a Mon Sep 17 00:00:00 2001
|
||||
From: Winston Durand <me@winstondurand.com>
|
||||
Date: Wed, 30 Nov 2016 05:18:11 +0000
|
||||
Subject: removed double semicolon
|
||||
|
||||
|
||||
diff --git a/src/libsodium/sodium/utils.c b/src/libsodium/sodium/utils.c
|
||||
index c9f11ba..c41f929 100644
|
||||
--- a/src/libsodium/sodium/utils.c
|
||||
+++ b/src/libsodium/sodium/utils.c
|
||||
@@ -62,7 +62,7 @@ static unsigned char canary[CANARY_SIZE];
|
||||
__attribute__ ((weak)) void
|
||||
_sodium_memzero_as_a_weak_symbol_to_prevent_lto(void * const pnt, const size_t len)
|
||||
{
|
||||
- unsigned char *pnt_ = (unsigned char *) pnt;;
|
||||
+ unsigned char *pnt_ = (unsigned char *) pnt;
|
||||
size_t i = (size_t) 0U;
|
||||
|
||||
while (i < len) {
|
||||
--
|
||||
2.7.0
|
||||
|
||||
Reference in New Issue
Block a user