diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-10-23 22:07:23 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-10-24 01:14:40 +0000 |
commit | 35d3464218da6f5ae5025fec65dd1caa08d31824 (patch) | |
tree | f2d81ac1fc863233490f3fd1006be9aebbb5754e /user/plib/fix-openflight.patch | |
parent | 67b10a41901d249e4d8ce18cd5913912117a2ac4 (diff) | |
download | packages-35d3464218da6f5ae5025fec65dd1caa08d31824.tar.gz packages-35d3464218da6f5ae5025fec65dd1caa08d31824.tar.bz2 packages-35d3464218da6f5ae5025fec65dd1caa08d31824.tar.xz packages-35d3464218da6f5ae5025fec65dd1caa08d31824.zip |
user/plib: new package
Diffstat (limited to 'user/plib/fix-openflight.patch')
-rw-r--r-- | user/plib/fix-openflight.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/user/plib/fix-openflight.patch b/user/plib/fix-openflight.patch new file mode 100644 index 000000000..7c69c1cd1 --- /dev/null +++ b/user/plib/fix-openflight.patch @@ -0,0 +1,25 @@ +--- plib-1.8.5/src/ssg/ssgLoadFLT.cxx.old 2008-03-11 02:06:23.000000000 +0000 ++++ plib-1.8.5/src/ssg/ssgLoadFLT.cxx 2018-10-23 22:02:06.650000000 +0000 +@@ -103,9 +103,7 @@ + #include <string.h> + #include <fcntl.h> + #include <stdio.h> +-#ifdef UL_IRIX +-# include <sys/endian.h> +-#endif ++#include <endian.h> + #ifdef USE_POSIX_MMAP + # include <time.h> + # include <sys/time.h> /* Need both for Mandrake 8.0 !! */ +@@ -141,11 +139,8 @@ + #define template _template /* trams */ + + typedef unsigned char ubyte; +- +-#ifdef UL_WIN32 + typedef unsigned short ushort; + typedef unsigned int uint; +-#endif + + // 525 = negative identation, 539= did not expect positive identation + //lint -save -e525 -e539 |