Date: Sun, 10 Nov 2013 04:03:15 +0600 (BDT) From: Muhammad Moinur Rahman <5u623l20@gmail.com> To: FreeBSD-gnats-submit@freebsd.org Cc: cristianorolim@hotmail.com Subject: ports/183824: [PATCH] graphics/Coin: fix building of x11-toolkits/SoXt Message-ID: <201311092203.rA9M3FD4095572@bofh.1asiacom.net> Resent-Message-ID: <201311092210.rA9MA0IS024315@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 183824 >Category: ports >Synopsis: [PATCH] graphics/Coin: fix building of x11-toolkits/SoXt >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: Sat Nov 09 22:10:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Muhammad Moinur Rahman >Release: FreeBSD 11.0-CURRENT amd64 >Organization: >Environment: System: FreeBSD bofh.1asiacom.net 11.0-CURRENT FreeBSD 11.0-CURRENT #3 r257540: Tue Nov 5 18:47:37 >Description: [DESCRIBE CHANGES] - Fix building of x11-toolkits/SoXt which depends of graphics/Coin - Add LICENSE support - Add STAGE support Building of x11-toolkits/SoXt used to fail with CLANG in 10 and head. http://www.mail-archive.com/freebsd-pkg-fallout@freebsd.org/msg43819.html This patch helps building that with CLANG support. After the patches applied the log files are as following for x11-toolkits/SoXt: http://pdr.s.ubze.ro/bulk/latest-per-pkg/SoXt/1.3.0_1/84i386-default.log http://pdr.s.ubze.ro/bulk/latest-per-pkg/SoXt/1.3.0_1/84amd64-default.log http://pdr.s.ubze.ro/bulk/latest-per-pkg/SoXt/1.3.0_1/92i386-default.log http://pdr.s.ubze.ro/bulk/latest-per-pkg/SoXt/1.3.0_1/92amd64-default.log http://pdr.s.ubze.ro/bulk/latest-per-pkg/SoXt/1.3.0_1/10b3i386-default.log http://pdr.s.ubze.ro/bulk/latest-per-pkg/SoXt/1.3.0_1/10b3amd64-default.log http://pdr.s.ubze.ro/bulk/latest-per-pkg/SoXt/1.3.0_1/11i386-default.log http://pdr.s.ubze.ro/bulk/latest-per-pkg/SoXt/1.3.0_1/11amd64-default.log For Committer's reference: http://pdr.s.ubze.ro/bulk/latest-per-pkg/Coin/3.1.3_4/84i386-default.log http://pdr.s.ubze.ro/bulk/latest-per-pkg/Coin/3.1.3_4/84amd64-default.log http://pdr.s.ubze.ro/bulk/latest-per-pkg/Coin/3.1.3_4/92i386-default.log http://pdr.s.ubze.ro/bulk/latest-per-pkg/Coin/3.1.3_4/92amd64-default.log http://pdr.s.ubze.ro/bulk/latest-per-pkg/Coin/3.1.3_4/10b3i386-default.log http://pdr.s.ubze.ro/bulk/latest-per-pkg/Coin/3.1.3_4/10b3amd64-default.log http://pdr.s.ubze.ro/bulk/latest-per-pkg/Coin/3.1.3_4/11i386-default.log http://pdr.s.ubze.ro/bulk/latest-per-pkg/Coin/3.1.3_4/11amd64-default.log Port maintainer (cristianorolim@hotmail.com) is cc'd. Generated with FreeBSD Port Tools 0.99_8 (mode: change, diff: ports) >How-To-Repeat: >Fix: --- Coin-3.1.3_4.patch begins here --- diff -ruN /usr/ports//graphics/Coin/Makefile ./Makefile --- /usr/ports//graphics/Coin/Makefile 2013-09-21 00:35:44.000000000 +0600 +++ ./Makefile 2013-11-09 20:45:01.000000000 +0600 @@ -1,9 +1,9 @@ # Created by: roland.jesse@gmx.net -# $FreeBSD: graphics/Coin/Makefile 327733 2013-09-20 18:35:44Z bapt $ +# $FreeBSD: head/graphics/Coin/Makefile 327733 2013-09-20 18:35:44Z bapt $ PORTNAME= Coin PORTVERSION= 3.1.3 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= graphics MASTER_SITES= http://ftp.coin3d.org/coin/src/all/ \ ftp://ftp.coin3d.org/pub/coin/src/all/ @@ -11,7 +11,9 @@ MAINTAINER= cristianorolim@hotmail.com COMMENT= C++ 3D graphics library based on the Open Inventor 2.1 API -LIB_DEPENDS= simage.27:${PORTSDIR}/graphics/simage +LICENSE= BSD + +LIB_DEPENDS= simage:${PORTSDIR}/graphics/simage USE_GCC= any USE_OPENAL= al @@ -24,9 +26,6 @@ USE_LDCONFIG= yes MAKE_ENV= LANG=C -MAN1= coin-config.1 - -NO_STAGE= yes post-patch: @${REINPLACE_CMD} -e 's|DATA install-data-local|DATA|g' ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e 's|-pthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure diff -ruN /usr/ports//graphics/Coin/files/patch-include-Inventor-SbBasic.h ./files/patch-include-Inventor-SbBasic.h --- /usr/ports//graphics/Coin/files/patch-include-Inventor-SbBasic.h 1970-01-01 06:00:00.000000000 +0600 +++ ./files/patch-include-Inventor-SbBasic.h 2013-11-09 20:08:06.000000000 +0600 @@ -0,0 +1,10 @@ +--- include/Inventor/SbBasic.h.orig 2013-11-09 19:57:50.000000000 +0600 ++++ include/Inventor/SbBasic.h 2013-11-09 19:58:10.000000000 +0600 +@@ -25,6 +25,7 @@ + \**************************************************************************/ + + #include <Inventor/C/basic.h> ++#include <Inventor/C/errors/debugerror.h> + + /* ********************************************************************** */ + /* Trap people trying to use Inventor headers while compiling C source code. diff -ruN /usr/ports//graphics/Coin/pkg-plist ./pkg-plist --- /usr/ports//graphics/Coin/pkg-plist 2012-07-14 19:54:48.000000000 +0600 +++ ./pkg-plist 2013-11-09 20:11:39.000000000 +0600 @@ -827,6 +827,7 @@ lib/libCoin.so lib/libCoin.so.61 libdata/pkgconfig/Coin.pc +man/man1/coin-config.1.gz %%DATADIR%%/conf/coin-default.cfg %%DATADIR%%/draggerDefaults/centerballDragger.iv %%DATADIR%%/draggerDefaults/directionalLightDragger.iv --- Coin-3.1.3_4.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?201311092203.rA9M3FD4095572>