diff options
author | jmz <jmz@FreeBSD.org> | 2000-11-09 04:58:29 +0000 |
---|---|---|
committer | jmz <jmz@FreeBSD.org> | 2000-11-09 04:58:29 +0000 |
commit | 4f94bfafc9cafa3a37d943b7cf1007da5a9eb913 (patch) | |
tree | 0f34a793a2b8ff97152e08630e36876402132ebf | |
parent | f2774f0bbdb811d2b77ddddf1bc9a5c0fb2b3adb (diff) | |
download | FreeBSD-ports-4f94bfafc9cafa3a37d943b7cf1007da5a9eb913.zip FreeBSD-ports-4f94bfafc9cafa3a37d943b7cf1007da5a9eb913.tar.gz |
#include <sys/types.h> before <machine/endian.h>
-rw-r--r-- | math/calc/files/patch-ab | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/math/calc/files/patch-ab b/math/calc/files/patch-ab index 51a9e80..776e405 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; \ |