FreeBSD Bugzilla – Attachment 130981 Details for
Bug 175013
misc/aclgen Fix build with clang
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.40 KB, created by
tkato432
on 2013-01-05 18:10:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
tkato432
Created:
2013-01-05 18:10:01 UTC
Size:
1.40 KB
patch
obsolete
>diff -urN /usr/ports/misc/aclgen/Makefile misc/aclgen/Makefile >--- /usr/ports/misc/aclgen/Makefile 2012-11-08 09:17:09.000000000 +0900 >+++ misc/aclgen/Makefile 2012-12-03 23:55:07.000000000 +0900 >@@ -1,9 +1,5 @@ >-# New ports collection makefile for: aclgen >-# Date created: 17 September 1999 >-# Whom: igor@zynaps.ru >-# >+# Created by: igor@zynaps.ru > # $FreeBSD: head/misc/aclgen/Makefile 301510 2012-07-25 06:32:06Z cs $ >-# > > PORTNAME= aclgen > PORTVERSION= 2.02 >@@ -14,13 +10,19 @@ > MAINTAINER= ports@FreeBSD.org > COMMENT= Optimize Cisco routers IP access lists > >-NO_WRKSUBDIR= YES >+NO_WRKSUBDIR= yes >+ > MAKEFILE= /usr/share/mk/bsd.prog.mk > MAKE_ARGS= PROG=aclgen > > MAN1= aclgen.1 > PLIST_FILES= bin/aclgen > >+post-patch: >+ @${REINPLACE_CMD} -e \ >+ 's|<malloc.h>|<unistd.h>| ; \ >+ s|^void main|int main|' ${WRKSRC}/aclgen.c >+ > do-install: > ${INSTALL_PROGRAM} ${WRKSRC}/aclgen ${PREFIX}/bin > ${INSTALL_MAN} ${WRKSRC}/aclgen.1 ${MANPREFIX}/man/man1 >diff -urN /usr/ports/misc/aclgen/files/patch-aa misc/aclgen/files/patch-aa >--- /usr/ports/misc/aclgen/files/patch-aa 2012-11-08 09:17:09.000000000 +0900 >+++ misc/aclgen/files/patch-aa 1970-01-01 09:00:00.000000000 +0900 >@@ -1,10 +0,0 @@ >---- aclgen.c.orig Thu Jul 3 11:35:57 1997 >-+++ aclgen.c Fri Sep 17 18:08:28 1999 >-@@ -15,7 +15,6 @@ >- #include <stdio.h> >- #include <string.h> >- #include <ctype.h> >--#include <malloc.h> >- #include <stdlib.h> >- >- /*#define P(x) ()*/
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 175013
: 130981