1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

- Update to 0.57

Changes:	http://joeyh.name/code/moreutils/news/version_0.57/
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2015-07-24 08:59:11 +00:00
parent 4939adb80b
commit 0354e12235
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=392789
3 changed files with 3 additions and 38 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= moreutils
PORTVERSION= 0.56
PORTVERSION= 0.57
CATEGORIES= sysutils
MASTER_SITES= DEBIAN_POOL
DISTNAME= ${PORTNAME}_${PORTVERSION}.orig

View File

@ -1,2 +1,2 @@
SHA256 (moreutils_0.56.orig.tar.gz) = ec4b7a1e1d1e1d6ec606d2877301ec06c6cf4091776687d9b76f4d019705e77f
SIZE (moreutils_0.56.orig.tar.gz) = 46704
SHA256 (moreutils_0.57.orig.tar.gz) = 3a7d54b0634e5eda8c3c43490d47cea189156700892dea6d876867cef9bc0d1d
SIZE (moreutils_0.57.orig.tar.gz) = 46749

View File

@ -1,35 +0,0 @@
--- ifdata.c.orig 2015-06-03 16:04:42 UTC
+++ ifdata.c
@@ -1,4 +1,4 @@
-#include <error.h>
+#include <err.h>
#include <stdlib.h>
#include <sys/types.h>
#include <sys/socket.h>
@@ -19,7 +19,7 @@
#include <net/if.h>
#endif
-#if defined(__APPLE__)
+#if defined(__FreeBSD__)
#define s6_addr16 __u6_addr.__u6_addr16
#include <net/if.h>
#endif
@@ -130,7 +130,7 @@ static int do_socket_ioctl(const char *i
*ioctl_errno = errno;
if (print_error == PRINT_ERROR) {
if (errno == ENODEV)
- error(EXIT_FAILURE, 0,
+ err(EXIT_FAILURE,
"No such network interface: %s", ifname);
else
fprintf(stderr, "ioctl on %s: %s\n", ifname,
@@ -392,7 +392,7 @@ void please_do(int ndo, int *todo, const
for (i=0; i<ndo; i++) {
if (!exists &&
(todo[i] != DO_EXISTS) && (todo[i] != DO_PEXISTS))
- error(EXIT_FAILURE, 0, "No such network interface: %s",
+ err(EXIT_FAILURE, "No such network interface: %s",
ifname);
switch (todo[i]) {