diff options
author | vanilla <vanilla@FreeBSD.org> | 1998-08-20 10:05:23 +0800 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 1998-08-20 10:05:23 +0800 |
commit | 7fdc280e80c155add3d4a77ecabeae097008d938 (patch) | |
tree | 5df9645b8ba4e55705ac27e2779976e81ad4abad /devel/ORBit/files | |
parent | 8998abe2a38690aca6c78a00a0fb70bc5ed4cfc3 (diff) | |
download | freebsd-ports-gnome-7fdc280e80c155add3d4a77ecabeae097008d938.tar.gz freebsd-ports-gnome-7fdc280e80c155add3d4a77ecabeae097008d938.tar.zst freebsd-ports-gnome-7fdc280e80c155add3d4a77ecabeae097008d938.zip |
Fix the patch files (patch-ac).
Reminded by: asami
Diffstat (limited to 'devel/ORBit/files')
-rw-r--r-- | devel/ORBit/files/patch-ac | 24 |
1 files changed, 14 insertions, 10 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"]) |