FreeBSD Bugzilla – Attachment 133875 Details for
Bug 178425
net-mgmt/dhcdrop: patch for moving to optionsng + fix building on clang
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 962 bytes, created by
ru_M1cRO
on 2013-05-08 19:40:02 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
ru_M1cRO
Created:
2013-05-08 19:40:02 UTC
Size:
962 bytes
patch
obsolete
>diff -Nru dhcdrop_old/Makefile dhcdrop/Makefile >--- dhcdrop_old/Makefile 2013-05-08 21:29:38.782704925 +0400 >+++ dhcdrop/Makefile 2013-05-08 22:14:50.764706297 +0400 >@@ -1,9 +1,5 @@ >-# New ports collection makefile for: dhcdrop >-# Date created: Aug 9 2009 >-# Whom: Nick F >-# >-# $FreeBSD: ports/net-mgmt/dhcdrop/Makefile,v 1.2 2012/11/17 06:00:31 svnexp Exp $ >-# >+# Created by: Nick F <ffault@gmail.com> >+# $FreeBSD$ > > PORTNAME= dhcdrop > PORTVERSION= 0.5 >@@ -21,12 +17,18 @@ > > PLIST_FILES= sbin/dhcdrop > >-OPTIONS= STATIC "Build a static version of dhcdrop" off >+OPTIONS_DEFINE= STATIC >+STATIC_DESC= Build a static version of dhcdrop > > .include <bsd.port.options.mk> > >-.if defined(WITH_STATIC) >+.if ${PORT_OPTIONS:MSTATIC} > CONFIGURE_ARGS+=--enable-static-build > .endif > >+pre-build: >+ @${REINPLACE_CMD} -e \ >+ 's,inline void rand_ether_addr,static void rand_ether_addr,' \ >+ ${WRKSRC}/src/dhcdrop.[c,h] >+ > .include <bsd.port.mk>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 178425
: 133875 |
133876