diff options
author | Vanilla I. Shu <vanilla@FreeBSD.org> | 1998-08-20 02:05:23 +0000 |
---|---|---|
committer | Vanilla I. Shu <vanilla@FreeBSD.org> | 1998-08-20 02:05:23 +0000 |
commit | 8a04b57ec4e9f10ad49eb60e75253a1c2b94e7a3 (patch) | |
tree | 6153c2388f5c11f44317daffd45f7a4ef559cb60 /devel/ORBit2 | |
parent | c891c51ef24b55b4aff4953854c86890e2a87400 (diff) | |
download | ports-8a04b57ec4e9f10ad49eb60e75253a1c2b94e7a3.tar.gz ports-8a04b57ec4e9f10ad49eb60e75253a1c2b94e7a3.zip |
Fix the patch files (patch-ac).
Reminded by: asami
Notes
Notes:
svn path=/head/; revision=12665
Diffstat (limited to 'devel/ORBit2')
-rw-r--r-- | devel/ORBit2/files/patch-ac | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/devel/ORBit2/files/patch-ac b/devel/ORBit2/files/patch-ac index b74728f9eb91..a68110b0d462 100644 --- a/devel/ORBit2/files/patch-ac +++ b/devel/ORBit2/files/patch-ac @@ -1,10 +1,14 @@ ---- src/ORBitutil/machine_endian.h.orig Tue Aug 18 20:29:55 1998 -+++ src/ORBitutil/machine_endian.h Tue Aug 18 20:30:59 1998 -@@ -1,6 +1,7 @@ - #ifndef machine_endian_h_ - #define machine_endian_h_ - #include <machine/endian.h> -+#include <sys/types.h> - #include <machine/types.h> - #if BYTE_ORDER == LITTLE_ENDIAN - # define MACHINE_IS_LITTLE_ENDIAN +--- src/ORBitutil/machine_endian.awk.orig Thu Aug 20 09:50:40 1998 ++++ src/ORBitutil/machine_endian.awk Thu Aug 20 09:51:22 1998 +@@ -10,8 +10,10 @@ + if (def["HAVE_MACHINE_ENDIAN_H"] || def["HAVE_ENDIAN_H"] || def["HAVE_SYS_MACHINE_H"] || def["HAVE_SYS_ENDIAN_H"]) { + if (def["HAVE_MACHINE_ENDIAN_H"]) + print "#include <machine/endian.h>"; +- if (def["HAVE_MACHINE_TYPES_H"]) ++ if (def["HAVE_MACHINE_TYPES_H"]) { ++ print "#include <sys/types.h>"; + print "#include <machine/types.h>"; ++ } + if (def["HAVE_SYS_MACHINE_H"]) + print "#include <sys/machine.h>"; + if (def["HAVE_SYS_ENDIAN_H"]) |