summaryrefslogtreecommitdiff
path: root/graphics/aalib/files/patch-ag
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-28 21:54:33 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-28 21:54:33 +0000
commit60b37dbedcfe6e22fe9a61ee8432ae7bd2780483 (patch)
tree42c5d548da07f10a85c92da3191700e6f34e6829 /graphics/aalib/files/patch-ag
parentsecurity/arirang: Mark broken with Ruby 2.0 or newer (diff)
Rename german/ and graphics/ patch-xy patches to reflect the files they modify.
Notes
Notes: svn path=/head/; revision=363261
Diffstat (limited to 'graphics/aalib/files/patch-ag')
-rw-r--r--graphics/aalib/files/patch-ag37
1 files changed, 0 insertions, 37 deletions
diff --git a/graphics/aalib/files/patch-ag b/graphics/aalib/files/patch-ag
deleted file mode 100644
index f2ed1336f6b0..000000000000
--- a/graphics/aalib/files/patch-ag
+++ /dev/null
@@ -1,37 +0,0 @@
---- src/aafire.c.orig Fri Apr 27 00:30:03 2001
-+++ src/aafire.c Sat Mar 2 22:51:46 2002
-@@ -48,6 +48,7 @@
- initialize (void)
- {
- int i;
-+ srandomdev();
- context = aa_autoinit (&aa_defparams);
- if (context == NULL)
- {
-@@ -114,20 +115,20 @@
- height++;
- loop--;
- if (loop < 0)
-- loop = rand () % 3, sloop++;;
-+ loop = random () % 3, sloop++;;
- i1 = 1;
- i2 = 4 * XSIZ + 1;
- for (p = (char *) bitmap + XSIZ * (YSIZ + 0);
- p < ((unsigned char *) bitmap + XSIZ * (YSIZ + 1));
- p++, i1 += 4, i2 -= 4)
- {
-- last1 = rand () % min (i1, min (i2, height));
-- i = rand () % 6;
-+ last1 = random () % min (i1, min (i2, height));
-+ i = random () % 6;
- for (; p < (unsigned char *) bitmap + XSIZ * (YSIZ + 1) && i != 0;
- p++, i--, i1 += 4, i2 -= 4)
-- *p = last1, last1 += rand () % 6 - 2, *(p + XSIZ) = last1, last1 +=
-- rand () % 6 - 2;
-- *(p + 2 * XSIZ) = last1, last1 += rand () % 6 - 2;
-+ *p = last1, last1 += random () % 6 - 2, *(p + XSIZ) = last1, last1 +=
-+ random () % 6 - 2;
-+ *(p + 2 * XSIZ) = last1, last1 += random () % 6 - 2;
- }
- i = 0;
- firemain ();