From sethk@magnesium.net  Sat Aug 21 04:33:36 2004
Return-Path: <sethk@magnesium.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 9E1DB16A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 21 Aug 2004 04:33:36 +0000 (GMT)
Received: from toxic.magnesium.net (toxic.magnesium.net [207.154.84.15])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 895AD43D49
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 21 Aug 2004 04:33:36 +0000 (GMT)
	(envelope-from sethk@magnesium.net)
Received: by toxic.magnesium.net (Postfix, from userid 1165)
	id 71DA5DA849; Fri, 20 Aug 2004 21:33:36 -0700 (PDT)
Message-Id: <20040821043336.71DA5DA849@toxic.magnesium.net>
Date: Fri, 20 Aug 2004 21:33:36 -0700 (PDT)
From: Seth Kingsley <sethk@magnesium.net>
Reply-To: Seth Kingsley <sethk@magnesium.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [MAINTAINER PATCH]: net-ymessenger and gettext linking errors.
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         70755
>Category:       ports
>Synopsis:       [MAINTAINER PATCH]: net-ymessenger and gettext linking errors.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 21 04:40:25 GMT 2004
>Closed-Date:    Sat Aug 21 12:10:06 GMT 2004
>Last-Modified:  Sat Aug 21 12:10:06 GMT 2004
>Originator:     Seth Kingsley
>Release:        FreeBSD 5.1-RELEASE i386
>Organization:
>Environment:

FreeBSD 5.2.1-RELEASE #1: Sat Jul 17 03:38:27 PDT 2004
sethk@kaneda.home.meowfishies.com:/usr/src/sys/i386/compile/KANEDA

>Description:
	Since the libintl major library version number has changed,
	net/ymessenger needs binary patching.

>How-To-Repeat:
	Attempt to run ymessenger on a system where libintl.so.4 does not
	exist.

>Fix:


--- Makefile.orig	Sun Jan 11 15:27:35 2004
+++ Makefile	Sun Jan 11 15:35:45 2004
@@ -31,6 +31,8 @@
 
 ONLY_FOR_ARCHS=	i386
 
+GETTEXT_MAJOR=	5
+
 do-install:
 	${INSTALL_SCRIPT} ${WRKDIR}/bin/ymessenger ${PREFIX}/bin
 	${MKDIR} ${PREFIX}/libexec/ymessenger
@@ -47,5 +49,7 @@
 
 post-patch:
 	${REINPLACE_CMD} -e 's:%%PREFIX%%:${PREFIX}:g' ${WRKDIR}/bin/ymessenger
+	${ECHO} ${GETTEXT_MAJOR} | dd bs=1 count=1 conv=notrunc seek=43202 \
+		of=${WRKDIR}/bin/ymessenger.bin
 
 .include <bsd.port.post.mk>

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: pav 
State-Changed-When: Sat Aug 21 12:09:54 GMT 2004 
State-Changed-Why:  
Committed, thanks! Just a note, libintl is now on 6 

http://www.freebsd.org/cgi/query-pr.cgi?pr=70755 
>Unformatted:
