dash: remove patch

This commit is contained in:
Jerome Duval
2014-06-07 11:23:22 +00:00
parent d222b053f2
commit fea30bec85
2 changed files with 2 additions and 25 deletions

View File

@@ -7,13 +7,11 @@ it is significantly faster than bash (the GNU Bourne-Again Shell) for most tasks
HOMEPAGE="http://gondor.apana.org/~herbert/dash/"
SRC_URI="http://gondor.apana.org/~herbert/dash/files/dash-0.5.7.tar.gz"
CHECKSUM_SHA256="ae89fa9f1145b7748cf0740e1df04cd52fdf8a285da4911dd0f04983efba4e39"
REVISION="1"
REVISION="2"
LICENSE="GNU GPL v3"
COPYRIGHT="Copyright (c) 1989-1994 The Regents of the University of California. 1997 Christos Zoulas. 1997-2005 Herbert Xu."
ARCHITECTURES="?x86_gcc2 ?x86 !x86_64"
PATCHES="dash-0.5.7.patchset"
ARCHITECTURES="x86_gcc2 x86 x86_64"
PROVIDES="
dash = $portVersion

View File

@@ -1,21 +0,0 @@
From bf0f50131da4ab31343b239a7e4360ffeb82779a Mon Sep 17 00:00:00 2001
From: Jerome Duval <jerome.duval@gmail.com>
Date: Sat, 19 Apr 2014 20:07:51 +0000
Subject: string.h needs __USE_GNU
diff --git a/src/mystring.h b/src/mystring.h
index 083ea98..0381f6c 100644
--- a/src/mystring.h
+++ b/src/mystring.h
@@ -35,6 +35,7 @@
*/
#include <inttypes.h>
+#define __USE_GNU
#include <string.h>
extern const char snlfmt[];
--
1.8.3.4