diff options
author | mi <mi@FreeBSD.org> | 2002-11-21 07:26:35 +0800 |
---|---|---|
committer | mi <mi@FreeBSD.org> | 2002-11-21 07:26:35 +0800 |
commit | bace829bd54d6fd506f282a0e7c1ca0759d45110 (patch) | |
tree | f164a1d7e805a8764c06a9c22eaec87ce81a5930 | |
parent | 059ec0aee622d3826924286e167ab081123e90f1 (diff) | |
download | freebsd-ports-gnome-bace829bd54d6fd506f282a0e7c1ca0759d45110.tar.gz freebsd-ports-gnome-bace829bd54d6fd506f282a0e7c1ca0759d45110.tar.zst freebsd-ports-gnome-bace829bd54d6fd506f282a0e7c1ca0759d45110.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
-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 ) + { |