openbsd-ports/databases/gq/patches/patch-src_dt_password_c
ajacoutot ad77f30d1f - tweak .desktop file so that we have an icon to show in the GNOME menu
- precise license marker
- add sysutils to CATEGORIES
- regen patches and PLIST while here

ok mbalmer@
2008-10-12 17:36:03 +00:00

21 lines
657 B
Plaintext

$OpenBSD: patch-src_dt_password_c,v 1.2 2008/10/12 17:36:03 ajacoutot Exp $
--- src/dt_password.c.orig Mon Nov 3 22:07:57 2003
+++ src/dt_password.c Sun Oct 12 17:01:58 2008
@@ -268,14 +268,14 @@ static GByteArray *dt_password_encode_password_nthash(
MD4_CTX MD4context;
#if defined(HAVE_ICONV)
- ICONV_CONST char *in;
+ const char *in;
char *out;
size_t inlen, outlen;
iconv_t conv;
conv = iconv_open("UNICODE", gq_codeset);
if (conv != (iconv_t) -1) {
- in = (ICONV_CONST char *) data;
+ in = (const char *) data;
inlen = len;
outlen = len * 2 + 4;
g_byte_array_set_size(unicode, outlen);