freebsd-ports/editors/emacs22/files/patch-src__alloc.c
Boris Samorodov bb2e6e9dcd . backout previous commit (revert editors/emacs to version 22.3)
since the commit broke dependencies and the ports infrastructure
  was not fully prepared (a new emacs/editors22 port is needed
  for compatibility reasons);
. bump PORTEPOCH.

Reported by:	Jan Henrik Sylvester <me at janh.de>, kostik
Pointy hat to:	bsam (me)
2009-09-08 11:36:21 +00:00

15 lines
511 B
C

--- src/alloc.c.orig 2008-09-07 05:25:27.000000000 +0300
+++ src/alloc.c 2008-09-07 05:25:27.000000000 +0300
@@ -4573,8 +4573,12 @@
needed on ia64 too. See mach_dep.c, where it also says inline
assembler doesn't work with relevant proprietary compilers. */
#ifdef __sparc__
+#ifdef __sparc64__
+ asm ("flushw");
+#else
asm ("ta 3");
#endif
+#endif
/* Save registers that we need to see on the stack. We need to see
registers used to hold register variables and registers used to