1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

Fix compilation on 4.x

Approved by: maintainer timeout (unpatched for >1 month)
This commit is contained in:
Volker Stolz 2005-10-19 16:11:30 +00:00
parent f73660194e
commit c0a88b673c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=145879
2 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,16 @@
$FreeBSD$
--- configure.orig
+++ configure
@@ -14021,9 +14021,9 @@
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
#ifdef HAVE_SYS_SOCKET_H
+ #include <sys/types.h>
#include <sys/socket.h>
#endif
- #include <sys/types.h>
socklen_t x;
int
main ()

View File

@ -0,0 +1,13 @@
$FreeBSD$
--- src/epos.h.orig
+++ src/epos.h
@@ -43,6 +43,7 @@
#include <rx.h>
#else
#ifdef HAVE_REGEX_H
+ #include <sys/types.h>
#include <regex.h>
#else
#include "rx.h"