gawk: bump version

This commit is contained in:
Jerome Duval
2015-05-04 18:57:16 +00:00
parent 78788a4b29
commit 0ddd91a2b6
3 changed files with 38 additions and 31 deletions

View File

@@ -12,13 +12,13 @@ makes it possible to handle simple data-reformatting jobs with just a \
few lines of code.
"
HOMEPAGE="http://www.gnu.org/s/gawk"
SRC_URI="http://ftp.gnu.org/gnu/gawk/gawk-4.1.0.tar.gz"
SRC_URI="http://ftp.gnu.org/gnu/gawk/gawk-$portVersion.tar.gz"
CHECKSUM_SHA256="79f81b09bc3cce50e083f78acc0f91783821ad30866615d30dd1731f17ec440b"
REVISION="2"
REVISION="1"
LICENSE="GNU GPL v3"
COPYRIGHT="1983-2013 Free Software Foundation, Inc."
ARCHITECTURES="x86_gcc2 x86 x86_64 arm"
PATCHES="gawk-4.1.0.patchset"
PATCHES="gawk-$portVersion.patchset"
PROVIDES="
gawk = $portVersion compat >= 4
@@ -42,6 +42,7 @@ BUILD_PREREQUIRES="
cmd:make
cmd:makeinfo
cmd:sed
cmd:yacc
"
defineDebugInfoPackage gawk \

View File

@@ -1,28 +0,0 @@
From e5661558712bbd6f1e688fb564732bd3ca80ac63 Mon Sep 17 00:00:00 2001
From: Jerome Duval <jerome.duval@gmail.com>
Date: Tue, 25 Feb 2014 19:38:04 +0000
Subject: avoids unsupported CFLAGS
diff --git a/extension/configure.ac b/extension/configure.ac
index 53ed588..d9b41f5 100644
--- a/extension/configure.ac
+++ b/extension/configure.ac
@@ -47,10 +47,10 @@ dnl AC_PROG_INSTALL
AC_SUBST([pkgextensiondir], ['${libdir}/gawk'])
-if test "$GCC" = yes
-then
- CFLAGS="$CFLAGS -Wall -Wextra"
-fi
+#if test "$GCC" = yes
+#then
+# CFLAGS="$CFLAGS -Wall -Wextra"
+#fi
AC_MSG_CHECKING([for special development options])
if test -f $srcdir/../.developing
--
1.8.3.4

View File

@@ -0,0 +1,34 @@
From 8e62f11fa3e9de98b46ecd516d08a58690586040 Mon Sep 17 00:00:00 2001
From: Jerome Duval <jerome.duval@gmail.com>
Date: Mon, 4 May 2015 18:51:15 +0000
Subject: Haiku patch
diff --git a/getopt.c b/getopt.c
index 4de0b9a..715790e 100644
--- a/getopt.c
+++ b/getopt.c
@@ -30,6 +30,7 @@
#endif
#include <stdio.h>
+#include <stdlib.h>
/* Comment out all this code if we are using the GNU C Library, and are not
actually compiling the library itself. This code is part of the GNU C
diff --git a/io.c b/io.c
index 2344c2a..61fe6ac 100644
--- a/io.c
+++ b/io.c
@@ -46,6 +46,8 @@
#define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)
#endif
+#include <sys/select.h>
+
#ifdef HAVE_TERMIOS_H
#include <termios.h>
#endif
--
1.8.3.4