mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
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.
This commit is contained in:
parent
c3b23cf49e
commit
cc7fcc1ae7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=62175
2 changed files with 22 additions and 0 deletions
11
editors/xemacs-devel/files/patch-al
Normal file
11
editors/xemacs-devel/files/patch-al
Normal file
|
@ -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,
|
11
editors/xemacs/files/patch-al
Normal file
11
editors/xemacs/files/patch-al
Normal file
|
@ -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,
|
Loading…
Add table
Reference in a new issue