summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorJean-Marc Zucconi <jmz@FreeBSD.org>2000-11-09 04:58:29 +0000
committerJean-Marc Zucconi <jmz@FreeBSD.org>2000-11-09 04:58:29 +0000
commitac52a76f7590f0e0711f6896d3821e9ede079576 (patch)
tree82837574806d2132d0fb4773e1c257593708ed36 /math
parentMark BROKEN for FreeBSD < 4.1. Compilation requires <sys/agpio.h> which (diff)
#include <sys/types.h> before <machine/endian.h>
Notes
Notes: svn path=/head/; revision=34935
Diffstat (limited to 'math')
-rw-r--r--math/calc/files/patch-ab12
1 files changed, 10 insertions, 2 deletions
diff --git a/math/calc/files/patch-ab b/math/calc/files/patch-ab
index 51a9e80bac82..776e405ee946 100644
--- a/math/calc/files/patch-ab
+++ b/math/calc/files/patch-ab
@@ -1,5 +1,5 @@
---- Makefile.orig Sat Dec 18 22:20:02 1999
-+++ Makefile Sun Feb 6 00:16:45 2000
+--- Makefile.orig Sun Dec 19 04:20:02 1999
++++ Makefile Thu Nov 9 05:47:33 2000
@@ -625,14 +625,14 @@
CCOPT= ${DEBUG} ${NO_SHARED}
CCMISC=
@@ -26,3 +26,11 @@
libcalc.a: ${LIBOBJS} ${MAKE_FILE}
-rm -f libcalc.a
+@@ -1200,6 +1200,7 @@
+ ${Q}echo '' >> endian_calc.h
+ ${Q}echo '' >> endian_calc.h
+ ${Q}echo '/* what byte order are we? */' >> endian_calc.h
++ ${Q}echo '#include <sys/types.h>' >> endian_calc.h
+ -${Q}if [ X"${BYTE_ORDER}" = X ]; then \
+ if [ -f /usr/include/endian.h ]; then \
+ echo '#include <endian.h>' >> endian_calc.h; \