From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Feb 12 00:50:00 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 830CF37B for ; Tue, 12 Feb 2013 00:50:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 611029CB for ; Tue, 12 Feb 2013 00:50:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r1C0o0H8042942 for ; Tue, 12 Feb 2013 00:50:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r1C0o07w042940; Tue, 12 Feb 2013 00:50:00 GMT (envelope-from gnats) Resent-Date: Tue, 12 Feb 2013 00:50:00 GMT Resent-Message-Id: <201302120050.r1C0o07w042940@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Danilo Egêa Gondolfo Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 5C298342 for ; Tue, 12 Feb 2013 00:46:43 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 3817C9B2 for ; Tue, 12 Feb 2013 00:46:43 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r1C0khnF033188 for ; Tue, 12 Feb 2013 00:46:43 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id r1C0kh2k033187; Tue, 12 Feb 2013 00:46:43 GMT (envelope-from nobody) Message-Id: <201302120046.r1C0kh2k033187@red.freebsd.org> Date: Tue, 12 Feb 2013 00:46:43 GMT From: Danilo Egêa Gondolfo To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/176040: games/hllib update and maintainer change X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Feb 2013 00:50:00 -0000 >Number: 176040 >Category: ports >Synopsis: games/hllib update and maintainer change >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Tue Feb 12 00:50:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Danilo Egêa Gondolfo >Release: FreeBSD 9.1-RELEASE >Organization: Universidade Estadual de Maringá >Environment: FreeBSD projeto 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243752M: Sat Dec 1 13:35:03 BRST 2012 root@projeto:/usr/obj/usr/src/sys/PROJETO amd64 >Description: games/hllib version update (2.4.3 -> 2.4.4) and maintainer change. Changes: - Patches to silence a lot of clang warnings. - Update from 2.4.3 to 2.4.4. - Maintainer change. >How-To-Repeat: >Fix: Patch attached with submission follows: Index: Makefile =================================================================== --- Makefile (revision 312084) +++ Makefile (working copy) @@ -2,23 +2,25 @@ # $FreeBSD$ PORTNAME= hllib -PORTVERSION= 2.4.3 +PORTVERSION= 2.4.4 CATEGORIES= games devel MASTER_SITES= http://nemesis.thewavelength.net/files/files/ DISTNAME= ${PORTNAME}${PORTVERSION:S/.//g} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= danilogondolfo@gmail.com COMMENT= Library to work with various Half-Life file formats LICENSE= LGPL21 USE_ZIP= yes -USE_DOS2UNIX= Makefile # required by make(1) +USE_DOS2UNIX= Makefile USE_LDCONFIG= yes WRKSRC= ${WRKDIR}/HLLib CFLAGS+= -fpic -DUSE_ZLIB -HLLIB_VERS= 2.3.0 +PATCH_WRKSRC= ${WRKDIR} + +HLLIB_VERS= 2.4.4 PLIST_FILES= include/hl.h lib/libhl.so.${HLLIB_VERS} \ lib/libhl.so.2 lib/libhl.so @@ -33,5 +35,7 @@ @${REINPLACE_CMD} -e '/friend CSGADirectory/d' ${WRKSRC}/SGAFile.h # Add missing -lz @${REINPLACE_CMD} -e '/$$(LDFLAGS)/s,$$, -lz,' ${WRKSRC}/Makefile +# Fix library version + @${REINPLACE_CMD} -e 's/2\.3\.0/2\.4\.4/' ${WRKSRC}/Makefile .include Index: distinfo =================================================================== --- distinfo (revision 312084) +++ distinfo (working copy) @@ -1,2 +1,2 @@ -SHA256 (hllib243.zip) = 2eafa706ab4cccea0c9966f45e5eabf4bad27b5b4b224cc6592ba68debd54ae0 -SIZE (hllib243.zip) = 591480 +SHA256 (hllib244.zip) = cb94da1c32e9577dce1aa2bbb77f283212684afcd7814d42228c9ffff71d3699 +SIZE (hllib244.zip) = 593745 Index: files/patch-.__HLLib__BSPFile.cpp =================================================================== --- files/patch-.__HLLib__BSPFile.cpp (revision 0) +++ files/patch-.__HLLib__BSPFile.cpp (working copy) @@ -0,0 +1,19 @@ +--- ../orig/HLLib/BSPFile.cpp 2010-10-31 22:48:46.000000000 -0200 ++++ ./HLLib/BSPFile.cpp 2013-02-11 17:56:51.271215107 -0200 +@@ -203,10 +203,14 @@ + hlAttributeSetUnsignedInteger(&Attribute, this->lpItemAttributeNames[eAttribute], uiPaletteSize, hlFalse); + return hlTrue; + } ++ default: ++ ; + } + } + break; + } ++ default: ++ ; + } + + return hlFalse; +Only in ./HLLib: BSPFile.cpp.orig +diff -ru ../orig/HLLib/DirectoryFolder.cpp ./HLLib/DirectoryFolder.cpp Index: files/patch-.__HLLib__DirectoryFolder.cpp =================================================================== --- files/patch-.__HLLib__DirectoryFolder.cpp (revision 0) +++ files/patch-.__HLLib__DirectoryFolder.cpp (working copy) @@ -0,0 +1,58 @@ +--- ../orig/HLLib/DirectoryFolder.cpp 2012-09-17 20:16:52.000000000 -0300 ++++ ./HLLib/DirectoryFolder.cpp 2013-02-11 17:56:51.275211034 -0200 +@@ -517,6 +517,8 @@ + case HL_ITEM_FILE: + uiSize += static_cast(pItem)->GetSize(); + break; ++ default: ++ ; + } + } + +@@ -541,6 +543,8 @@ + case HL_ITEM_FILE: + uiSize += static_cast(static_cast(pItem)->GetSize()); + break; ++ default: ++ ; + } + } + +@@ -565,6 +569,8 @@ + case HL_ITEM_FILE: + uiSize += static_cast(pItem)->GetSizeOnDisk(); + break; ++ default: ++ ; + } + } + +@@ -589,6 +595,8 @@ + case HL_ITEM_FILE: + uiSize += static_cast(static_cast(pItem)->GetSizeOnDisk()); + break; ++ default: ++ ; + } + } + +@@ -611,6 +619,8 @@ + uiCount += static_cast(pItem)->GetFolderCount(bRecurse); + } + break; ++ default: ++ ; + } + } + +@@ -635,6 +645,8 @@ + case HL_ITEM_FILE: + uiCount++; + break; ++ default: ++ ; + } + } + +Only in ./HLLib: DirectoryFolder.cpp.orig +diff -ru ../orig/HLLib/Error.cpp ./HLLib/Error.cpp Index: files/patch-.__HLLib__Error.cpp =================================================================== --- files/patch-.__HLLib__Error.cpp (revision 0) +++ files/patch-.__HLLib__Error.cpp (working copy) @@ -0,0 +1,12 @@ +--- ../orig/HLLib/Error.cpp 2010-04-17 13:48:52.000000000 -0300 ++++ ./HLLib/Error.cpp 2013-02-11 18:00:09.931600402 -0200 +@@ -139,7 +139,7 @@ + + hlUInt uiLength = (hlUInt)strlen(this->lpSystemError); + +- while(uiLength >= 0 && isspace(this->lpSystemError[uiLength - 1])) ++ while(isspace(this->lpSystemError[uiLength - 1])) + { + uiLength--; + } +diff -ru ../orig/HLLib/FileStream.cpp ./HLLib/FileStream.cpp Index: files/patch-.__HLLib__FileStream.cpp =================================================================== --- files/patch-.__HLLib__FileStream.cpp (revision 0) +++ files/patch-.__HLLib__FileStream.cpp (working copy) @@ -0,0 +1,13 @@ +--- ../orig/HLLib/FileStream.cpp 2010-10-28 20:41:26.000000000 -0200 ++++ ./HLLib/FileStream.cpp 2013-02-11 17:56:51.278212203 -0200 +@@ -216,6 +216,8 @@ + case HL_SEEK_END: + iMode = SEEK_END; + break; ++ default: ++ ; + } + + return (hlUInt)lseek(this->iFile, iOffset, iMode); +Only in ./HLLib: FileStream.cpp.orig +diff -ru ../orig/HLLib/GCFFile.cpp ./HLLib/GCFFile.cpp Index: files/patch-.__HLLib__GCFFile.cpp =================================================================== --- files/patch-.__HLLib__GCFFile.cpp (revision 0) +++ files/patch-.__HLLib__GCFFile.cpp (working copy) @@ -0,0 +1,27 @@ +--- ../orig/HLLib/GCFFile.cpp 2010-11-01 20:56:16.000000000 -0200 ++++ ./HLLib/GCFFile.cpp 2013-02-11 17:56:51.281214140 -0200 +@@ -789,6 +789,8 @@ + } + return hlTrue; + } ++ default: ++ ; + } + break; + } +@@ -819,9 +821,13 @@ + } + return hlTrue; + } ++ default: ++ ; + } + break; + } ++ default: ++ ; + } + + return hlFalse; +Only in ./HLLib: GCFFile.cpp.orig +diff -ru ../orig/HLLib/HLLib.cpp ./HLLib/HLLib.cpp Index: files/patch-.__HLLib__HLLib.cpp =================================================================== --- files/patch-.__HLLib__HLLib.cpp (revision 0) +++ files/patch-.__HLLib__HLLib.cpp (working copy) @@ -0,0 +1,31 @@ +--- ../orig/HLLib/HLLib.cpp 2010-11-01 19:45:14.000000000 -0200 ++++ ./HLLib/HLLib.cpp 2013-02-11 17:56:51.284213443 -0200 +@@ -153,6 +153,8 @@ + case HL_PACKAGE_BOUND: + *pValue = pPackage != 0; + return hlTrue; ++ default: ++ ; + } + + return hlFalse; +@@ -171,6 +173,8 @@ + case HL_FORCE_DEFRAGMENT: + bForceDefragment = bValue; + break; ++ default: ++ ; + } + } + +@@ -533,6 +537,8 @@ + case HL_PROC_DEFRAGMENT_PROGRESS_EX: + pDefragmentProgressExProc = (PDefragmentProgressExProc)pValue; + break; ++ default: ++ ; + } + } + +Only in ./HLLib: HLLib.cpp.orig +diff -ru ../orig/HLLib/Makefile ./HLLib/Makefile Index: files/patch-.__HLLib__NCFFile.cpp =================================================================== --- files/patch-.__HLLib__NCFFile.cpp (revision 0) +++ files/patch-.__HLLib__NCFFile.cpp (working copy) @@ -0,0 +1,27 @@ +--- ../orig/HLLib/NCFFile.cpp 2010-10-31 22:48:26.000000000 -0200 ++++ ./HLLib/NCFFile.cpp 2013-02-11 17:56:51.287210992 -0200 +@@ -347,6 +347,8 @@ + hlAttributeSetUnsignedInteger(&Attribute, this->lpItemAttributeNames[eAttribute], this->lpDirectoryEntries[pFile->GetID()].uiDirectoryFlags, hlTrue); + return hlTrue; + } ++ default: ++ ; + } + break; + } +@@ -360,9 +362,13 @@ + hlAttributeSetUnsignedInteger(&Attribute, this->lpItemAttributeNames[eAttribute], this->lpDirectoryEntries[pFolder->GetID()].uiDirectoryFlags, hlTrue); + return hlTrue; + } ++ default: ++ ; + } + break; + } ++ default: ++ ; + } + + return hlFalse; +Only in ./HLLib: NCFFile.cpp.orig +diff -ru ../orig/HLLib/SGAFile.cpp ./HLLib/SGAFile.cpp Index: files/patch-.__HLLib__SGAFile.cpp =================================================================== --- files/patch-.__HLLib__SGAFile.cpp (revision 0) +++ files/patch-.__HLLib__SGAFile.cpp (working copy) @@ -0,0 +1,34 @@ +--- ../orig/HLLib/SGAFile.cpp 2012-11-20 20:17:10.000000000 -0200 ++++ ./HLLib/SGAFile.cpp 2013-02-11 17:56:51.289212795 -0200 +@@ -387,6 +387,8 @@ + } + return hlFalse; + } ++ default: ++ ; + } + break; + } +@@ -448,9 +450,13 @@ + } + return hlFalse; + } ++ default: ++ ; + } + break; + } ++ default: ++ ; + } + } + return hlFalse; +@@ -624,4 +630,4 @@ + { + delete []static_cast(static_cast(Stream).GetBuffer()); + } +-} +\ No newline at end of file ++} +Only in ./HLLib: SGAFile.cpp.orig +diff -ru ../orig/HLLib/SGAFile.h ./HLLib/SGAFile.h Index: files/patch-.__HLLib__SGAFile.h =================================================================== --- files/patch-.__HLLib__SGAFile.h (revision 0) +++ files/patch-.__HLLib__SGAFile.h (working copy) @@ -0,0 +1,14 @@ +--- ../orig/HLLib/SGAFile.h 2012-09-17 20:16:38.000000000 -0300 ++++ ./HLLib/SGAFile.h 2013-02-11 17:56:51.311213431 -0200 +@@ -160,8 +160,6 @@ + typedef CSGADirectory CSGADirectory4; + typedef CSGADirectory CSGADirectory5; + +- friend CSGADirectory4; +- friend CSGADirectory5; + + private: + static const char *lpAttributeNames[]; +Only in ./HLLib: SGAFile.h.bak +Only in ./HLLib: SGAFile.h.orig +diff -ru ../orig/HLLib/VBSPFile.cpp ./HLLib/VBSPFile.cpp Index: files/patch-.__HLLib__VBSPFile.cpp =================================================================== --- files/patch-.__HLLib__VBSPFile.cpp (revision 0) +++ files/patch-.__HLLib__VBSPFile.cpp (working copy) @@ -0,0 +1,38 @@ +--- ../orig/HLLib/VBSPFile.cpp 2011-05-22 07:53:42.000000000 -0300 ++++ ./HLLib/VBSPFile.cpp 2013-02-11 17:56:51.294217852 -0200 +@@ -422,6 +422,8 @@ + delete []lpComment; + return hlTrue; + } ++ default: ++ ; + } + } + else +@@ -444,6 +446,8 @@ + hlAttributeSetUnsignedInteger(&Attribute, this->lpItemAttributeNames[eAttribute], *(hlUInt *)this->pHeader->lpLumps[uiID].lpFourCC, hlTrue); + return hlTrue; + } ++ default: ++ ; + } + + if(this->pEndOfCentralDirectoryRecord != 0 && pItem->GetID() == HL_VBSP_LUMP_PAKFILE) +@@ -466,11 +470,15 @@ + delete []lpComment; + return hlTrue; + } ++ default: ++ ; + } + } + } + break; + } ++ default: ++ ; + } + + return hlFalse; +Only in ./HLLib: VBSPFile.cpp.orig +diff -ru ../orig/HLLib/VPKFile.cpp ./HLLib/VPKFile.cpp Index: files/patch-.__HLLib__VPKFile.cpp =================================================================== --- files/patch-.__HLLib__VPKFile.cpp (revision 0) +++ files/patch-.__HLLib__VPKFile.cpp (working copy) @@ -0,0 +1,18 @@ +--- ../orig/HLLib/VPKFile.cpp 2013-01-27 14:13:28.000000000 -0200 ++++ ./HLLib/VPKFile.cpp 2013-02-11 17:56:51.297217265 -0200 +@@ -415,9 +415,13 @@ + hlAttributeSetUnsignedInteger(&Attribute, this->lpItemAttributeNames[eAttribute], pDirectoryItem->pDirectoryEntry->uiCRC, hlTrue); + return hlTrue; + } ++ default: ++ ; + } + break; + } ++ default: ++ ; + } + + return hlFalse; +Only in ./HLLib: VPKFile.cpp.orig +diff -ru ../orig/HLLib/WADFile.cpp ./HLLib/WADFile.cpp Index: files/patch-.__HLLib__WADFile.cpp =================================================================== --- files/patch-.__HLLib__WADFile.cpp (revision 0) +++ files/patch-.__HLLib__WADFile.cpp (working copy) @@ -0,0 +1,18 @@ +--- ../orig/HLLib/WADFile.cpp 2010-10-31 22:56:14.000000000 -0200 ++++ ./HLLib/WADFile.cpp 2013-02-11 17:56:51.300216459 -0200 +@@ -200,9 +200,13 @@ + hlAttributeSetUnsignedInteger(&Attribute, this->lpItemAttributeNames[eAttribute], (hlUInt)pLump->iType, hlTrue); + return hlTrue; + } ++ default: ++ ; + } + break; + } ++ default: ++ ; + } + + return hlFalse; +Only in ./HLLib: WADFile.cpp.orig +diff -ru ../orig/HLLib/XZPFile.cpp ./HLLib/XZPFile.cpp Index: files/patch-.__HLLib__XZPFile.cpp =================================================================== --- files/patch-.__HLLib__XZPFile.cpp (revision 0) +++ files/patch-.__HLLib__XZPFile.cpp (working copy) @@ -0,0 +1,27 @@ +--- ../orig/HLLib/XZPFile.cpp 2010-10-31 22:49:18.000000000 -0200 ++++ ./HLLib/XZPFile.cpp 2013-02-11 17:56:51.302217604 -0200 +@@ -197,7 +197,7 @@ + for(hlUInt i = 0; i < this->pHeader->uiDirectoryEntryCount; i++) + { + hlChar lpTemp[16] = ""; +- hlChar *lpLookup[] = { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f" }; ++ const hlChar *lpLookup[] = { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f" }; + for(hlByte *lpCRC = (hlByte *)&this->lpDirectoryEntries[i].uiFileNameCRC; lpCRC < (hlByte *)&this->lpDirectoryEntries[i].uiFileNameCRC + sizeof(hlUInt); lpCRC++) + { + strcat(lpTemp, lpLookup[(hlByte)(*lpCRC >> 4)]); +@@ -299,9 +299,13 @@ + hlAttributeSetUnsignedInteger(&Attribute, this->lpItemAttributeNames[eAttribute], uiSize, hlFalse); + return hlTrue; + } ++ default: ++ ; + } + break; + } ++ default: ++ ; + } + + return hlFalse; +Only in ./HLLib: XZPFile.cpp.orig +diff -ru ../orig/HLLib/ZIPFile.cpp ./HLLib/ZIPFile.cpp Index: files/patch-.__HLLib__ZIPFile.cpp =================================================================== --- files/patch-.__HLLib__ZIPFile.cpp (revision 0) +++ files/patch-.__HLLib__ZIPFile.cpp (working copy) @@ -0,0 +1,24 @@ +--- ../orig/HLLib/ZIPFile.cpp 2012-09-18 19:51:30.000000000 -0300 ++++ ./HLLib/ZIPFile.cpp 2013-02-11 17:56:51.305211203 -0200 +@@ -393,9 +393,13 @@ + delete []lpComment; + return hlTrue; + } ++ default: ++ ; + } + break; + } ++ default: ++ ; + } + + return hlFalse; +@@ -598,4 +602,4 @@ + { + delete []static_cast(static_cast(Stream).GetBuffer()); + } +-} +\ No newline at end of file ++} +Only in ./HLLib: ZIPFile.cpp.orig >Release-Note: >Audit-Trail: >Unformatted: