diff options
author | Patrick J Volkerding <volkerdi@slackware.com> | 2019-02-17 23:44:53 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2019-02-18 08:59:47 +0100 |
commit | 66b0761fe7bfe43a58a4a7c3012ff3a46acf2e69 (patch) | |
tree | 78c6718616f92d2ec4d90386b24f911487e60bba /source/y/bsd-games/patches/bsd-games.factor.no.ubig.diff | |
parent | a576ec7a0e6c880029328d465402520ee1c20571 (diff) | |
download | current-66b0761fe7bfe43a58a4a7c3012ff3a46acf2e69.tar.gz |
Sun Feb 17 23:44:53 UTC 201920190217234453
ap/cups-filters-1.22.1-x86_64-1.txz: Upgraded.
y/bsd-games-2.17-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source/y/bsd-games/patches/bsd-games.factor.no.ubig.diff')
-rw-r--r-- | source/y/bsd-games/patches/bsd-games.factor.no.ubig.diff | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/source/y/bsd-games/patches/bsd-games.factor.no.ubig.diff b/source/y/bsd-games/patches/bsd-games.factor.no.ubig.diff new file mode 100644 index 00000000..21fbcf1b --- /dev/null +++ b/source/y/bsd-games/patches/bsd-games.factor.no.ubig.diff @@ -0,0 +1,22 @@ +--- ./factor/factor.c.orig 2004-02-08 07:20:03.000000000 -0600 ++++ ./factor/factor.c 2019-02-17 15:38:29.289767009 -0600 +@@ -96,8 +96,8 @@ + * We are able to sieve 2^32-1 because this byte table yields all primes + * up to 65537 and 65537^2 > 2^32-1. + */ +-extern const ubig prime[]; +-extern const ubig *pr_limit; /* largest prime in the prime array */ ++extern const uint64_t prime[]; ++extern const uint64_t *const pr_limit; /* largest prime in the prime array */ + + #define PRIME_CHECKS 5 + +@@ -202,7 +202,7 @@ + void + pr_fact(BIGNUM *val) + { +- const ubig *fact; /* The factor found. */ ++ const uint64_t *fact; /* The factor found. */ + + /* Firewall - catch 0 and 1. */ + if (BN_is_zero(val)) /* Historical practice; 0 just exits. */ |