mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
- fix build error in 4.x
"cvs update - sys/types.h should be before socket.h" PR: ports/102922 Submitted by: Jez Hancock <jez.hancock_AT_munk dot me dot uk>
This commit is contained in:
parent
8687757fbe
commit
dabdff80f9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=172377
@ -47,6 +47,10 @@ DOCS= RELEASE.NOTES doc/AUTHORS doc/BUGS doc/CREDITS \
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 500036
|
||||
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-src-sf_snort_plugin_api.h
|
||||
.endif
|
||||
|
||||
.if !defined(WITHOUT_DYNAMIC)
|
||||
USE_AUTOTOOLS= libtool:15
|
||||
USE_LDCONFIG= yes
|
||||
|
12
security/snort/files/extra-patch-src-sf_snort_plugin_api.h
Normal file
12
security/snort/files/extra-patch-src-sf_snort_plugin_api.h
Normal file
@ -0,0 +1,12 @@
|
||||
--- src/dynamic-plugins/sf_engine/sf_snort_plugin_api.h.orig Fri Feb 3 01:49:10 2006
|
||||
+++ src/dynamic-plugins/sf_engine/sf_snort_plugin_api.h Wed Sep 6 13:53:28 2006
|
||||
@@ -36,8 +36,8 @@
|
||||
#include "stdio.h"
|
||||
|
||||
#ifndef WIN32
|
||||
-#include <netinet/in.h>
|
||||
#include <sys/types.h>
|
||||
+#include <netinet/in.h>
|
||||
#else
|
||||
typedef unsigned char u_int8_t;
|
||||
typedef unsigned short u_int16_t;
|
Loading…
Reference in New Issue
Block a user