mirror of
https://github.com/openbsd/ports.git
synced 2026-06-18 07:24:23 +02:00
e246cc350b
Fixes endless loop when built with clang-19. Very lightly tested, if you actually use this port, please confirm that it works for you!
16 lines
403 B
Plaintext
16 lines
403 B
Plaintext
Avoid stack scanning: unportable and undefined behavior, frequently breaks
|
|
with compiler updates.
|
|
|
|
Index: inc/avoffset.mk
|
|
--- inc/avoffset.mk.orig
|
|
+++ inc/avoffset.mk
|
|
@@ -8,7 +8,7 @@ include $(SRCROOT)/$(RULESDIR)/rules.top
|
|
INSDIR= include/schily/$(OARCH)
|
|
TARGET= avoffset.h
|
|
TARGETC= avoffset
|
|
-CPPOPTS += -DUSE_SCANSTACK
|
|
+CPPOPTS += -DNO_SCANSTACK
|
|
CPPOPTS += -D__OPRINTF__
|
|
CFILES= avoffset.c
|
|
|