[Bug 245517] net/freerdp: Update to 2.0.0

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Apr 10 19:40:48 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=245517

            Bug ID: 245517
           Summary: net/freerdp: Update to 2.0.0
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
               URL: https://www.freerdp.com/2020/04/09/2_0_0-released
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: kevans at freebsd.org
          Reporter: vvd at unislabs.com
          Assignee: kevans at freebsd.org
             Flags: maintainer-feedback?(kevans at freebsd.org)
 Attachment #213259 maintainer-approval?
             Flags:
             Flags: maintainer-feedback?

Created attachment 213259
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=213259&action=edit
Update to 2.0.0

FreeRDP 2.0.0 require newer version of libusb compared to base system have.
There are several errors during build.

1. Undeclared LIBUSB_CLASS_PHYSICAL, patch (hack?) is:
--- channels/urbdrc/client/libusb/libusb_udevice.h.orig
+++ channels/urbdrc/client/libusb/libusb_udevice.h
@@ -75,4 +75,8 @@
                            BYTE dev_number);
 const char* usb_interface_class_to_string(uint8_t class);

+#ifndef LIBUSB_CLASS_PHYSICAL
+#define LIBUSB_CLASS_PHYSICAL 5
+#endif
+
 #endif /* FREERDP_CHANNEL_URBDRC_CLIENT_LIBUSB_UDEVICE_H */

2. Undeclared LIBUSB_CAP_HAS_HOTPLUG - doesn't know how to do better than just
add:
#ifndef LIBUSB_CAP_HAS_HOTPLUG
#define LIBUSB_CAP_HAS_HOTPLUG 0x0001
#endif

3. No include file mntent.h - got solution from devel/fam.

4. Undeclared O_TMPFILE in FreeBSD. Fix is here: 
PATCHFILES=     3929226.patch:-p1
https://github.com/FreeRDP/FreeRDP/commit/39292268308a3fd6233c2863df22232725d22b3a

--- a/uwac/libuwac/uwac-os.c
+++ b/uwac/libuwac/uwac-os.c
@@ -33,6 +33,11 @@
 #define USE_SHM
 #endif

+/* uClibc and uClibc-ng don't provide O_TMPFILE */
+#ifndef O_TMPFILE
+#define O_TMPFILE (020000000 | O_DIRECTORY)
+#endif
+
 #include <sys/types.h>
 #include <sys/socket.h>
 #ifdef USE_SHM

5. Doesn't know is msusb.h needed - it was moved in sources, and I removed it
from pkg-plist.

After that it build fine and connect via rdp to server. Tested on 12.1 amd64.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list