Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Apr 2012 10:25:29 GMT
From:      Green Dog <fiziologus@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/167196: [x11/fireflies] fix build errror
Message-ID:  <201204221025.q3MAPTYm099909@red.freebsd.org>
Resent-Message-ID: <201204221030.q3MAUAuJ025031@freefall.freebsd.org>

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

>Number:         167196
>Category:       ports
>Synopsis:       [x11/fireflies] fix build errror
>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:   Sun Apr 22 10:30:10 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Green Dog
>Release:        FreeBSD-9.0
>Organization:
>Environment:
>Description:
fix build error if fltk is present

error:


clang++ -c -O2 -pipe -fno-strict-aliasing -I/usr/local/include -I/usr/local/include/GL -I/usr/ports/x11/fireflies/work/fireflies-2.07/libgfx/include -DHAVE_CONFIG_H  gui.cxx
gui.cxx:16:10: fatal error: 'FL/fl_file_chooser.H' file not found
#include <FL/fl_file_chooser.H>
         ^
1 error generated.
gmake[1]: *** [gui.o] &#1054;&#1096;&#1080;&#1073;&#1082;&#1072; 1
gmake[1]: &#1042;&#1099;&#1093;&#1086;&#1076; &#1080;&#1079; &#1082;&#1072;&#1090;&#1072;&#1083;&#1086;&#1075;&#1072; `/usr/ports/x11/fireflies/work/fireflies-2.07/libgfx/src'
gmake: *** [libgfx/src/libgfx.a] &#1054;&#1096;&#1080;&#1073;&#1082;&#1072; 2
*** Error code 1

Stop in /usr/ports/x11/fireflies.

==> pkg_info -xE fltk
fltk-1.3.0




>How-To-Repeat:

>Fix:


Patch attached with submission follows:

--- Makefile.orig	2011-09-24 02:26:09.000000000 +0400
+++ Makefile	2012-04-22 14:13:01.000000000 +0400
@@ -31,4 +31,8 @@
 post-extract:
 	(cd ${WRKSRC};  ${TAR} zxvpf libgfx-1.0.1.tar.gz)
 
+post-patch:
+	@${REINPLACE_CMD} -e 's/fl_file_chooser.H/Fl_File_Chooser.H/' \
+		${WRKSRC}/libgfx/src/gui.cxx
+
 .include <bsd.port.mk>


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



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