void-packages/srcpkgs/calc/files/musl.patch

27 lines
693 B
Diff

diff --git Makefile Makefile
index 8b68804..db24dce 100644
--- Makefile
+++ Makefile
@@ -156,8 +156,8 @@ LONG_BITS=
#
# If in doubt, leave HAVE_FPOS empty and this Makefile will figure it out.
#
-HAVE_FGETSETPOS=
-#HAVE_FGETSETPOS= -DHAVE_NO_FGETSETPOS
+#HAVE_FGETSETPOS=
+HAVE_FGETSETPOS= -DHAVE_NO_FGETSETPOS
# Determine if we have an __pos element of a file position (fpos_t) structure.
#
@@ -169,8 +169,8 @@ HAVE_FPOS=
#
# If in doubt, leave HAVE_FPOS_POS empty and this Makefile will figure it out.
#
-HAVE_FPOS_POS=
-#HAVE_FPOS_POS= -DHAVE_NO_FPOS_POS
+#HAVE_FPOS_POS=
+HAVE_FPOS_POS= -DHAVE_NO_FPOS_POS
# Determine the size of the __pos element in fpos_t, if it exists.
#