mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
patch: restore version 2.7.5 for x86_gcc2 non hybrid. See #3200
This commit is contained in:
53
sys-devel/patch/patch-2.7.5.recipe
Normal file
53
sys-devel/patch/patch-2.7.5.recipe
Normal file
@@ -0,0 +1,53 @@
|
||||
SUMMARY="Utility to apply diffs to files"
|
||||
DESCRIPTION="Patch takes a patch file containing a difference listing produced \
|
||||
by the diff program and applies those differences to one or more original \
|
||||
files, producing patched versions."
|
||||
HOMEPAGE="https://savannah.gnu.org/projects/patch/"
|
||||
COPYRIGHT="2012-2015 Free Software Foundation, Inc."
|
||||
LICENSE="GNU GPL v3"
|
||||
REVISION="3"
|
||||
SOURCE_URI="https://ftpmirror.gnu.org/patch/patch-$portVersion.tar.gz
|
||||
https://ftp.gnu.org/gnu/patch/patch-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="7436f5a19f93c3ca83153ce9c5cbe4847e97c5d956e57a220121e741f6e7968f"
|
||||
PATCHES="patch-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64 arm"
|
||||
|
||||
PROVIDES="
|
||||
patch = $portVersion
|
||||
cmd:patch = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:awk
|
||||
cmd:gcc
|
||||
cmd:make
|
||||
"
|
||||
|
||||
TEST_REQUIRES="
|
||||
cmd:diff
|
||||
cmd:git
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
runConfigure ./configure
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
rm "$libDir"/charset.alias
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
make check
|
||||
}
|
||||
23
sys-devel/patch/patches/patch-2.7.5.patchset
Normal file
23
sys-devel/patch/patches/patch-2.7.5.patchset
Normal 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
|
||||
|
||||
Reference in New Issue
Block a user