Date: Tue, 22 Aug 2017 17:21:57 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 221721] devel/libftdi1: build of 1.4 fails if 1.3 installed Message-ID: <bug-221721-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221721 Bug ID: 221721 Summary: devel/libftdi1: build of 1.4 fails if 1.3 installed Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: bsam@FreeBSD.org Reporter: z7dr6ut7gs@snkmail.com Assignee: bsam@FreeBSD.org Flags: maintainer-feedback?(bsam@FreeBSD.org) Created attachment 185669 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D185669&action= =3Dedit [patch] fix include dir search order for test/ The build of devel/libftdi1 PORTVERSION 1.4 fails if the old version (1.3) = is installed... =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D /usr/bin/c++ -I/usr/local/include -Isrc -O2 -pipe -fstack-protector -fno-strict-aliasing -O2 -pipe -fstack-protector -fno-stri ct-aliasing -Wall -MD -MT test/CMakeFiles/test_libftdi1.dir/baudrate.cpp.o -MF test/CMakeFiles/test_libftdi1.dir/baudrate.cpp. o.d -o test/CMakeFiles/test_libftdi1.dir/baudrate.cpp.o -c test/baudrate.cpp test/baudrate.cpp:105:14: error: use of undeclared identifier 'TYPE_230X'; = did you mean 'TYPE_232H'? case TYPE_230X: ^~~~~~~~~ TYPE_232H /usr/local/include/ftdi.h:25:97: note: 'TYPE_232H' declared here =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D The attached patch fixes the include ordering so it looks in the work direc= tory for header files before looking at install headers (e.g., in /usr/local). --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-221721-13>