[Bug 236750] devel/librevisa - fix build error
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Mar 24 05:36:20 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236750
Bug ID: 236750
Summary: devel/librevisa - fix build error
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: ports-bugs at FreeBSD.org
Reporter: jcfyecrayz at liamekaens.com
Created attachment 203094
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=203094&action=edit
[patch] remove obsolete cpp def that causes build error
On 10/stable & 11/stable, devel/librevisa fails during 'make build' like so:
=================
In file included from usb/usb_resource.cpp:25:
In file included from usb/usb_resource.h:24:
/usr/include/libusb.h:67:2: error: expected '}'
LIBUSB_CLASS_APPLICATION = 0xfe,
^
<command line>:2:34: note: expanded from here
#define LIBUSB_CLASS_APPLICATION 0xfe
^
/usr/include/libusb.h:50:24: note: to match this '{'
enum libusb_class_code {
^
1 error generated.
==================
libusb.h on 10 & 11 already defines LIBUSB_CLASS_APPLICATION, so the duplicate
defined in the Makefile just confuses the compiler.
Fix attached.
QA:
test build on 10/stable/amd64 and 11/stable/amd64 (ok)
portlint (ok - patch adds a section separator for a portlint warning)
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list