patch: bump version

Failed tests summary:
FAIL: backup-prefix-suffix
FAIL: preserve-mode-and-timestamp
FAIL: remember-backup-files
FAIL: symlinks
FAIL: unmodified-files
This commit is contained in:
Jerome Duval
2015-02-16 17:29:19 +00:00
parent 1762ece12b
commit cf7c697390
2 changed files with 30 additions and 5 deletions

View File

@@ -5,12 +5,14 @@ program and applies those differences to one or more original files, producing \
patched versions.
"
LICENSE="GNU GPL v3"
COPYRIGHT="2012 Free Software Foundation, Inc."
COPYRIGHT="2012-2015 Free Software Foundation, Inc."
HOMEPAGE="http://www.gnu.org/software/patch/"
SRC_URI="http://ftp.gnu.org/pub/gnu/patch/patch-2.7.1.tar.bz2"
CHECKSUM_SHA256="aae676de9e95051f425af4507fcc9a019941a2a1f78405e7dbd40bccf786aa11"
ARCHITECTURES="x86 x86_gcc2"
REVISION="2"
SRC_URI="http://ftp.gnu.org/pub/gnu/patch/patch-$portVersion.tar.bz2"
CHECKSUM_SHA256="bf1c0d7db8212aa7bd4a780acd381c93e79469bf44fa4923236e306cc247a4e4"
ARCHITECTURES="x86 x86_gcc2 x86_64 arm"
REVISION="1"
PATCHES="patch-$portVersion.patchset"
PROVIDES="
patch = $portVersion

View File

@@ -0,0 +1,23 @@
From d3c585d16030c1bd44183499ffa4660ae7e69ec1 Mon Sep 17 00:00:00 2001
From: Jerome Duval <jerome.duval@gmail.com>
Date: Mon, 16 Feb 2015 17:22:43 +0000
Subject: fstatat is in sys/stat.h
diff --git a/lib/symlinkat.c b/lib/symlinkat.c
index ce10d94..814b19a 100644
--- a/lib/symlinkat.c
+++ b/lib/symlinkat.c
@@ -18,6 +18,9 @@
#include <config.h>
+#ifdef __HAIKU__
+#include <sys/stat.h>
+#endif
#include <unistd.h>
#include <errno.h>
--
1.8.3.4