mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-04 11:23:46 +00:00
Fix build on 10, honor C/CXX, and fix issue with curvecp.
Submitted by: fallout and Tim Newsham
This commit is contained in:
parent
1bae451591
commit
fbb4cb2328
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=341796
@ -26,6 +26,8 @@ HOSTNAME_CMD?= /bin/hostname -s
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -i -e "s/$$/ -fPIC/" ${WRKSRC}/okcompilers/c
|
||||
@${REINPLACE_CMD} -i -e "s/gcc/${CC}/" ${WRKSRC}/okcompilers/c
|
||||
@${REINPLACE_CMD} -i -e "s/c++/${CXX}/" ${WRKSRC}/okcompilers/cpp
|
||||
|
||||
pre-build:
|
||||
${RM} -rf ${WRKSRC}/crypto_onetimeauth/poly1305/amd64
|
||||
|
13
security/nacl/files/patch-socket_udp.c
Normal file
13
security/nacl/files/patch-socket_udp.c
Normal file
@ -0,0 +1,13 @@
|
||||
--- curvecp/socket_udp.c.orig 2014-01-29 15:34:07.000000000 -0800
|
||||
+++ curvecp/socket_udp.c 2014-01-29 15:34:12.000000000 -0800
|
||||
@@ -6,6 +6,10 @@
|
||||
#include "socket.h"
|
||||
#include "blocking.h"
|
||||
|
||||
+#ifndef SOL_IP
|
||||
+#define SOL_IP IPPROTO_IP /* FreeBSD requires protocol number */
|
||||
+#endif
|
||||
+
|
||||
static void enable_bsd_fragmentation(int fd)
|
||||
{
|
||||
#ifdef IP_DONTFRAG
|
Loading…
x
Reference in New Issue
Block a user