Date: Thu, 5 Jul 2007 22:28:19 GMT From: Federico Gálvez-Durand <federicogalvezdurand@yahoo.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/114344: ports/science/afni broken Message-ID: <200707052228.l65MSJta033995@www.freebsd.org> Resent-Message-ID: <200707052230.l65MU2GU024818@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 114344 >Category: ports >Synopsis: ports/science/afni broken >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jul 05 22:30:02 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Federico Gálvez-Durand >Release: i386 6.2 >Organization: UFRJ >Environment: FreeBSD trinity.local 6.2-RELEASE-p1 FreeBSD 6.2-RELEASE-p1 #0: Fri Feb 16 13:51:49 UTC 2007 root@trinity.local:/usr/obj/usr/src/sys/TRINITY i386 >Description: ports/science/afni compiles but with several pieces left out because of compiling errors involving glwMDrawingAreaWidgetClass not longer present in xorg 7.2 libGLw.so. >How-To-Repeat: compile ports/science/afni and observe that the following programs fail to compile: cp: SUMA/suma: No such file or directory cp: SUMA/AnalyzeTrace: No such file or directory cp: SUMA/SurfInfo: No such file or directory cp: SUMA/SurfDsetInfo: No such file or directory cp: SUMA/ROIgrow: No such file or directory cp: SUMA/SurfToSurf: No such file or directory cp: SUMA/3dSurfMask: No such file or directory cp: SUMA/3dBRAIN_VOYAGERtoAFNI: No such file or directory cp: SUMA/3dCRUISEtoAFNI: No such file or directory cp: SUMA/3dSkullStrip: No such file or directory cp: SUMA/SampBias: No such file or directory cp: SUMA/SUMA_paperplane: No such file or directory cp: SUMA/SurfSmooth: No such file or directory cp: SUMA/SurfQual: No such file or directory cp: SUMA/SurfPatch: No such file or directory cp: SUMA/FSread_annot: No such file or directory cp: SUMA/quickspec: No such file or directory cp: SUMA/inspec: No such file or directory cp: SUMA/SurfaceMetrics: No such file or directory cp: SUMA/SUMA_pixmap2eps: No such file or directory cp: SUMA/ConvexHull: No such file or directory cp: SUMA/IsoSurface: No such file or directory cp: SUMA/SurfClust: No such file or directory cp: SUMA/ConvertDset: No such file or directory cp: SUMA/ConvertSurface: No such file or directory cp: SUMA/CompareSurfaces: No such file or directory cp: SUMA/CreateIcosahedron: No such file or directory cp: SUMA/MapIcosahedron: No such file or directory cp: SUMA/ScaleToMap: No such file or directory cp: SUMA/SurfMeasures: No such file or directory cp: SUMA/3dSurf2Vol: No such file or directory cp: SUMA/3dVol2Surf: No such file or directory cp: SUMA/ROI2dataset: No such file or directory cp: SUMA/MakeColorMap: No such file or directory cp: SUMA/DriveSuma: No such file or directory >Fix: 1) apply patch for files/Makefile.FreeBSD_PORT --- files/Makefile.FreeBSD_PORT.orig Thu Jul 5 02:05:43 2007 +++ files/Makefile.FreeBSD_PORT Thu Jul 5 02:06:03 2007 @@ -45,7 +45,7 @@ LD? = ${CC} CCDEBS = -DAFNI_DEBUG -DIMSEQ_DEBUG -DDISPLAY_DEBUG -DTHD_DEBUG -CEXTRA = -DFreeBSD -DNO_GAMMA -DUSE_TRACING -DHAVE_XDBE -DSUMA_MOTIF_GLXAREA +CEXTRA = -DFreeBSD -DNO_GAMMA -DUSE_TRACING -DHAVE_XDBE ifeq (${ARCH}, amd64) CEXTRA += -DPIC -fPIC endif 2) create patch for SUMA/SUMA_paperplane.c (# cat files/patch-SUMA-SUMA_paperplane.c) --- SUMA/SUMA_paperplane.c.orig Wed Sep 21 17:45:43 2005 +++ SUMA/SUMA_paperplane.c Thu Jul 5 23:54:45 2007 @@ -31,10 +31,10 @@ #ifdef noGLwidget #include <Xm/DrawingA.h> /* Motif drawing area widget */ #else -#ifdef noMotifGLwidget -#include <GL/GLwDrawA.h> /* Pure Xt OpenGL drawing area widget. */ -#else +#ifdef SUMA_MOTIF_GLXAREA #include <GL/GLwMDrawA.h> /* Motif OpenGL drawing area widget. */ +#else +#include <GL/GLwDrawA.h> /* Pure Xt OpenGL drawing area widget. */ #endif #endif @@ -386,14 +386,14 @@ glxarea = XtVaCreateManagedWidget("glxarea", xmDrawingAreaWidgetClass, frame, NULL); #else -#ifdef noMotifGLwidget - /* notice glwDrawingAreaWidgetClass lacks an 'M' */ +#ifdef SUMA_MOTIF_GLXAREA glxarea = XtVaCreateManagedWidget("glxarea", - glwDrawingAreaWidgetClass, frame, + glwMDrawingAreaWidgetClass, frame, GLwNvisualInfo, vi, NULL); #else + /* notice glwDrawingAreaWidgetClass lacks an 'M' */ glxarea = XtVaCreateManagedWidget("glxarea", - glwMDrawingAreaWidgetClass, frame, + glwDrawingAreaWidgetClass, frame, GLwNvisualInfo, vi, NULL); #endif #endif >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200707052228.l65MSJta033995>