diff options
-rw-r--r-- | devel/ORBit/files/patch-ac | 24 | ||||
-rw-r--r-- | devel/ORBit2/files/patch-ac | 24 |
2 files changed, 28 insertions, 20 deletions
diff --git a/devel/ORBit/files/patch-ac b/devel/ORBit/files/patch-ac index b74728f9eb91..a68110b0d462 100644 --- a/devel/ORBit/files/patch-ac +++ b/devel/ORBit/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"]) 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"]) |