Gentoo Archives: gentoo-commits

From: Aaron Bauman <bman@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-freebsd/freebsd-usbin/files/
Date: Sun, 27 May 2018 16:11:24
Message-Id: 1527437399.5b6bc9bca6ecec6d9b28bbd804c52e683c449cc6.bman@gentoo
1 commit: 5b6bc9bca6ecec6d9b28bbd804c52e683c449cc6
2 Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
3 AuthorDate: Sun May 27 12:03:30 2018 +0000
4 Commit: Aaron Bauman <bman <AT> gentoo <DOT> org>
5 CommitDate: Sun May 27 16:09:59 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b6bc9bc
7
8 sys-freebsd/freebsd-usbin: remove unused patches
9
10 Closes: https://github.com/gentoo/gentoo/pull/8611
11
12 .../files/freebsd-usbin-9.1-bsdxml2expat.patch | 12 ---------
13 .../files/freebsd-usbin-9.1-kldxref.patch | 30 ----------------------
14 2 files changed, 42 deletions(-)
15
16 diff --git a/sys-freebsd/freebsd-usbin/files/freebsd-usbin-9.1-bsdxml2expat.patch b/sys-freebsd/freebsd-usbin/files/freebsd-usbin-9.1-bsdxml2expat.patch
17 deleted file mode 100644
18 index bddc0c77f21..00000000000
19 --- a/sys-freebsd/freebsd-usbin/files/freebsd-usbin-9.1-bsdxml2expat.patch
20 +++ /dev/null
21 @@ -1,12 +0,0 @@
22 -diff -Nur work.orig/usr.sbin/ctladm/ctladm.c work/usr.sbin/ctladm/ctladm.c
23 ---- work.orig/usr.sbin/ctladm/ctladm.c 2012-07-12 13:25:58.000000000 +0900
24 -+++ work/usr.sbin/ctladm/ctladm.c 2012-07-16 05:37:14.000000000 +0900
25 -@@ -60,7 +60,7 @@
26 - #include <errno.h>
27 - #include <err.h>
28 - #include <ctype.h>
29 --#include <bsdxml.h>
30 -+#include <expat.h>
31 - #include <cam/scsi/scsi_all.h>
32 - #include <cam/scsi/scsi_message.h>
33 - #include <cam/ctl/ctl.h>
34
35 diff --git a/sys-freebsd/freebsd-usbin/files/freebsd-usbin-9.1-kldxref.patch b/sys-freebsd/freebsd-usbin/files/freebsd-usbin-9.1-kldxref.patch
36 deleted file mode 100644
37 index 95bd665ded6..00000000000
38 --- a/sys-freebsd/freebsd-usbin/files/freebsd-usbin-9.1-kldxref.patch
39 +++ /dev/null
40 @@ -1,30 +0,0 @@
41 -Index: usr.sbin/kldxref/kldxref.c
42 -===================================================================
43 ---- usr.sbin/kldxref/kldxref.c (revision 265111)
44 -+++ usr.sbin/kldxref/kldxref.c (working copy)
45 -@@ -274,6 +274,16 @@ usage(void)
46 - exit(1);
47 - }
48 -
49 -+static int
50 -+compare(const FTSENT *const *a, const FTSENT *const *b)
51 -+{
52 -+ if ((*a)->fts_info == FTS_D && (*b)->fts_info != FTS_D)
53 -+ return 1;
54 -+ if ((*a)->fts_info != FTS_D && (*b)->fts_info == FTS_D)
55 -+ return -1;
56 -+ return strcmp((*a)->fts_name, (*b)->fts_name);
57 -+}
58 -+
59 - int
60 - main(int argc, char *argv[])
61 - {
62 -@@ -315,7 +325,7 @@ main(int argc, char *argv[])
63 - err(1, "%s", argv[0]);
64 - }
65 -
66 -- ftsp = fts_open(argv, fts_options, 0);
67 -+ ftsp = fts_open(argv, fts_options, compare);
68 - if (ftsp == NULL)
69 - exit(1);
70 -