mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
- Fix build on 4.x
Submitted by: maintainer Reported by: bento via kris
This commit is contained in:
parent
b3f74fa245
commit
0a171f2792
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=99106
@ -22,6 +22,7 @@ USE_AUTOCONF= yes
|
||||
USE_AUTOMAKE= yes
|
||||
USE_REINPLACE= yes
|
||||
USE_BZIP2= yes
|
||||
USE_GETOPT_LONG=yes
|
||||
CONFIGURE_ARGS= \
|
||||
--prefix=${PREFIX} \
|
||||
--with-lang=ua \
|
||||
|
12
ukrainian/iceb/files/patch-libdev-iceb_client.c
Normal file
12
ukrainian/iceb/files/patch-libdev-iceb_client.c
Normal file
@ -0,0 +1,12 @@
|
||||
--- iceb_client.c.old Sat Jan 24 23:05:19 2004
|
||||
+++ libdev/iceb_client.c Sat Jan 24 23:05:37 2004
|
||||
@@ -6,8 +6,8 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <netdb.h>
|
||||
-#include <sys/socket.h>
|
||||
#include <sys/types.h>
|
||||
+#include <sys/socket.h>
|
||||
#include <ctype.h>
|
||||
#ifdef HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
@ -76,7 +76,7 @@
|
||||
- return(ttyname_b);
|
||||
+char* workid() {
|
||||
+ // get host name
|
||||
+ static const long length = sysconf(_SC_HOST_NAME_MAX);
|
||||
+ static const long length = 1024; //sysconf(_SC_HOST_NAME_MAX);
|
||||
+ char host[length];
|
||||
+ host[0] = '\0';
|
||||
+ gethostname(host, length);
|
||||
|
Loading…
Reference in New Issue
Block a user