aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgj <gj@FreeBSD.org>2002-06-30 01:28:55 +0800
committergj <gj@FreeBSD.org>2002-06-30 01:28:55 +0800
commitc130687e67709af25750de7f367ddf608f5f1c85 (patch)
tree7f4c1ffaf7bd290c98a8f8be415446cbac90d256
parenta926cfdf196e9b32fac2a61c8ce1ddb6c4b3a021 (diff)
downloadfreebsd-ports-gnome-c130687e67709af25750de7f367ddf608f5f1c85.tar.gz
freebsd-ports-gnome-c130687e67709af25750de7f367ddf608f5f1c85.tar.zst
freebsd-ports-gnome-c130687e67709af25750de7f367ddf608f5f1c85.zip
Add patch-al to work around an apparent bug in gcc31 in -current. The
problem was not observed with the gcc in -stable. The apparent bug results in an endless loop if a certain routine in lstream.c is inline'd.
-rw-r--r--editors/xemacs-devel/files/patch-al11
-rw-r--r--editors/xemacs/files/patch-al11
2 files changed, 22 insertions, 0 deletions
diff --git a/editors/xemacs-devel/files/patch-al b/editors/xemacs-devel/files/patch-al
new file mode 100644
index 000000000000..c6650ddf51c4
--- /dev/null
+++ b/editors/xemacs-devel/files/patch-al
@@ -0,0 +1,11 @@
+--- src/lstream.c.orig Sat Jun 29 18:17:20 2002
++++ src/lstream.c Sat Jun 29 18:14:06 2002
+@@ -181,7 +181,7 @@
+ }
+ }
+
+-inline static size_t
++/*inline*/ static size_t
+ aligned_sizeof_lstream (size_t lstream_type_specific_size)
+ {
+ return ALIGN_SIZE (offsetof (Lstream, data) + lstream_type_specific_size,
diff --git a/editors/xemacs/files/patch-al b/editors/xemacs/files/patch-al
new file mode 100644
index 000000000000..c6650ddf51c4
--- /dev/null
+++ b/editors/xemacs/files/patch-al
@@ -0,0 +1,11 @@
+--- src/lstream.c.orig Sat Jun 29 18:17:20 2002
++++ src/lstream.c Sat Jun 29 18:14:06 2002
+@@ -181,7 +181,7 @@
+ }
+ }
+
+-inline static size_t
++/*inline*/ static size_t
+ aligned_sizeof_lstream (size_t lstream_type_specific_size)
+ {
+ return ALIGN_SIZE (offsetof (Lstream, data) + lstream_type_specific_size,