diff options
author | Mikhail Teterin <mi@FreeBSD.org> | 2002-11-20 23:26:35 +0000 |
---|---|---|
committer | Mikhail Teterin <mi@FreeBSD.org> | 2002-11-20 23:26:35 +0000 |
commit | 08e0602bc74600be47e0a8c59b4f6d681ec32f71 (patch) | |
tree | 0941cf7e0ae03d885e4989a407020ad12fc3d627 /graphics/libfpx | |
parent | c59671f67826b401c2a2dd63386bd8009b312a3c (diff) | |
download | ports-08e0602bc74600be47e0a8c59b4f6d681ec32f71.tar.gz ports-08e0602bc74600be47e0a8c59b4f6d681ec32f71.zip |
Add two more little patches to fix warnings. One of the warnings was causing
build failure on Alpha-stable -- but not on any other platform...
When I added this big patch, I though all of the problems were fixed, and
closed the corresponding PR. Turned out, Alpha-stable remained broken, even
though the -current started to build.
Just as before, no PORTREVISION bump because no changes are expected on
the platforms were this built before.
Tested on: panther, bento, axp0, beast
PR: ports/40444
Notes
Notes:
svn path=/head/; revision=70619
Diffstat (limited to 'graphics/libfpx')
-rw-r--r-- | graphics/libfpx/files/patch-types | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/graphics/libfpx/files/patch-types b/graphics/libfpx/files/patch-types index 373d94863a66..773c38beabdb 100644 --- a/graphics/libfpx/files/patch-types +++ b/graphics/libfpx/files/patch-types @@ -147,3 +147,21 @@ + FastAllocArray(decompressBuffer, int8, size); if (decompressBuffer) decompressSize = size; +--- oless/h/dir.hxx Thu Feb 7 17:04:15 2002 ++++ oless/h/dir.hxx Wed Nov 20 13:38:02 2002 +@@ -87,5 +87,5 @@ + // + //----------------------------------------------------------------------- +-const unsigned int CBDIRPAD = DIRENTRYSIZE - sizeof(SPreDirEntry); ++const unsigned int CBDIRPAD = (unsigned int)DIRENTRYSIZE - (unsigned int)sizeof(SPreDirEntry); + + // DirEntry bit flags are used for the following private state +--- oless/wchar.c Fri Feb 8 11:23:42 2002 ++++ oless/wchar.c Wed Nov 20 13:59:38 2002 +@@ -32,4 +32,6 @@ + #ifndef _MSC_VER + ++#include <string.h> /* strlen()'s declaration */ ++ + size_t sbstowcs(WCHAR *pwcs, const char *s, size_t n ) + { |