diff options
author | B. Watson <urchlay@slackware.uk> | 2023-07-09 16:24:34 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-07-15 17:30:11 +0700 |
commit | 969cc941a5e944b4c907fb4ad0949579be434898 (patch) | |
tree | d23768d197bef7cd8d914e5e56ac7741ee92c696 /misc/ssss/patches | |
parent | cf6205c607f718fe70b8a5a137c9daad09a6ef30 (diff) |
misc/ssss: New maintainer, fixes.
Signed-off-by: B. Watson <urchlay@slackware.uk>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'misc/ssss/patches')
-rw-r--r-- | misc/ssss/patches/0003-Fix-use-of-memset.patch | 21 | ||||
-rw-r--r-- | misc/ssss/patches/0004-Remove-the-direct-PayPal-link.patch | 22 | ||||
-rw-r--r-- | misc/ssss/patches/series | 2 |
3 files changed, 45 insertions, 0 deletions
diff --git a/misc/ssss/patches/0003-Fix-use-of-memset.patch b/misc/ssss/patches/0003-Fix-use-of-memset.patch new file mode 100644 index 0000000000000..8323cf2292c99 --- /dev/null +++ b/misc/ssss/patches/0003-Fix-use-of-memset.patch @@ -0,0 +1,21 @@ +From: Tomasz Buchert <tomasz@debian.org> +Date: Wed, 2 Sep 2015 19:44:42 +0200 +Subject: Fix use of memset + +--- + ssss.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/ssss.c b/ssss.c +index 717b98b..d2415b4 100644 +--- a/ssss.c ++++ b/ssss.c +@@ -171,7 +171,7 @@ void field_print(FILE* stream, const mpz_t x, int hexmode) + size_t t; + unsigned int i; + int printable, warn = 0; +- memset(buf, degree / 8 + 1, 0); ++ memset(buf, 0, degree / 8 + 1); + mpz_export(buf, &t, 1, 1, 0, 0, x); + for(i = 0; i < t; i++) { + printable = (buf[i] >= 32) && (buf[i] < 127); diff --git a/misc/ssss/patches/0004-Remove-the-direct-PayPal-link.patch b/misc/ssss/patches/0004-Remove-the-direct-PayPal-link.patch new file mode 100644 index 0000000000000..c208e18a71265 --- /dev/null +++ b/misc/ssss/patches/0004-Remove-the-direct-PayPal-link.patch @@ -0,0 +1,22 @@ +From: Tomasz Buchert <tomasz@debian.org> +Date: Wed, 2 Sep 2015 20:29:18 +0200 +Subject: Remove the direct PayPal link + +--- + doc.html | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +diff --git a/doc.html b/doc.html +index 4c79856..d2d3102 100644 +--- a/doc.html ++++ b/doc.html +@@ -162,8 +162,7 @@ + <input name="no_note" value="1" type="hidden"> + <input name="currency_code" value="EUR" type="hidden"> + <p> +-If you like this software, think about donating some money via +- <input src="https://www.paypal.com/en_US/i/btn/x-click-but7.gif" name="submit" alt="PayPal" type="image">. ++If you like this software, think about donating some money (<a href="http://point-at-infinity.org/ssss/">information</a>). + </p> + </form> + <hr> diff --git a/misc/ssss/patches/series b/misc/ssss/patches/series new file mode 100644 index 0000000000000..60d8346abb967 --- /dev/null +++ b/misc/ssss/patches/series @@ -0,0 +1,2 @@ +0003-Fix-use-of-memset.patch +0004-Remove-the-direct-PayPal-link.patch |