summaryrefslogtreecommitdiff
path: root/www/aria/files/patch-src__md5.c
diff options
context:
space:
mode:
Diffstat (limited to 'www/aria/files/patch-src__md5.c')
-rw-r--r--www/aria/files/patch-src__md5.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/www/aria/files/patch-src__md5.c b/www/aria/files/patch-src__md5.c
new file mode 100644
index 000000000000..2d2c158736f8
--- /dev/null
+++ b/www/aria/files/patch-src__md5.c
@@ -0,0 +1,13 @@
+--- src/md5.c.orig 2001-05-19 20:38:59.000000000 +0200
++++ src/md5.c 2003-08-07 01:34:12.000000000 +0200
+@@ -291,8 +291,8 @@
+
+ p = hd->buf;
+ #ifdef BIG_ENDIAN_HOST
+- #define X(a) do { *p++ = hd->##a ; *p++ = hd->##a >> 8; \
+- *p++ = hd->##a >> 16; *p++ = hd->##a >> 24; } while(0)
++ #define X(a) do { *p++ = hd->a ; *p++ = hd->a >> 8; \
++ *p++ = hd->a >> 16; *p++ = hd->a >> 24; } while(0)
+ #else /* little endian */
+ /*#define X(a) do { *(u32*)p = hd->##a ; p += 4; } while(0)*/
+ /* Unixware's cpp doesn't like the above construct so we do it his way: