aboutsummaryrefslogtreecommitdiffstats
path: root/lang/gcc34/files
diff options
context:
space:
mode:
authormaho <maho@FreeBSD.org>2004-12-16 18:11:31 +0800
committermaho <maho@FreeBSD.org>2004-12-16 18:11:31 +0800
commitd1721ccf912b54a72aae00dc897d61b167c11a71 (patch)
tree514d9d58e1c5e23180949a6a343143195d0ec62e /lang/gcc34/files
parent2e97b102a845570d8f6786c4f0dd3bcd17c20825 (diff)
downloadfreebsd-ports-gnome-d1721ccf912b54a72aae00dc897d61b167c11a71.tar.gz
freebsd-ports-gnome-d1721ccf912b54a72aae00dc897d61b167c11a71.tar.zst
freebsd-ports-gnome-d1721ccf912b54a72aae00dc897d61b167c11a71.zip
Back out to original. Maho (myself) committed
at different place. Pointy hat to: maho Submitted by: pav
Diffstat (limited to 'lang/gcc34/files')
-rw-r--r--lang/gcc34/files/patch-enumfix20
-rw-r--r--lang/gcc34/files/patch-gengtype-yacc.y12
-rw-r--r--lang/gcc34/files/patch-libjava::Makefile.in11
3 files changed, 23 insertions, 20 deletions
diff --git a/lang/gcc34/files/patch-enumfix b/lang/gcc34/files/patch-enumfix
deleted file mode 100644
index 78a6eba5a777..000000000000
--- a/lang/gcc34/files/patch-enumfix
+++ /dev/null
@@ -1,20 +0,0 @@
-http://gcc.gnu.org/ml/gcc-patches/2004-07/msg00968.html
-http://blog.janik.cz/archives/2004-11-23T22_37_37.html
-
---- gcc-3.4.1/gcc/fold-const.c.orig Tue Jun 1 08:15:12 2004
-+++ gcc-3.4.1/gcc/fold-const.c Wed Nov 24 16:39:02 2004
-@@ -3535,7 +3535,13 @@
- HOST_WIDE_INT hi;
- int prec;
-
-- prec = TYPE_PRECISION (etype);
-+ /* For enums the comparison will be done in the underlying type,
-+ so using enum's precision is wrong here.
-+ Consider e.g. enum { A, B, C, D, E }, low == B and high == D. */
-+ if (TREE_CODE (etype) == ENUMERAL_TYPE)
-+ prec = GET_MODE_BITSIZE (TYPE_MODE (etype));
-+ else
-+ prec = TYPE_PRECISION (etype);
- if (prec <= HOST_BITS_PER_WIDE_INT)
- {
- hi = 0;
diff --git a/lang/gcc34/files/patch-gengtype-yacc.y b/lang/gcc34/files/patch-gengtype-yacc.y
new file mode 100644
index 000000000000..4afaae159533
--- /dev/null
+++ b/lang/gcc34/files/patch-gengtype-yacc.y
@@ -0,0 +1,12 @@
+--- gcc/gengtype-yacc.y.orig Fri Sep 20 00:33:24 2002
++++ gcc/gengtype-yacc.y Tue Apr 22 09:11:27 2003
+@@ -24,6 +24,9 @@
+ #include "system.h"
+ #include "gengtype.h"
+ #define YYERROR_VERBOSE
++
++#define malloc xmalloc
++#define realloc xrealloc
+ %}
+
+ %union {
diff --git a/lang/gcc34/files/patch-libjava::Makefile.in b/lang/gcc34/files/patch-libjava::Makefile.in
new file mode 100644
index 000000000000..561b2632eb42
--- /dev/null
+++ b/lang/gcc34/files/patch-libjava::Makefile.in
@@ -0,0 +1,11 @@
+--- libjava/Makefile.in.orig Tue Aug 31 09:39:04 2004
++++ libjava/Makefile.in Tue Aug 31 09:39:46 2004
+@@ -180,7 +180,7 @@
+
+ toolexecmainlib_DATA = libgcj.spec
+
+-pkgconfigdir = $(libdir)/pkgconfig
++pkgconfigdir = $(prefix)/libdata/pkgconfig
+ pkgconfig_DATA = libgcj.pc
+
+ jardir = $(datadir)/java