mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-03 05:28:53 +02:00
Initial bep and patch files for m4, note that this is currently failing make check
This commit is contained in:
18
sys-devel/m4/m4-1.4.14.bep
Normal file
18
sys-devel/m4/m4-1.4.14.bep
Normal file
@@ -0,0 +1,18 @@
|
||||
DESCRIPTION="m4 - GNU macro processor"
|
||||
HOMEPAGE="http://www.gnu.org/software/m4/"
|
||||
SRC_URI="http://ftp.gnu.org/gnu/m4/m4-1.4.14.tar.gz"
|
||||
CHECKSUM_MD5="f0542d58f94c7d0ce0d01224e447be66"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="unstable"
|
||||
DEPEND=""
|
||||
BUILD {
|
||||
cd m4-1.4.14
|
||||
./configure --prefix=/boot/common
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL {
|
||||
cd m4-1.4.14
|
||||
make install
|
||||
make check
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
Package: GNU M4
|
||||
Version: 1.4.13
|
||||
Copyright: 2000, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
|
||||
Version: 1.4.14
|
||||
Copyright: 2000, 2005-2010 Free Software Foundation, Inc.
|
||||
License: GNU GPL v3
|
||||
URL: http://www.gnu.org/software/m4
|
||||
|
||||
15
sys-devel/m4/patches/m4-1.4.14.patch
Normal file
15
sys-devel/m4/patches/m4-1.4.14.patch
Normal file
@@ -0,0 +1,15 @@
|
||||
diff -urN m4-1.4.14/lib/pipe2.c m4-1.4.14-haiku/lib/pipe2.c
|
||||
--- m4-1.4.14/lib/pipe2.c 2010-01-28 13:04:07.051118080 +0000
|
||||
+++ m4-1.4.14-haiku/lib/pipe2.c 2010-02-27 20:00:33.547094528 +0000
|
||||
@@ -78,7 +78,11 @@
|
||||
/* Unix API. */
|
||||
|
||||
/* Check the supported flags. */
|
||||
+#if (defined __BEOS__ || defined __HAIKU__)
|
||||
+ if ((flags & ~(O_CLOEXEC | O_NONBLOCK)) != 0)
|
||||
+#else
|
||||
if ((flags & ~(O_CLOEXEC | O_NONBLOCK | O_TEXT | O_BINARY)) != 0)
|
||||
+#endif
|
||||
{
|
||||
errno = EINVAL;
|
||||
return -1;
|
||||
Reference in New Issue
Block a user