Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Feb 2005 15:23:17 -0700
From:      "Robin Schoonover" <end@endif.cjb.net>
To:        "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org>
Subject:   ports/77081: Update Port: www/winhelpcgi
Message-ID:  <1107469397.0@zork>
Resent-Message-ID: <200502032230.j13MUMNO036449@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         77081
>Category:       ports
>Synopsis:       Update Port: www/winhelpcgi
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 03 22:30:22 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Robin Schoonover
>Release:        FreeBSD 5.3-RELEASE-p5 i386
>Organization:
>Environment:


System: FreeBSD 5.3-RELEASE-p5 #39: Tue Feb  1 14:10:21 MST 2005
    end@zork:/usr/obj/usr/src/sys/ZORK



>Description:


Update winhelpcgi to the latest version.

Also attempt to unbreak ia64 by getting the endianness from the system headers.


>How-To-Repeat:





>Fix:


Apply the follow patch from ${PORTSDIR}/www/

--- winhelpcgi.rc3.patch3 begins here ---
diff -ruN winhelpcgi.old/Makefile winhelpcgi/Makefile
--- winhelpcgi.old/Makefile	Thu Feb  3 14:52:56 2005
+++ winhelpcgi/Makefile	Thu Feb  3 14:58:42 2005
@@ -6,24 +6,21 @@
 #
 
 PORTNAME=	winhelpcgi
-PORTVERSION=	0.99
+PORTVERSION=	1.0r3
 CATEGORIES=	www textproc
 MASTER_SITES=	http://www.herdsoft.com/ftp/
-DISTNAME=	${PORTNAME}_0.99-3
+DISTNAME=	${PORTNAME}_1.0rc3-1
 
 MAINTAINER=	endx7@users.sf.net
 COMMENT=	A winhelp converter cgi program
 
 LIB_DEPENDS=	wmf.2:${PORTSDIR}/graphics/libwmf
 
-WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
+WRKSRC=		${WRKDIR}/${PORTNAME}-1.0rc3
 GNU_CONFIGURE=	yes
 USE_AUTOMAKE_VER=	14
 USE_GETTEXT=		yes
 PKGMESSAGE=	${WRKDIR}/pkg-message
-
-pre-patch:
-	(cd ${WRKSRC}; ${TOUCH} config.h)
 
 post-build:
 	@${CAT} ${PKGDIR}/pkg-message | ${SED} -e 's:%%PREFIX%%:${PREFIX}:' > ${PKGMESSAGE}
diff -ruN winhelpcgi.old/distinfo winhelpcgi/distinfo
--- winhelpcgi.old/distinfo	Thu Feb  3 14:52:56 2005
+++ winhelpcgi/distinfo	Thu Feb  3 14:53:28 2005
@@ -1,2 +1,2 @@
-MD5 (winhelpcgi_0.99-3.tar.gz) = 94cdc550d320a78a71293e4d71b8006f
-SIZE (winhelpcgi_0.99-3.tar.gz) = 305524
+MD5 (winhelpcgi_1.0rc3-1.tar.gz) = ffea4a34898b3746184d50f5d2ea38c7
+SIZE (winhelpcgi_1.0rc3-1.tar.gz) = 338589
diff -ruN winhelpcgi.old/files/patch-bigend.h winhelpcgi/files/patch-bigend.h
--- winhelpcgi.old/files/patch-bigend.h	Wed Dec 31 17:00:00 1969
+++ winhelpcgi/files/patch-bigend.h	Thu Feb  3 14:55:24 2005
@@ -0,0 +1,17 @@
+--- libhlpaccess/bigend.h.orig	Sun May 16 13:35:18 2004
++++ libhlpaccess/bigend.h	Wed Jan  5 17:00:48 2005
+@@ -4,9 +4,11 @@
+  *
+  */
+ 
+-#if   defined(__powerpc__) || defined(__ppc__) || defined(__sparc__) || defined(_AIX)
++#include <sys/endian.h>
++
++#if BYTE_ORDER == BIG_ENDIAN
+ # define BIGENDIAN       /* This is a big-endian machine MSB is the first Byte */
+-#elif defined(__i386__) || defined(__alpha__) || defined(__amd64__)
++#elif BYTE_ORDER == LITTLE_ENDIAN
+ # define LITTLEENDIAN    /* This is a little-endian machine MSB is the last Byte */
+ #else
+ # error Endianness undefined
+
--- winhelpcgi.rc3.patch3 ends here ---



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1107469397.0>