libmd: drop patch. Thanks @guillemj! Closes #3283

This commit is contained in:
fbrosson
2018-10-27 15:22:27 +00:00
parent 06a849feae
commit 23522206e1
2 changed files with 5 additions and 30 deletions

View File

@@ -24,10 +24,9 @@ LICENSE="BSD (3-clause)
BSD (2-clause) NetBSD
ISC
Public Domain"
REVISION="1"
REVISION="2"
SOURCE_URI="https://libbsd.freedesktop.org/releases/libmd-$portVersion.tar.xz"
CHECKSUM_SHA256="e14eeb931cf85330f95ff822262d3033125488dfb2f867441e36e2d2c4a34c71"
PATCHES="libmd-$portVersion.patchset"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
@@ -80,21 +79,21 @@ INSTALL()
{
make install
rm -f $libDir/libmd.la
rm -f "$libDir"/libmd.la
prepareInstalledDevelLib libmd
fixPkgconfig
if [ -n "$secondaryArchSuffix" ]; then
rm -rf $manDir
rm -rf "$manDir"
maybe_manDir=
else
maybe_manDir=$manDir
fi
packageEntries devel \
$developDir \
$maybe_manDir
"$developDir" \
${maybe_manDir:+"$maybe_manDir"}
}
TEST()

View File

@@ -1,24 +0,0 @@
From 5b8465a3d576188312c83e111039e7d1a1182161 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Zolt=C3=A1n=20Mizsei?= <zmizsei@extrowerk.com>
Date: Thu, 2 Mar 2017 11:00:39 +0100
Subject: Endiannes support on Haiku
diff --git a/src/sha2.c b/src/sha2.c
index 849ebbb..9fd8ff9 100644
--- a/src/sha2.c
+++ b/src/sha2.c
@@ -38,6 +38,10 @@
#include <sys/types.h>
+#ifdef __HAIKU__
+#include <endian.h>
+#endif
+
#include <string.h>
#include <sha2.h>
--
2.19.1