Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Feb 2012 16:47:37 GMT
From:      Alexandr Kovalenko <never@nevermind.kiev.ua>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/164767: [PATCH] Unbreak ports/net-im/centerim on 9.x/10.x
Message-ID:  <201202041647.q14GlbOE020579@red.freebsd.org>
Resent-Message-ID: <201202041650.q14GoG8B037101@freefall.freebsd.org>

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

>Number:         164767
>Category:       ports
>Synopsis:       [PATCH] Unbreak ports/net-im/centerim on 9.x/10.x
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb 04 16:50:16 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Alexandr Kovalenko
>Release:        9.0-STABLE
>Organization:
Nevermind Ltd.
>Environment:
FreeBSD 9.0-STABLE #0 r230876
>Description:
centerim was marked broken since __FreeBSD_version 900007 due to utmpx introduction, but during 4.22.9 -> 4.22.10 centerim update issue was fixed in upstream:

~~
2010-01-19  Hakan Kvist  <hagar@df.lth.se>

       Fixed compiler error with FreeBSD. Also fixed link error against curseslib.
       FreeBSD do not want <utmp.h> to be included. However utmp is only used in linux,
       so we do not need to include utmp.h for non linux systems.
~~

Tested on 900044, 900508, 1000006.

>How-To-Repeat:
Remove check in ports/net-im/centerim/Makefile and try to build.
>Fix:
Apply patch attached.

Patch attached with submission follows:

--- net-im/centerim/Makefile.orig	2012-02-04 18:43:57.000000000 +0200
+++ net-im/centerim/Makefile	2012-02-04 18:44:11.000000000 +0200
@@ -46,10 +46,6 @@
 
 .include <bsd.port.pre.mk>
 
-.if ${OSVERSION} > 900007
-BROKEN=		fails to build with new utmpx
-.endif
-
 .if defined(WITHOUT_NLS)
 CONFIGURE_ARGS+=--disable-nls
 PLIST_SUB+=		NLS="@comment "


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



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