mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
Drop old bison recipes and patches
This commit is contained in:
@@ -1,28 +0,0 @@
|
||||
DESCRIPTION="bison - A yacc-compatible parser generator"
|
||||
HOMEPAGE="http://www.gnu.org/software/bison/bison.html"
|
||||
SRC_URI="http://ftp.gnu.org/gnu/bison/bison-2.4.1.tar.gz"
|
||||
CHECKSUM_MD5="c58aa1da418dc9704070872489e89bf5"
|
||||
REVISION="2"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND=""
|
||||
BUILD()
|
||||
{
|
||||
cd bison-2.4.1
|
||||
./configure --prefix=`finddir B_COMMON_DIRECTORY` --disable-nls
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd bison-2.4.1
|
||||
make install
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
cd bison-2.4.1
|
||||
make check
|
||||
}
|
||||
|
||||
LICENSE="GNU GPL v3"
|
||||
COPYRIGHT="1992-2008 Free Software Foundation, Inc."
|
||||
@@ -1,22 +0,0 @@
|
||||
DESCRIPTION="bison - A yacc-compatible parser generator"
|
||||
HOMEPAGE="http://www.gnu.org/software/bison/bison.html"
|
||||
SRC_URI="http://ftp.gnu.org/gnu/bison/bison-2.4.tar.gz"
|
||||
CHECKSUM_MD5="2b9b088b46271c7fa902a7e85f503e1e"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND=""
|
||||
BUILD()
|
||||
{
|
||||
cd bison-2.4
|
||||
./configure --prefix=`finddir B_COMMON_DIRECTORY` --disable-nls
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd bison-2.4
|
||||
make install
|
||||
make check
|
||||
}
|
||||
LICENSE="GNU GPL v3"
|
||||
COPYRIGHT="1992-2008 Free Software Foundation, Inc."
|
||||
@@ -1,29 +0,0 @@
|
||||
diff -ur bison-2.4.1.orig/src/location.c bison-2.4.1/src/location.c
|
||||
--- bison-2.4.1.orig/src/location.c 2008-08-17 06:15:28.000000000 +0000
|
||||
+++ bison-2.4.1/src/location.c 2008-11-09 15:03:06.000000000 +0000
|
||||
@@ -121,11 +121,11 @@
|
||||
/* Must search in reverse since the file name field may
|
||||
* contain `.' or `:'. */
|
||||
char *delim = strrchr (loc_str, '.');
|
||||
- aver (delim);
|
||||
+ aver (delim != NULL);
|
||||
*delim = '\0';
|
||||
bound->column = atoi (delim+1);
|
||||
delim = strrchr (loc_str, ':');
|
||||
- aver (delim);
|
||||
+ aver (delim != NULL);
|
||||
*delim = '\0';
|
||||
bound->line = atoi (delim+1);
|
||||
bound->file = uniqstr_new (loc_str);
|
||||
diff -ur bison-2.4.1.orig/src/muscle_tab.c bison-2.4.1/src/muscle_tab.c
|
||||
--- bison-2.4.1.orig/src/muscle_tab.c 2008-08-17 06:15:28.000000000 +0000
|
||||
+++ bison-2.4.1/src/muscle_tab.c 2008-11-09 15:11:17.000000000 +0000
|
||||
@@ -336,7 +336,7 @@
|
||||
{
|
||||
location loc;
|
||||
char const *value = muscle_find_const (key);
|
||||
- aver (value);
|
||||
+ aver (value != NULL);
|
||||
aver (*value == '[');
|
||||
aver (*++value == '[');
|
||||
while (*++value)
|
||||
@@ -1,43 +0,0 @@
|
||||
diff -ur bison-2.4.orig/lib/config.charset bison-2.4/lib/config.charset
|
||||
--- bison-2.4.orig/lib/config.charset 2008-11-02 21:59:28.000000000 +0000
|
||||
+++ bison-2.4/lib/config.charset 2008-11-09 14:56:56.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 bison-2.4.orig/src/location.c bison-2.4/src/location.c
|
||||
--- bison-2.4.orig/src/location.c 2008-08-17 06:15:28.000000000 +0000
|
||||
+++ bison-2.4/src/location.c 2008-11-09 15:03:06.000000000 +0000
|
||||
@@ -121,11 +121,11 @@
|
||||
/* Must search in reverse since the file name field may
|
||||
* contain `.' or `:'. */
|
||||
char *delim = strrchr (loc_str, '.');
|
||||
- aver (delim);
|
||||
+ aver (delim != NULL);
|
||||
*delim = '\0';
|
||||
bound->column = atoi (delim+1);
|
||||
delim = strrchr (loc_str, ':');
|
||||
- aver (delim);
|
||||
+ aver (delim != NULL);
|
||||
*delim = '\0';
|
||||
bound->line = atoi (delim+1);
|
||||
bound->file = uniqstr_new (loc_str);
|
||||
diff -ur bison-2.4.orig/src/muscle_tab.c bison-2.4/src/muscle_tab.c
|
||||
--- bison-2.4.orig/src/muscle_tab.c 2008-08-17 06:15:28.000000000 +0000
|
||||
+++ bison-2.4/src/muscle_tab.c 2008-11-09 15:11:17.000000000 +0000
|
||||
@@ -336,7 +336,7 @@
|
||||
{
|
||||
location loc;
|
||||
char const *value = muscle_find_const (key);
|
||||
- aver (value);
|
||||
+ aver (value != NULL);
|
||||
aver (*value == '[');
|
||||
aver (*++value == '[');
|
||||
while (*++value)
|
||||
Reference in New Issue
Block a user