1 |
commit: 72e46251ccb5cc11fc27c25d5dd534c5c025c3d4 |
2 |
Author: Jory Pratt <anarchy <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Dec 23 14:53:11 2021 +0000 |
4 |
Commit: Jory Pratt <anarchy <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Dec 23 14:53:33 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72e46251 |
7 |
|
8 |
app-crypt/chntpw: fix missing include stdint.h |
9 |
|
10 |
Package-Manager: Portage-3.0.28, Repoman-3.0.3 |
11 |
Signed-off-by: Jory Pratt <anarchy <AT> gentoo.org> |
12 |
|
13 |
app-crypt/chntpw/chntpw-140201.ebuild | 10 ++++++--- |
14 |
.../files/chntpw-140201-missing-stdint.patch | 26 ++++++++++++++++++++++ |
15 |
app-crypt/chntpw/metadata.xml | 8 +++---- |
16 |
3 files changed, 37 insertions(+), 7 deletions(-) |
17 |
|
18 |
diff --git a/app-crypt/chntpw/chntpw-140201.ebuild b/app-crypt/chntpw/chntpw-140201.ebuild |
19 |
index 9e452d567995..1daf1b00e051 100644 |
20 |
--- a/app-crypt/chntpw/chntpw-140201.ebuild |
21 |
+++ b/app-crypt/chntpw/chntpw-140201.ebuild |
22 |
@@ -6,12 +6,12 @@ EAPI=7 |
23 |
inherit toolchain-funcs |
24 |
|
25 |
DESCRIPTION="Offline Windows NT Password & Registry Editor" |
26 |
-HOMEPAGE="https://pogostick.net/~pnh/ntpasswd/" |
27 |
-SRC_URI="https://pogostick.net/~pnh/ntpasswd/${PN}-source-${PV}.zip" |
28 |
+HOMEPAGE="http://pogostick.net/~pnh/ntpasswd/" |
29 |
+SRC_URI="http://pogostick.net/~pnh/ntpasswd/${PN}-source-${PV}.zip" |
30 |
|
31 |
LICENSE="GPL-2 LGPL-2.1" |
32 |
SLOT="0" |
33 |
-KEYWORDS="amd64 ppc x86" |
34 |
+KEYWORDS="~amd64 ~ppc ~x86" |
35 |
IUSE="static" |
36 |
|
37 |
RDEPEND="dev-libs/openssl:0=" |
38 |
@@ -26,6 +26,10 @@ DOCS=( |
39 |
regedit.txt |
40 |
) |
41 |
|
42 |
+PATCHES=( |
43 |
+ "${FILESDIR}"/${P}-missing-stdint.patch |
44 |
+) |
45 |
+ |
46 |
src_prepare() { |
47 |
default |
48 |
sed -i -e '/-o/s:$(CC):$(CC) $(LDFLAGS):' Makefile || die |
49 |
|
50 |
diff --git a/app-crypt/chntpw/files/chntpw-140201-missing-stdint.patch b/app-crypt/chntpw/files/chntpw-140201-missing-stdint.patch |
51 |
new file mode 100644 |
52 |
index 000000000000..de33ebff0659 |
53 |
--- /dev/null |
54 |
+++ b/app-crypt/chntpw/files/chntpw-140201-missing-stdint.patch |
55 |
@@ -0,0 +1,26 @@ |
56 |
+From c72bedece14b5797b1826e779c7fcb3e3024f820 Mon Sep 17 00:00:00 2001 |
57 |
+From: Jory Pratt <anarchy@g.o> |
58 |
+Date: Thu, 11 Jul 2019 14:19:30 -0500 |
59 |
+Subject: [PATCH] include missing stdint header |
60 |
+ |
61 |
+Signed-off-by: Jory Pratt <anarchy@g.o> |
62 |
+Upstream-Status: Submitted |
63 |
+--- |
64 |
+ ntreg.h | 1 + |
65 |
+ 1 file changed, 1 insertion(+) |
66 |
+ |
67 |
+diff --git a/ntreg.h b/ntreg.h |
68 |
+index 4b46106..d6fc7cf 100644 |
69 |
+--- a/ntreg.h |
70 |
++++ b/ntreg.h |
71 |
+@@ -24,6 +24,7 @@ |
72 |
+ |
73 |
+ #ifndef _INCLUDE_NTREG_H |
74 |
+ #define _INCLUDE_NTREG_H 1 |
75 |
++#include <stdint.h> |
76 |
+ |
77 |
+ #define SZ_MAX 4096 /* Max unicode strlen before we truncate */ |
78 |
+ |
79 |
+-- |
80 |
+2.22.0 |
81 |
+ |
82 |
|
83 |
diff --git a/app-crypt/chntpw/metadata.xml b/app-crypt/chntpw/metadata.xml |
84 |
index beac02a9af14..040cba5f7c5b 100644 |
85 |
--- a/app-crypt/chntpw/metadata.xml |
86 |
+++ b/app-crypt/chntpw/metadata.xml |
87 |
@@ -1,8 +1,8 @@ |
88 |
<?xml version="1.0" encoding="UTF-8"?> |
89 |
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> |
90 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
91 |
<pkgmetadata> |
92 |
- <maintainer type="person"> |
93 |
- <email>marecki@g.o</email> |
94 |
- <name>Marek Szuba</name> |
95 |
+ <maintainer type="project"> |
96 |
+ <email>crypto@g.o</email> |
97 |
+ <name>Crypto</name> |
98 |
</maintainer> |
99 |
</pkgmetadata> |