quilt, bump version, update old bep file to working recipe (#1306)

This commit is contained in:
Schrijvers Luc
2017-04-29 02:45:14 +02:00
committed by waddlesplash
parent f08e99da8b
commit 17fa4868d3
3 changed files with 53 additions and 104 deletions

View File

@@ -1,81 +0,0 @@
Index: quilt-0.48/changes2changelog
===================================================================
--- quilt-0.48.orig/changes2changelog
+++ quilt-0.48/changes2changelog
@@ -1,4 +1,4 @@
-#! /usr/bin/perl
+#!perl
$ENV{"LC_ALL"} = "C";
Index: quilt-0.48/quilt.quiltrc
===================================================================
--- quilt-0.48.orig/quilt.quiltrc
+++ quilt-0.48/quilt.quiltrc
@@ -12,8 +12,8 @@ QUILT_PATCH_OPTS="--unified"
#QUILT_DIFFSTAT_OPTS="-f0"
# Options to pass to commands (QUILT_${COMMAND}_ARGS)
-QUILT_PUSH_ARGS="--color=auto"
-QUILT_DIFF_ARGS="--no-timestamps --color=auto"
+QUILT_PUSH_ARGS=""
+QUILT_DIFF_ARGS="--no-timestamps"
QUILT_REFRESH_ARGS="--no-timestamps --backup"
# (Add "-p ab" to QUILT_DIFF_ARGS and QUILT_REFRESH_ARGS to get
@@ -28,4 +28,4 @@ QUILT_PATCHES_PREFIX=yes
# Use a specific editor for quilt (defaults to the value of $EDITOR before
# sourcing this configuration file, or vi if $EDITOR wasn't set).
-#EDITOR=nedit
+EDITOR=nano
Index: quilt-0.48/configure.ac
===================================================================
--- quilt-0.48.orig/configure.ac
+++ quilt-0.48/configure.ac
@@ -69,17 +69,6 @@ You can get this patch at ftp://ftp.gnu.
fi
QUILT_COMPAT_PROG_PATH(CP, cp, [gcp cp])
-AC_MSG_CHECKING(whether $CP -l works)
-touch conftest.1
-if $CP -l conftest.1 conftest.2 2>/dev/null; then
- AC_MSG_RESULT(yes)
-else
- AC_MSG_ERROR([no
-
-You appear to have a `cp' that does not support hard links.
-You can download GNU fileutils from ftp.gnu.org
-])
-fi
QUILT_COMPAT_PROG_PATH(DATE, date, [gdate date])
Index: quilt-0.48/quilt/scripts/dependency-graph.in
===================================================================
--- quilt-0.48.orig/quilt/scripts/dependency-graph.in
+++ quilt-0.48/quilt/scripts/dependency-graph.in
@@ -438,8 +438,7 @@ if ($reduce) {
$out = new FileHandle("| tred")
or die "tred: $!\n";
} else {
- $out = new FileHandle("> /dev/stdout")
- or die "$!\n";
+ $out = *STDOUT;
}
# Write graph
Index: quilt-0.48/lib/backup-files.c
===================================================================
--- quilt-0.48.orig/lib/backup-files.c
+++ quilt-0.48/lib/backup-files.c
@@ -224,7 +224,8 @@ link_or_copy_file(const char *from, cons
if (link(from, to) == 0)
return 0;
if (errno != EXDEV && errno != EPERM &&
- errno != EMLINK && errno != ENOSYS) {
+ errno != EMLINK && errno != ENOSYS &&
+ errno != EOPNOTSUPP) {
fprintf(stderr, "Could not link file `%s' to `%s': %s\n",
from, to, strerror(errno));
return 1;

View File

@@ -1,23 +0,0 @@
DESCRIPTION="quilt patch manager"
HOMEPAGE="http://savannah.nongnu.org/projects/quilt"
SOURCE_URI="http://savannah.nongnu.org/download/quilt/quilt-0.48.tar.gz"
CHECKSUM_MD5="f77adda60039ffa753f3c584a286f12b"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND="dev-util/diffstat >= 1.51
sys-apps/ed >= 1.4"
BUILD()
{
cd quilt-0.48
autoconf
./configure --prefix=`finddir B_COMMON_DIRECTORY`
make EDITOR=nano
}
INSTALL()
{
cd quilt-0.48
make install BUILD_ROOT="${DESTDIR}"
}
LICENSE="GNU GPL v2"
COPYRIGHT="2003-2008 Andreas Gruenbacher, Gerd Knorr, Martin Quinson, Peter Braam, Tom Wang et al"

View File

@@ -0,0 +1,53 @@
SUMMARY="Manage large numbers of patches"
DESCRIPTION="Quilt allows you to easily manage large numbers of patches by \
keeping track of the changes each patch makes. Patches can be applied, \
un-applied, refreshed, and more."
HOMEPAGE="http://savannah.nongnu.org/projects/quilt"
COPYRIGHT="2003-2016 Andreas Gruenbacher, Gerd Knorr, Martin Quinson, Peter Braam, Tom Wang et al"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="http://download.savannah.gnu.org/releases/quilt/quilt-$portVersion.tar.gz"
CHECKSUM_SHA256="f6cbc788e5cbbb381a3c6eab5b9efce67c776a8662a7795c7432fd27aa096819"
ARCHITECTURES="x86_gcc2 x86 x86_64"
GLOBAL_WRITABLE_FILES="
settings/bash_completion.d/quilt keep-old
settings/quilt.quiltrc keep-old
"
PROVIDES="
quilt = $portVersion
cmd:guards
cmd:quilt
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
devel:libintl
"
BUILD_PREREQUIRES="
cmd:autoconf
cmd:awk
cmd:diff
cmd:find
cmd:gcc
cmd:make
cmd:patch
cmd:pod2man
"
BUILD()
{
autoconf --force
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
make install
}