summaryrefslogtreecommitdiff
path: root/www/aria/files/patch-src__md5.c
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-29 17:12:47 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-29 17:12:47 +0000
commit08a006d08a4c35d2c3ecc9a3d10cf7fd14661a84 (patch)
tree0cfc4f0736babb895eb97a65c6defe632a0249c7 /www/aria/files/patch-src__md5.c
parenteditors/fte: update to 20110708 (diff)
Rename all patches that contain '::' as a path separator, and use
'__' instead.
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: