mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-09 06:51:44 +00:00
sysutils/usbutils: Fix build on 14-CURRENT
usbmisc.c:81:10: error: incompatible integer to pointer conversion assigning to 'char *' from 'int' [-Wint-conversion] result = getcwd(result, result_size); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. Obtained from: delphij Reference: https://pkg-status.freebsd.org/beefy18/data/main-amd64-default/pdf5b273c8e36_s83d5725005/logs/usbutils-0.91.log
This commit is contained in:
parent
f844e1c7df
commit
c26b33c97a
10
sysutils/usbutils/files/patch-usbmisc.c
Normal file
10
sysutils/usbutils/files/patch-usbmisc.c
Normal file
@ -0,0 +1,10 @@
|
||||
--- usbmisc.c.orig 2010-10-22 23:38:09 UTC
|
||||
+++ usbmisc.c
|
||||
@@ -29,6 +29,7 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
+#include <unistd.h>
|
||||
|
||||
#include "usbmisc.h"
|
||||
|
Loading…
Reference in New Issue
Block a user