summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2003-02-06 04:05:37 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2003-02-06 04:05:37 +0000
commitd154ecf7f1b26a0b336d07ffa6e678681b38b121 (patch)
treed8d1b8c6a44425b97fbe20126f5b9010bdda52e5
parentMove gnucash from deskutils to finance. (diff)
- Fix build under CURRENT
- Fix problems with installed bison - no objection from maintainer in 5 days
-rw-r--r--devel/mipsel-linux-binutils/Makefile1
-rw-r--r--devel/mipsel-linux-binutils/files/patch-binutils-arparse.y10
-rw-r--r--devel/mipsel-linux-binutils/files/patch-ld-ldgram.y10
-rw-r--r--devel/mipsel-linux-binutils/files/patch-libiberty-strerror.c13
-rw-r--r--devel/mipsel-linux-binutils/files/patch-libiberty-strsignal.c11
5 files changed, 45 insertions, 0 deletions
diff --git a/devel/mipsel-linux-binutils/Makefile b/devel/mipsel-linux-binutils/Makefile
index 5810080e95b0..8f32fb6ccb34 100644
--- a/devel/mipsel-linux-binutils/Makefile
+++ b/devel/mipsel-linux-binutils/Makefile
@@ -7,6 +7,7 @@
PORTNAME= binutils
PORTVERSION= 2.10.91
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://lev.serebryakov.spb.ru/download/agenda/
PKGNAMEPREFIX= mipsel-linux-
diff --git a/devel/mipsel-linux-binutils/files/patch-binutils-arparse.y b/devel/mipsel-linux-binutils/files/patch-binutils-arparse.y
new file mode 100644
index 000000000000..98e829619024
--- /dev/null
+++ b/devel/mipsel-linux-binutils/files/patch-binutils-arparse.y
@@ -0,0 +1,10 @@
+--- binutils/arparse.y.orig Sun Jul 11 22:02:15 1999
++++ binutils/arparse.y Sun Feb 2 10:44:48 2003
+@@ -74,6 +74,7 @@
+
+ command_line:
+ command NEWLINE { prompt(); }
++ ;
+
+ command:
+ open_command
diff --git a/devel/mipsel-linux-binutils/files/patch-ld-ldgram.y b/devel/mipsel-linux-binutils/files/patch-ld-ldgram.y
new file mode 100644
index 000000000000..0192cc748ca7
--- /dev/null
+++ b/devel/mipsel-linux-binutils/files/patch-ld-ldgram.y
@@ -0,0 +1,10 @@
+--- ld/ldgram.y.orig Tue Jul 11 05:42:41 2000
++++ ld/ldgram.y Sun Feb 2 10:49:25 2003
+@@ -168,6 +168,7 @@
+ ldlex_popstate();
+ lang_add_assignment(exp_assop($3,$2,$4));
+ }
++ ;
+
+ /* SYNTAX WITHIN AN MRI SCRIPT FILE */
+ mri_script_file:
diff --git a/devel/mipsel-linux-binutils/files/patch-libiberty-strerror.c b/devel/mipsel-linux-binutils/files/patch-libiberty-strerror.c
new file mode 100644
index 000000000000..e6532458c516
--- /dev/null
+++ b/devel/mipsel-linux-binutils/files/patch-libiberty-strerror.c
@@ -0,0 +1,13 @@
+--- libiberty/strerror.c.orig Mon May 29 13:45:32 2000
++++ libiberty/strerror.c Wed Dec 11 21:03:00 2002
+@@ -465,8 +465,8 @@
+
+ #else
+
+-extern int sys_nerr;
+-extern char *sys_errlist[];
++extern const int sys_nerr;
++extern const char *sys_errlist[];
+
+ #endif
+
diff --git a/devel/mipsel-linux-binutils/files/patch-libiberty-strsignal.c b/devel/mipsel-linux-binutils/files/patch-libiberty-strsignal.c
new file mode 100644
index 000000000000..fa635baf14b1
--- /dev/null
+++ b/devel/mipsel-linux-binutils/files/patch-libiberty-strsignal.c
@@ -0,0 +1,11 @@
+--- libiberty/strsignal.c.orig Mon May 29 13:45:32 2000
++++ libiberty/strsignal.c Wed Dec 11 21:04:43 2002
+@@ -247,7 +247,7 @@
+ #else
+
+ #ifdef NSIG
+-static int sys_nsig = NSIG;
++static const int sys_nsig = NSIG;
+ #else
+ #ifdef _NSIG
+ static int sys_nsig = _NSIG;