1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

- Update to 2.18

This commit is contained in:
Ryan Steinmetz 2012-06-19 11:44:12 +00:00
parent f8db12782e
commit 676a207ea9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=299627
3 changed files with 5 additions and 36 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= dhcpd-pools
PORTVERSION= 2.17
PORTVERSION= 2.18
CATEGORIES= net
MASTER_SITES= SF/${PORTNAME}
@ -20,8 +20,8 @@ BUILD_DEPENDS= ${LOCALBASE}/include/uthash.h:${PORTSDIR}/devel/uthash
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-dhcpd-conf=${LOCALBASE}/etc/dhcpd.conf \
--with-dhcpd-leases=/var/db/dhcpd/dhcpd.leases
CFLAGS+= -I/usr/include -I${LOCALBASE}/include
--with-dhcpd-leases=/var/db/dhcpd/dhcpd.leases \
--with-uthash=${LOCALBASE}/include
PLIST_FILES= bin/dhcpd-pools
PORTDATA= dhcpd-pools.cgi snmptest.pl

View File

@ -1,2 +1,2 @@
SHA256 (dhcpd-pools-2.17.tar.gz) = 99f966dc9745f2061d9ca5039837b543876ea02113a920d330f0fbf31f3f495e
SIZE (dhcpd-pools-2.17.tar.gz) = 366581
SHA256 (dhcpd-pools-2.18.tar.gz) = 340ccb76232aaa5a77290c29f4af963e26c002a9d987146a0619e8ea7ba2b0b3
SIZE (dhcpd-pools-2.18.tar.gz) = 367741

View File

@ -1,31 +0,0 @@
--- ./src/other.c.orig 2012-05-02 13:52:56.000000000 -0400
+++ ./src/other.c 2012-05-06 13:52:32.000000000 -0400
@@ -53,13 +53,28 @@
#include <err.h>
#include <errno.h>
+#ifndef __FreeBSD__
#include <error.h>
+#endif
#include <stdbool.h>
#include <stddef.h>
#include <stdio.h>
+#ifndef __FreeBSD__
#include <stdio_ext.h>
+#endif
#include <unistd.h>
+#ifdef __FreeBSD__
+#define error errc
+#endif
+
+#ifdef __FreeBSD__
+static size_t __fpending (FILE *fp)
+{
+ return (fp->_p - fp->_bf._base);
+}
+#endif
+
/* Simple memory allocation wrapper */
void *safe_malloc(const size_t size)
{