diff options
author | Alon Bar-Lev <alonbl@gentoo.org> | 2008-01-10 12:14:54 +0000 |
---|---|---|
committer | Alon Bar-Lev <alonbl@gentoo.org> | 2008-01-10 12:14:54 +0000 |
commit | 72e03bc8f05abc70ec52d6a2fb60981a6909d822 (patch) | |
tree | 6f0b77d42f848065325fc713970438821314c76e /app-crypt | |
parent | Marked ppc and ppc64 (diff) | |
download | gentoo-2-72e03bc8f05abc70ec52d6a2fb60981a6909d822.tar.gz gentoo-2-72e03bc8f05abc70ec52d6a2fb60981a6909d822.tar.bz2 gentoo-2-72e03bc8f05abc70ec52d6a2fb60981a6909d822.zip |
Cleanup
(Portage version: 2.1.4_rc14)
Diffstat (limited to 'app-crypt')
-rw-r--r-- | app-crypt/chntpw/ChangeLog | 6 | ||||
-rw-r--r-- | app-crypt/chntpw/files/chntpw-0.99.3.20040818-gcc4.diff | 40 |
2 files changed, 5 insertions, 41 deletions
diff --git a/app-crypt/chntpw/ChangeLog b/app-crypt/chntpw/ChangeLog index 9374047d8075..8634b8a6e4f3 100644 --- a/app-crypt/chntpw/ChangeLog +++ b/app-crypt/chntpw/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-crypt/chntpw # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-crypt/chntpw/ChangeLog,v 1.12 2008/01/10 12:11:33 alonbl Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-crypt/chntpw/ChangeLog,v 1.13 2008/01/10 12:14:54 alonbl Exp $ + + 10 Jan 2008; Alon Bar-Lev <alonbl@gentoo.org> + -files/chntpw-0.99.3.20040818-gcc4.diff: + Cleanup 10 Jan 2008; Alon Bar-Lev <alonbl@gentoo.org> -chntpw-0.99.3.20040818.ebuild, -chntpw-0.99.4.20070409.ebuild, diff --git a/app-crypt/chntpw/files/chntpw-0.99.3.20040818-gcc4.diff b/app-crypt/chntpw/files/chntpw-0.99.3.20040818-gcc4.diff deleted file mode 100644 index 21ecc2bf87e9..000000000000 --- a/app-crypt/chntpw/files/chntpw-0.99.3.20040818-gcc4.diff +++ /dev/null @@ -1,40 +0,0 @@ ---- chntpw/chntpw.c 2004-08-18 17:42:01.000000000 -0300 -+++ chntpw.new/chntpw.c 2005-04-09 18:58:34.000000000 -0300 -@@ -511,7 +511,7 @@ - printf("** LANMAN password IS however set. Will now install new password as NT pass instead.\n"); - printf("** NOTE: Continue at own risk!\n"); - ntpw_offs = lmpw_offs; -- (unsigned int)*(vp+0xa8) = ntpw_offs - 0xcc; -+ *((unsigned int*)vp+0xa8) = ntpw_offs - 0xcc; - ntpw_len = 16; - lmpw_len = 0; - } -@@ -621,14 +621,14 @@ - ntpw_len = 16; - lmpw_len = 16; - ntpw_offs -= 4; -- (unsigned int)*(vp+0xa8) = ntpw_offs - 0xcc; -+ *((unsigned int*)vp+0xa8) = ntpw_offs - 0xcc; - *(vp + 0xa0) = 16; - *(vp + 0xac) = 16; - } - - for (i = 0; i < 16; i++) { -- (unsigned char)*(vp+ntpw_offs+i) = despw[i]; -- if (lmpw_len >= 16) (unsigned char)*(vp+lmpw_offs+i) = newlandes[i]; -+ *(vp+ntpw_offs+i) = (char)despw[i]; -+ if (lmpw_len >= 16) *(vp+lmpw_offs+i) = (char)newlandes[i]; - } - } else { - printf("Unable to set since it is blank.\n"); ---- chntpw/ntreg.c 2004-08-18 17:42:02.000000000 -0300 -+++ chntpw.new/ntreg.c 2005-04-09 19:07:50.000000000 -0300 -@@ -2514,7 +2514,7 @@ - ALLOC(kr,1,sizeof(int)+sizeof(int)); - - kr->len = sizeof(int); -- (int)kr->data = dword; -+ kr->data = dword; - - r = put_buf2val(hdesc, kr, vofs, path, REG_DWORD); - |