Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Aug 2012 13:16:58 +0300
From:      Mykola Dzham <i@levsha.me>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        thierry@FreeBSD.org
Subject:   ports/170645: [PATCH] x11/rxvt-unicode: fix build on recent current and 9-STABLE
Message-ID:  <E1T1aeo-000ATE-TF@laptop.levsha.me>
Resent-Message-ID: <201208151020.q7FAKRu3015251@freefall.freebsd.org>

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

>Number:         170645
>Category:       ports
>Synopsis:       [PATCH] x11/rxvt-unicode: fix build on recent current and 9-STABLE
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 15 10:20:25 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Mykola Dzham
>Release:        FreeBSD 10.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD laptop.levsha.me 10.0-CURRENT FreeBSD 10.0-CURRENT #31 r239244: Tue Aug 14 13:10:04 EEST
>Description:
Can't build x11/rxvt-unicode after r236890 on current and after MFS on 9-STABLE:
...
c++ -I.. -I. -I. -I./../libev -I./../libptytty/src -I./../libecb -DHAVE_CONFIG_H -I/usr/local/include -D_THREAD_SAFE -I/usr/local/include   -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/freetype2   -I/usr/local/include -O2 -pipe -fno-strict-aliasing -w -I/usr/local/include  -D_REENTRANT -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/libpng15 -I/usr/local/include/glib-2.0 -c rxvtc.C
PERL="/usr/bin/perl5" /usr/bin/perl5 /usr/local/lib/perl5/5.12.4/ExtUtils/xsubpp -C++ -typemap /usr/local/lib/perl5/5.12.4/ExtUtils/typemap -typemap typemap.iom -typemap typemap -prototypes ./rxvtperl.xs >rxvtperl.C
/usr/bin/perl5 -MExtUtils::Embed -e xsinit -- -std urxvt
cc  -o rxvtc rxvtc.o rxvtdaemon.o fdpass_wrapper.o -lutil -lsupc++ -lm
rxvtdaemon.o: In function `rxvt_connection::recv(auto_ptr<char>&, int*)':
rxvtdaemon.C:(.text+0x28e): undefined reference to `operator new[](unsigned long)'

Port maintainer (thierry@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99_6 (mode: change, diff: CVS)
>How-To-Repeat:
Try to build on current after r236890 or on 9-stable after r237938

>Fix:
Use patch below.

tb logs:
http://levsha.me/tb/logs/10-HEAD.amd64/rxvt-unicode-9.15_1.log
http://levsha.me/tb/logs/9-STABLE.amd64/rxvt-unicode-9.15_1.log
http://levsha.me/tb/logs/9-STABLE.i386/rxvt-unicode-9.15_1.log
http://levsha.me/tb/logs/8-STABLE.amd64/rxvt-unicode-9.15_1.log
http://levsha.me/tb/logs/8-STABLE.i386/rxvt-unicode-9.15_1.log
http://levsha.me/tb/logs/7-STABLE.amd64/rxvt-unicode-9.15_1.log
http://levsha.me/tb/logs/7-STABLE.i386/rxvt-unicode-9.15_1.log

--- rxvt-unicode-9.15_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/x11/rxvt-unicode/Makefile,v
retrieving revision 1.142
diff -u -r1.142 Makefile
--- Makefile	30 Jun 2012 14:53:21 -0000	1.142
+++ Makefile	15 Aug 2012 10:04:38 -0000
@@ -26,7 +26,7 @@
 USE_XORG=		xpm xft xrender
 GNU_CONFIGURE=		yes
 CPPFLAGS+=		-I${LOCALBASE}/include
-CONFIGURE_ENV=		LIBS="-lutil"
+CONFIGURE_ENV=		LIBS="-lutil -lstdc++"
 CONFIGURE_ARGS=		--enable-everything --with-term=rxvt	\
 			--with-terminfo=${LOCALBASE}/share/misc/terminfo.db
 USE_BZIP2=		yes
--- rxvt-unicode-9.15_1.patch ends here ---

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



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