From 08e0602bc74600be47e0a8c59b4f6d681ec32f71 Mon Sep 17 00:00:00 2001 From: Mikhail Teterin Date: Wed, 20 Nov 2002 23:26:35 +0000 Subject: 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 --- graphics/libfpx/files/patch-types | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'graphics/libfpx') 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 /* strlen()'s declaration */ ++ + size_t sbstowcs(WCHAR *pwcs, const char *s, size_t n ) + { -- cgit v1.2.3