wok-6.x diff liblrdf/stuff/md5.patch @ rev 13505

Up: iptables (1.14.16.2)
author Christophe Lincoln <pankso@slitaz.org>
date Sat Oct 13 22:09:46 2012 +0200 (2012-10-13)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/liblrdf/stuff/md5.patch	Sat Oct 13 22:09:46 2012 +0200
     1.3 @@ -0,0 +1,18 @@
     1.4 +--- liblrdf-0.4.0.orig/src/lrdf_md5.h
     1.5 ++++ liblrdf-0.4.0/src/lrdf_md5.h
     1.6 +@@ -32,6 +32,15 @@
     1.7 + #ifndef __MD5_H__
     1.8 + #define __MD5_H__
     1.9 +
    1.10 ++/* Change function names to prevent symbol conflicts */
    1.11 ++#define md5_init _lrdf_md5_init
    1.12 ++#define md5_buffer _lrdf_md5_buffer
    1.13 ++#define md5_sig_from_string _lrdf_md5_sig_from_string
    1.14 ++#define md5_finish _lrdf_md5_finish
    1.15 ++#define md5_process _lrdf_md5_process
    1.16 ++#define md5_sig_to_string _lrdf_md5_sig_to_string
    1.17 ++#define md5_get_result _lrdf_md5_get_result
    1.18 ++
    1.19 + /*
    1.20 +  * Size of a standard MD5 signature in bytes.  This definition is for
    1.21 +  * external programs only.  The MD5 routines themselves reference the