Deleted several old and outdated recipes and patches

This commit is contained in:
Scott McCreary
2013-11-04 13:56:31 -08:00
parent c95e23a1d5
commit 1ddc1d1633
10 changed files with 0 additions and 6263 deletions

View File

@@ -1,21 +0,0 @@
DESCRIPTION="GNU GPL'd Pico clone with more functionality"
HOMEPAGE="http://www.nano-editor.org/"
SRC_URI="http://www.nano-editor.org/dist/v2.2/nano-2.2.3.tar.gz"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND="sys-libs/ncurses >= 5.6"
CHECKSUM_MD5="91918a484f54f94fedaebe00dc393a50"
BUILD()
{
cd nano-2.2.3
./configure --prefix=`finddir B_COMMON_DIRECTORY`
make
}
INSTALL()
{
cd nano-2.2.3
make install
}
LICENSE="GNU GPL v3"
COPYRIGHT="1999-2010 Free Software Foundation, Inc. "

View File

@@ -1,22 +0,0 @@
DESCRIPTION="GNU GPL'd Pico clone with more functionality"
HOMEPAGE="http://www.nano-editor.org/"
SRC_URI="http://www.nano-editor.org/dist/v2.2/nano-2.2.5.tar.gz"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND="sys-libs/ncurses >= 5.6"
CHECKSUM_MD5="77a10a49589f975ce98350a4527a2ebf"
BUILD()
{
cd nano-2.2.5
./configure --prefix=`finddir B_COMMON_DIRECTORY`
make
}
INSTALL()
{
cd nano-2.2.5
make install
}
LICENSE="GNU GPL v3"
COPYRIGHT="1999-2010 Free Software Foundation, Inc. "

File diff suppressed because it is too large Load Diff

View File

@@ -1,22 +0,0 @@
DESCRIPTION="Vim is highly configurable text editor."
HOMEPAGE="http://www.vim.org"
SRC_URI="http://www.bedrivers.com/vim72-with-lang-and-extra.zip"
REVISION="1"
CHECKSUM_MD5="c368894a65c09605517fd56ced57fb12"
STATUS_HAIKU="unstable"
DEPEND=""
BUILD()
{
cd vim72
cd src
make autoconf
cd ../
./configure --prefix=`finddir B_COMMON_DIRECTORY` --with-features=big
make
}
INSTALL()
{
cd vim72
make install
}

View File

@@ -1,28 +0,0 @@
DESCRIPTION="Software library that implements a self-contained, serverless, zero-configuration, transactional SQL database engine."
HOMEPAGE="http://www.sqlite.org/"
SRC_URI="http://www.sqlite.org/sqlite-autoconf-3071501.tar.gz"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND=""
CHECKSUM_MD5="a67c25afa199a11f0a37aff7ed9d2c14"
BUILD()
{
cd sqlite-autoconf-3071501
libtoolize --force --copy --install
aclocal
autoconf
automake
COMMON_DOCS=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`
./configure --prefix=`finddir B_COMMON_DIRECTORY` \
--mandir=$COMMON_DOCS/man
make
}
INSTALL()
{
cd sqlite-autoconf-3071501
make install
}
LICENSE="SQLite"
COPYRIGHT="Public Domain"

View File

@@ -1,39 +0,0 @@
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
prefix=$(finddir B_PACKAGE_LINKS_DIRECTORY)/m4-1.4.14
./configure --prefix=$prefix \
--datarootdir=$prefix/data \
--sbindir=$prefix/bin \
--includedir=$prefix/develop/headers \
--sysconfdir=$prefix/settings \
--docdir=$prefix/documentation/packages/m4 \
--infodir=$prefix/documentation/info \
--mandir=$prefix/documentation/man \
--disable-rpath --with-gnu-ld \
--enable-changeword
make
}
INSTALL()
{
cd m4-1.4.14
make install
}
TEST()
{
cd m4-1.4.14
makecheck
}
LICENSE="GNU GPL v3"
COPYRIGHT="2000, 2005-2010 Free Software Foundation, Inc."

View File

@@ -1,46 +0,0 @@
DESCRIPTION="m4 - GNU macro processor"
HOMEPAGE="http://www.gnu.org/software/m4/"
SRC_URI="http://ftp.gnu.org/gnu/m4/m4-1.4.15.tar.gz"
CHECKSUM_MD5="5649a2e593b6c639deae9e72ede777dd"
REVISION="1"
STATUS_HAIKU="broken"
DEPEND=""
BUILD()
{
cd m4-1.4.15
echo "AC_CONFIG_MACRO_DIR([m4])" >> configure.ac
echo >> configure.ac
echo "LT_INIT" >> configure.ac
rm aclocal.m4
libtoolize --force --copy --install
aclocal -I m4
autoreconf
prefix=$(finddir B_PACKAGE_LINKS_DIRECTORY)/m4-1.4.15
./configure --prefix=$prefix \
--datarootdir=$prefix/data \
--sbindir=$prefix/bin \
--includedir=$prefix/develop/headers \
--sysconfdir=$prefix/settings \
--docdir=$prefix/documentation/packages/m4 \
--infodir=$prefix/documentation/info \
--mandir=$prefix/documentation/man \
--disable-rpath --with-gnu-ld \
--enable-changeword
make
}
INSTALL()
{
cd m4-1.4.15
make install
}
TEST()
{
cd m4-1.4.15
make check
}
LICENSE="GNU GPL v3"
COPYRIGHT="2000, 2005-2010 Free Software Foundation, Inc."

View File

@@ -1,109 +0,0 @@
diff -ur m4-1.4.12.orig/lib/binary-io.h m4-1.4.12/lib/binary-io.h
--- m4-1.4.12.orig/lib/binary-io.h 2008-10-30 22:05:21.000000000 +0000
+++ m4-1.4.12/lib/binary-io.h 2008-11-03 15:17:10.000000000 +0000
@@ -30,8 +30,9 @@
# define O_BINARY _O_BINARY
# define O_TEXT _O_TEXT
#endif
-#ifdef __BEOS__
- /* BeOS 5 has O_BINARY and O_TEXT, but they have no effect. */
+#if defined __BEOS__ || defined __HAIKU__
+ /* BeOS 5 has O_BINARY and O_TEXT, but they have no effect.
+ Same for Haiku R1. */
# undef O_BINARY
# undef O_TEXT
#endif
diff -ur m4-1.4.12.orig/lib/c-stack.c m4-1.4.12/lib/c-stack.c
--- m4-1.4.12.orig/lib/c-stack.c 2008-10-30 22:05:21.000000000 +0000
+++ m4-1.4.12/lib/c-stack.c 2008-11-03 15:17:10.000000000 +0000
@@ -317,7 +317,11 @@
act.sa_flags = SA_NODEFER | SA_ONSTACK | SA_RESETHAND | SA_SIGINFO;
act.sa_sigaction = segv_handler;
# else
- act.sa_flags = SA_NODEFER | SA_RESETHAND;
+# ifdef SA_ONSTACK
+ act.sa_flags = SA_NODEFER | SA_RESETHAND | SA_ONSTACK;
+# else
+ act.sa_flags = SA_NODEFER | SA_RESETHAND;
+# endif
act.sa_handler = die;
# endif
diff -ur m4-1.4.12.orig/lib/config.charset m4-1.4.12/lib/config.charset
--- m4-1.4.12.orig/lib/config.charset 2008-10-30 22:05:21.000000000 +0000
+++ m4-1.4.12/lib/config.charset 2008-11-03 15:17:10.000000000 +0000
@@ -478,8 +478,8 @@
# space nevertheless.
echo "* UTF-8"
;;
- beos*)
- # BeOS has a single locale, and it has UTF-8 encoding.
+ beos*|haiku*)
+ # BeOS has a single locale, and it has UTF-8 encoding. Same for Haiku.
echo "* UTF-8"
;;
msdosdjgpp*)
diff -ur m4-1.4.12.orig/lib/fcntl.in.h m4-1.4.12/lib/fcntl.in.h
--- m4-1.4.12.orig/lib/fcntl.in.h 2008-10-30 22:05:21.000000000 +0000
+++ m4-1.4.12/lib/fcntl.in.h 2008-11-03 15:17:10.000000000 +0000
@@ -125,8 +125,8 @@
# define O_TEXT _O_TEXT
#endif
-#ifdef __BEOS__
- /* BeOS 5 has O_BINARY and O_TEXT, but they have no effect. */
+#if defined __BEOS__ || defined __HAIKU__
+ /* BeOS 5 has O_BINARY and O_TEXT, but they have no effect. Same for Haiku. */
# undef O_BINARY
# undef O_TEXT
#endif
diff -ur m4-1.4.12.orig/lib/freadahead.c m4-1.4.12/lib/freadahead.c
--- m4-1.4.12.orig/lib/freadahead.c 2008-10-30 22:05:22.000000000 +0000
+++ m4-1.4.12/lib/freadahead.c 2008-11-03 15:17:10.000000000 +0000
@@ -25,7 +25,8 @@
size_t
freadahead (FILE *fp)
{
-#if defined _IO_ferror_unlocked || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Linux libc5 */
+#if defined _IO_ferror_unlocked || __GNU_LIBRARY__ == 1 || defined __HAIKU__
+ /* GNU libc, BeOS, Linux libc5, Haiku */
if (fp->_IO_write_ptr > fp->_IO_write_base)
return 0;
return (fp->_IO_read_end - fp->_IO_read_ptr)
diff -ur m4-1.4.12.orig/lib/regex_internal.h m4-1.4.12/lib/regex_internal.h
--- m4-1.4.12.orig/lib/regex_internal.h 2008-10-30 22:05:23.000000000 +0000
+++ m4-1.4.12/lib/regex_internal.h 2008-11-03 15:17:58.000000000 +0000
@@ -84,9 +84,11 @@
# define SIZE_MAX ((size_t) -1)
#endif
+#ifndef __HAIKU__
#if (defined MB_CUR_MAX && HAVE_LOCALE_H && HAVE_WCTYPE_H && HAVE_ISWCTYPE && HAVE_WCRTOMB && HAVE_MBRTOWC && HAVE_WCSCOLL) || _LIBC
# define RE_ENABLE_I18N
#endif
+#endif
#if __GNUC__ >= 3
# define BE(expr, val) __builtin_expect (expr, val)
diff -ur m4-1.4.12.orig/src/m4.c m4-1.4.12/src/m4.c
--- m4-1.4.12.orig/src/m4.c 2008-10-30 22:05:27.000000000 +0000
+++ m4-1.4.12/src/m4.c 2008-11-03 15:17:10.000000000 +0000
@@ -391,7 +391,7 @@
signal_message[SIGABRT] = xstrdup (strsignal (SIGABRT));
signal_message[SIGILL] = xstrdup (strsignal (SIGILL));
signal_message[SIGFPE] = xstrdup (strsignal (SIGFPE));
- if (SIGBUS != SIGILL)
+ if (SIGBUS != SIGILL && SIGBUS != SIGSEGV)
signal_message[SIGBUS] = xstrdup (strsignal (SIGBUS));
sigemptyset (&act.sa_mask);
/* One-shot - if we fault while handling a fault, we want to revert
@@ -401,7 +401,8 @@
sigaction (SIGABRT, &act, NULL);
sigaction (SIGILL, &act, NULL);
sigaction (SIGFPE, &act, NULL);
- sigaction (SIGBUS, &act, NULL);
+ if (SIGBUS != SIGSEGV)
+ sigaction (SIGBUS, &act, NULL);
#ifdef DEBUG_STKOVF
/* Make it easier to test our fault handlers. Exporting M4_CRASH=0

View File

@@ -1,15 +0,0 @@
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;

View File

@@ -1,68 +0,0 @@
diff -urN m4-1.4.15/lib/binary-io.h m4-1.4.15-haiku/lib/binary-io.h
--- m4-1.4.15/lib/binary-io.h 2010-02-06 21:15:26.051118080 +0000
+++ m4-1.4.15-haiku/lib/binary-io.h 2011-01-26 11:15:38.000000000 +0000
@@ -19,24 +19,13 @@
#define _BINARY_H
/* For systems that distinguish between text and binary I/O.
- O_BINARY is usually declared in <fcntl.h>. */
+ O_BINARY is guaranteed by the gnulib <fcntl.h>. */
#include <fcntl.h>
/* The MSVC7 <stdio.h> doesn't like to be included after '#define fileno ...',
so we include it here first. */
#include <stdio.h>
-#if !defined O_BINARY && defined _O_BINARY
- /* For MSC-compatible compilers. */
-# define O_BINARY _O_BINARY
-# define O_TEXT _O_TEXT
-#endif
-#if defined __BEOS__ || defined __HAIKU__
- /* BeOS 5 and Haiku have O_BINARY and O_TEXT, but they have no effect. */
-# undef O_BINARY
-# undef O_TEXT
-#endif
-
/* SET_BINARY (fd);
changes the file descriptor fd to perform binary I/O. */
#if O_BINARY
@@ -58,8 +47,6 @@
# endif
#else
/* On reasonable systems, binary I/O is the default. */
-# undef O_BINARY
-# define O_BINARY 0
# define SET_BINARY(fd) /* do nothing */ ((void) 0)
#endif
diff -urN m4-1.4.15/lib/pipe2.c m4-1.4.15-haiku/lib/pipe2.c
--- m4-1.4.15/lib/pipe2.c 2010-03-08 21:47:53.064225280 +0000
+++ m4-1.4.15-haiku/lib/pipe2.c 2010-09-24 04:13:33.514064384 +0000
@@ -78,8 +78,11 @@
/* Unix API. */
/* Check the supported flags. */
- if ((flags & ~(O_CLOEXEC | O_NONBLOCK | O_TEXT | O_BINARY)) != 0)
- {
+#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;
}
diff -urN m4-1.4.15/src/m4.c m4-1.4.15-haiku/src/m4.c
--- m4-1.4.15/src/m4.c 2010-06-04 17:33:48.024379392 +0000
+++ m4-1.4.15-haiku/src/m4.c 2010-09-24 04:18:51.275513344 +0000
@@ -408,7 +408,8 @@
sigaction (SIGABRT, &act, NULL);
sigaction (SIGILL, &act, NULL);
sigaction (SIGFPE, &act, NULL);
- sigaction (SIGBUS, &act, NULL);
+ if (SIGBUS != SIGSEGV)
+ sigaction (SIGBUS, &act, NULL);
if (c_stack_action (fault_handler) == 0)
nesting_limit = 0;