Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Aug 2004 21:33:36 -0700 (PDT)
From:      Seth Kingsley <sethk@magnesium.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/70755: [MAINTAINER PATCH]: net-ymessenger and gettext linking errors.
Message-ID:  <20040821043336.71DA5DA849@toxic.magnesium.net>
Resent-Message-ID: <200408210440.i7L4ePfS031768@freefall.freebsd.org>

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

>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:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 21 04:40:25 GMT 2004
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



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