From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Feb 12 01:00: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 8DEFF6B0 for ; Tue, 12 Feb 2013 01:00: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 7537AA48 for ; Tue, 12 Feb 2013 01:00: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 r1C100tg044839 for ; Tue, 12 Feb 2013 01:00:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r1C100wK044838; Tue, 12 Feb 2013 01:00:00 GMT (envelope-from gnats) Resent-Date: Tue, 12 Feb 2013 01:00:00 GMT Resent-Message-Id: <201302120100.r1C100wK044838@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 64CAB446 for ; Tue, 12 Feb 2013 00:54:21 +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 495109F2 for ; Tue, 12 Feb 2013 00:54:21 +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 r1C0sLZH033531 for ; Tue, 12 Feb 2013 00:54:21 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id r1C0sLqe033530; Tue, 12 Feb 2013 00:54:21 GMT (envelope-from nobody) Message-Id: <201302120054.r1C0sLqe033530@red.freebsd.org> Date: Tue, 12 Feb 2013 00:54:21 GMT From: Danilo Egêa Gondolfo To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/176042: archivers/hlextract 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 01:00:00 -0000 >Number: 176042 >Category: ports >Synopsis: archivers/hlextract 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 01:00: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: archivers/hlextract update and maintainer change. Related PR: http://www.freebsd.org/cgi/query-pr.cgi?pr=176040 (dependence of hlextract) Changes: - Patch to silence 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,12 +2,12 @@ # $FreeBSD$ PORTNAME= hlextract -PORTVERSION= 2.4.3 +PORTVERSION= 2.4.4 CATEGORIES= archivers games MASTER_SITES= http://nemesis.thewavelength.net/files/files/ DISTNAME= hllib${PORTVERSION:S/.//g} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= danilogondolfo@gmail.com COMMENT= Utility to extract data from various Half-Life file formats LICENSE= GPLv2 @@ -17,12 +17,10 @@ USE_ZIP= yes WRKSRC= ${WRKDIR}/HLExtract +PATCH_WRKSRC= ${WRKDIR} + PLIST_FILES= bin/${PORTNAME} -post-patch: - @${REINPLACE_CMD} -e 's,linux/limits,sys/param, ; \ - s,HLExtract\.exe,${PORTNAME},' ${WRKSRC}/Main.c - do-build: ${CC} ${CFLAGS} -I${LOCALBASE}/include -L${LOCALBASE}/lib \ ${WRKSRC}/Main.c -o ${WRKSRC}/${PORTNAME} -lhl 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-hlextract =================================================================== --- files/patch-hlextract (revision 0) +++ files/patch-hlextract (working copy) @@ -0,0 +1,82 @@ +diff -ru ../orig/HLExtract/Main.c ./HLExtract/Main.c +--- ../orig/HLExtract/Main.c 2011-09-17 00:41:54.000000000 -0300 ++++ ./HLExtract/Main.c 2013-02-11 18:29:02.880217165 -0200 +@@ -52,7 +52,7 @@ + # define WIN32_LEAN_AND_MEAN + # include + #else +-# include ++# include + # define MAX_PATH PATH_MAX + + # define FOREGROUND_BLUE 0x0001 +@@ -618,15 +618,15 @@ + printf("\n"); + printf("Example HLExtract usage:\n"); + #ifdef _WIN32 +- printf("HLExtract.exe -p \"C:\\half-life.gcf\" -d \"C:\\backup\" -e \"root\\valve\\models\" -e \"root\\valve\\config.cfg\"\n"); +- printf("HLExtract.exe -p \"C:\\half-life.gcf\" -c -m -v\n"); +- printf("HLExtract.exe -p \"C:\\half-life.gcf\" -lf \"C:\\half-life.txt\" -m -s\n"); +- printf("HLExtract.exe -p \"C:\\half-life.gcf\" -m -f\n"); ++ printf("hlextract -p \"C:\\half-life.gcf\" -d \"C:\\backup\" -e \"root\\valve\\models\" -e \"root\\valve\\config.cfg\"\n"); ++ printf("hlextract -p \"C:\\half-life.gcf\" -c -m -v\n"); ++ printf("hlextract -p \"C:\\half-life.gcf\" -lf \"C:\\half-life.txt\" -m -s\n"); ++ printf("hlextract -p \"C:\\half-life.gcf\" -m -f\n"); + #else +- printf("HLExtract.exe -p \"~/half-life.gcf\" -d \"~/backup\" -e \"root/valve/models\" -e \"root/valve/config.cfg\"\n"); +- printf("HLExtract.exe -p \"~/half-life.gcf\" -c -m -v\n"); +- printf("HLExtract.exe -p \"~/half-life.gcf\" -lf \"~/half-life.txt\" -m -s\n"); +- printf("HLExtract.exe -p \"~/half-life.gcf\" -m -f\n"); ++ printf("hlextract -p \"~/half-life.gcf\" -d \"~/backup\" -e \"root/valve/models\" -e \"root/valve/config.cfg\"\n"); ++ printf("hlextract -p \"~/half-life.gcf\" -c -m -v\n"); ++ printf("hlextract -p \"~/half-life.gcf\" -lf \"~/half-life.txt\" -m -s\n"); ++ printf("hlextract -p \"~/half-life.gcf\" -m -f\n"); + #endif + } + +@@ -657,6 +657,8 @@ + fprintf(pFile, "%s\n", lpPath); + } + break; ++ default: ++ ; + } + } + +@@ -843,6 +845,8 @@ + PrintValidation(eValidation); + printf("\n"); + break; ++ default: ++ ; + } + } + else +@@ -851,6 +855,8 @@ + printf(" \n"); + } + break; ++ default: ++ ; + } + + return eValidation; +@@ -882,6 +888,8 @@ + case HL_ATTRIBUTE_STRING: + printf("%s%s: %s%s\n", lpPrefix, pAttribute->lpName, pAttribute->Value.String.lpValue, lpPostfix); + break; ++ default: ++ ; + } + } + +@@ -1151,6 +1159,8 @@ + printf(" Size: %u B\n", hlFileGetSize(pSubItem)); + printf(" Size On Disk: %u B\n", hlFileGetSizeOnDisk(pSubItem)); + break; ++ default: ++ ; + } + + uiItemCount = hlPackageGetItemAttributeCount(); +Only in ./HLExtract: Main.c.bak >Release-Note: >Audit-Trail: >Unformatted: