Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ansilove for openSUSE:Factory checked in at 2021-03-06 21:19:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ansilove (Old) and /work/SRC/openSUSE:Factory/.ansilove.new.2378 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ansilove" Sat Mar 6 21:19:33 2021 rev:9 rq:877383 version:4.1.5 Changes: -------- --- /work/SRC/openSUSE:Factory/ansilove/ansilove.changes 2020-10-23 12:24:03.284771657 +0200 +++ /work/SRC/openSUSE:Factory/.ansilove.new.2378/ansilove.changes 2021-03-06 21:19:33.649288169 +0100 @@ -1,0 +2,6 @@ +Sat Mar 6 12:10:57 UTC 2021 - Martin Hauke <[email protected]> + +- Update to version 4.1.5 + * Bugfix release + +------------------------------------------------------------------- Old: ---- ansilove-4.1.4.tar.gz New: ---- ansilove-4.1.5.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ansilove.spec ++++++ --- /var/tmp/diff_new_pack.ph3UQV/_old 2021-03-06 21:19:34.045288498 +0100 +++ /var/tmp/diff_new_pack.ph3UQV/_new 2021-03-06 21:19:34.049288501 +0100 @@ -1,8 +1,8 @@ # # spec file for package ansilove # -# Copyright (c) 2020 SUSE LLC -# Copyright (c) 2019-2020, Martin Hauke <[email protected]> +# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2019-2021, Martin Hauke <[email protected]> # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ Name: ansilove -Version: 4.1.4 +Version: 4.1.5 Release: 0 Summary: ANSI and ASCII art to PNG converter License: BSD-2-Clause ++++++ ansilove-4.1.4.tar.gz -> ansilove-4.1.5.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ansilove-4.1.4/.travis.yml new/ansilove-4.1.5/.travis.yml --- old/ansilove-4.1.4/.travis.yml 2020-10-22 21:31:29.000000000 +0200 +++ new/ansilove-4.1.5/.travis.yml 2021-02-14 22:45:31.000000000 +0100 @@ -1,6 +1,7 @@ arch: - amd64 - arm64 + - ppc64le matrix: include: @@ -8,6 +9,8 @@ arch: amd64 - os: linux arch: arm64 + - os: linux + arch: ppc64le language: c @@ -35,7 +38,7 @@ coverity_scan: project: name: "ansilove/ansilove" - version: 4.1.4 + version: 4.1.5 description: "ANSi / ASCII art to PNG converter in C" notification_email: [email protected] build_command_prepend: cmake . diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ansilove-4.1.4/CMakeLists.txt new/ansilove-4.1.5/CMakeLists.txt --- old/ansilove-4.1.4/CMakeLists.txt 2020-10-22 21:31:29.000000000 +0200 +++ new/ansilove-4.1.5/CMakeLists.txt 2021-02-14 22:45:31.000000000 +0100 @@ -34,7 +34,6 @@ find_library(ANSILOVE_LIBRARIES NAMES ansilove REQUIRED) include_directories(${ANSILOVE_INCLUDE_DIRS}) -set(CMAKE_BUILD_TYPE Release) set(SRC src/ansilove.c src/types.c src/strtolower.c src/sauce.c) if(NOT HAVE_PLEDGE) @@ -45,7 +44,7 @@ set (SRC ${SRC} compat/strtonum.c) endif() -add_definitions(-D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -Wall -Wextra -std=c99 -pedantic) +add_definitions(-D_GNU_SOURCE -Wall -Wextra -std=c99 -pedantic) add_executable(ansilove ${SRC}) target_link_libraries(ansilove ${ANSILOVE_LIBRARIES} m) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ansilove-4.1.4/ChangeLog new/ansilove-4.1.5/ChangeLog --- old/ansilove-4.1.4/ChangeLog 2020-10-22 21:31:29.000000000 +0200 +++ new/ansilove-4.1.5/ChangeLog 2021-02-14 22:45:31.000000000 +0100 @@ -1,3 +1,11 @@ +AnsiLove/C 4.1.5 (2021-02-14) + +- Stop forcing FORTIFY_SOURCE=2, it should be package builders decision +- Remove dead increments for argc and argv +- Check strdup() return value when allocating output file name + + + AnsiLove/C 4.1.4 (2020-10-22) - Set CMAKE_BUILD_TYPE to "Release" in CMakeLists.txt diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ansilove-4.1.4/FILE_ID.DIZ new/ansilove-4.1.5/FILE_ID.DIZ --- old/ansilove-4.1.4/FILE_ID.DIZ 2020-10-22 21:31:29.000000000 +0200 +++ new/ansilove-4.1.5/FILE_ID.DIZ 2021-02-14 22:45:31.000000000 +0100 @@ -17,7 +17,7 @@ - -----------//______|----------------- - : : | | - | Ansilove/C 4.1.4 | + | Ansilove/C 4.1.5 | | | | ANSi=>PNG converter & library | | | diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ansilove-4.1.4/LICENSE new/ansilove-4.1.5/LICENSE --- old/ansilove-4.1.4/LICENSE 2020-10-22 21:31:29.000000000 +0200 +++ new/ansilove-4.1.5/LICENSE 2021-02-14 22:45:31.000000000 +0100 @@ -1,4 +1,4 @@ -Copyright (c) 2011-2020, Stefan Vogt, Brian Cassidy, and Frederic Cambus +Copyright (c) 2011-2021, Stefan Vogt, Brian Cassidy, and Frederic Cambus All rights reserved. Redistribution and use in source and binary forms, with or without diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ansilove-4.1.4/README.md new/ansilove-4.1.5/README.md --- old/ansilove-4.1.4/README.md 2020-10-22 21:31:29.000000000 +0200 +++ new/ansilove-4.1.5/README.md 2021-02-14 22:45:31.000000000 +0100 @@ -61,7 +61,7 @@ - OpenBSD: `pkg_add -r cmake` - NetBSD: `pkgin install cmake` - FreeBSD: `pkg install cmake` -- Mac OS X: `brew install cmake` +- macOS: `brew install cmake` - Alpine Linux: `apk add cmake gcc make musl-dev` - Debian / Ubuntu / Mint: `apt-get install build-essential cmake` - Fedora: `dnf install cmake gcc make` diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ansilove-4.1.4/src/ansilove.c new/ansilove-4.1.5/src/ansilove.c --- old/ansilove-4.1.4/src/ansilove.c 2020-10-22 21:31:29.000000000 +0200 +++ new/ansilove-4.1.5/src/ansilove.c 2021-02-14 22:45:31.000000000 +0100 @@ -1,9 +1,9 @@ /* * ansilove.c - * Ansilove 4.1.4 + * Ansilove 4.1.5 * https://www.ansilove.org * - * Copyright (c) 2011-2020 Stefan Vogt, Brian Cassidy, and Frederic Cambus + * Copyright (c) 2011-2021 Stefan Vogt, Brian Cassidy, and Frederic Cambus * All rights reserved. * * Ansilove is licensed under the BSD 2-Clause License. @@ -51,7 +51,7 @@ version(void) { fprintf(stdout, "AnsiLove/C %s - ANSI / ASCII art to PNG converter\n" - "Copyright (c) 2011-2020 Stefan Vogt, Brian Cassidy, and " + "Copyright (c) 2011-2021 Stefan Vogt, Brian Cassidy, and " "Frederic Cambus.\n", VERSION); } @@ -65,7 +65,7 @@ bool fileHasSAUCE = false; bool useSAUCEInfo = false; - int getoptFlag; + int opt; char *input = NULL, *output = NULL; char *fileName = NULL; @@ -98,8 +98,8 @@ if (ansilove_init(&ctx, &options) == -1) errx(EXIT_FAILURE, "%s", ansilove_error(&ctx)); - while ((getoptFlag = getopt(argc, argv, "b:c:df:him:o:qrR:sSt:v")) != -1) { - switch (getoptFlag) { + while ((opt = getopt(argc, argv, "b:c:df:him:o:qrR:sSt:v")) != -1) { + switch (opt) { case 'b': options.bits = strtonum(optarg, 8, 9, &errstr); @@ -173,15 +173,12 @@ return EXIT_SUCCESS; } - argc -= optind; - argv += optind; - /* if -q flag was not set, default to stdout */ if (!messages) messages = stdout; - /* Starting timer */ - clock_gettime(CLOCK_MONOTONIC, &begin); + /* Starting timer */ + clock_gettime(CLOCK_MONOTONIC, &begin); /* let's check the file for a valid SAUCE record */ struct sauce *record = sauceReadFileName(input); @@ -223,85 +220,84 @@ /* XBIN (dataType == 6) could also use tinfo1 for width, but we trust the XBIN header more */ /* font info */ if ((record->dataType == 1 && (record->fileType == 0 || record->fileType == 1 || record->fileType == 2)) || record->dataType == 5 ) { - if (strcmp(record->tinfos, "IBM VGA") == 0) { + if (strcmp(record->tinfos, "IBM VGA") == 0) font = "80x25"; - } - if (strcmp(record->tinfos, "IBM VGA50") == 0) { + + if (strcmp(record->tinfos, "IBM VGA50") == 0) font = "80x50"; - } - if (strcmp(record->tinfos, "IBM VGA 437") == 0) { + + if (strcmp(record->tinfos, "IBM VGA 437") == 0) font = "80x25"; - } - if (strcmp(record->tinfos, "IBM VGA50 437") == 0) { + + if (strcmp(record->tinfos, "IBM VGA50 437") == 0) font = "80x50"; - } - if (strcmp(record->tinfos, "IBM VGA 775") == 0) { + + if (strcmp(record->tinfos, "IBM VGA 775") == 0) font = "baltic"; - } - if (strcmp(record->tinfos, "IBM VGA50 855") == 0) { + + if (strcmp(record->tinfos, "IBM VGA50 855") == 0) font = "cyrillic"; - } - if (strcmp(record->tinfos, "IBM VGA 863") == 0) { + + if (strcmp(record->tinfos, "IBM VGA 863") == 0) font = "french-canadian"; - } - if (strcmp(record->tinfos, "IBM VGA 737") == 0) { + + if (strcmp(record->tinfos, "IBM VGA 737") == 0) font = "greek"; - } - if (strcmp(record->tinfos, "IBM VGA 869") == 0) { + + if (strcmp(record->tinfos, "IBM VGA 869") == 0) font = "greek-869"; - } - if (strcmp(record->tinfos, "IBM VGA 862") == 0) { + + if (strcmp(record->tinfos, "IBM VGA 862") == 0) font = "hebrew"; - } - if (strcmp(record->tinfos, "IBM VGA 861") == 0) { + + if (strcmp(record->tinfos, "IBM VGA 861") == 0) font = "icelandic"; - } - if (strcmp(record->tinfos, "IBM VGA 850") == 0) { + + if (strcmp(record->tinfos, "IBM VGA 850") == 0) font = "latin1"; - } - if (strcmp(record->tinfos, "IBM VGA 852") == 0) { + + if (strcmp(record->tinfos, "IBM VGA 852") == 0) font = "latin2"; - } - if (strcmp(record->tinfos, "IBM VGA 865") == 0) { + + if (strcmp(record->tinfos, "IBM VGA 865") == 0) font = "nordic"; - } - if (strcmp(record->tinfos, "IBM VGA 860") == 0) { + + if (strcmp(record->tinfos, "IBM VGA 860") == 0) font = "portuguese"; - } - if (strcmp(record->tinfos, "IBM VGA 866") == 0) { + + if (strcmp(record->tinfos, "IBM VGA 866") == 0) font = "russian"; - } - if (strcmp(record->tinfos, "IBM VGA 857") == 0) { + + if (strcmp(record->tinfos, "IBM VGA 857") == 0) font = "turkish"; - } - if (strcmp(record->tinfos, "Amiga MicroKnight") == 0) { + + if (strcmp(record->tinfos, "Amiga MicroKnight") == 0) font = "microknight"; - } - if (strcmp(record->tinfos, "Amiga MicroKnight+") == 0) { + + if (strcmp(record->tinfos, "Amiga MicroKnight+") == 0) font = "microknight+"; - } - if (strcmp(record->tinfos, "Amiga mOsOul") == 0) { + + if (strcmp(record->tinfos, "Amiga mOsOul") == 0) font = "mosoul"; - } - if (strcmp(record->tinfos, "Amiga P0T-NOoDLE") == 0) { + + if (strcmp(record->tinfos, "Amiga P0T-NOoDLE") == 0) font = "pot-noodle"; - } - if (strcmp(record->tinfos, "Amiga Topaz 1") == 0) { + + if (strcmp(record->tinfos, "Amiga Topaz 1") == 0) font = " topaz500"; - } - if (strcmp(record->tinfos, "Amiga Topaz 1+") == 0) { + + if (strcmp(record->tinfos, "Amiga Topaz 1+") == 0) font = "topaz500+"; - } - if (strcmp(record->tinfos, "Amiga Topaz 2") == 0) { + + if (strcmp(record->tinfos, "Amiga Topaz 2") == 0) font = "topaz"; - } - if (strcmp(record->tinfos, "Amiga Topaz 2+") == 0) { + + if (strcmp(record->tinfos, "Amiga Topaz 2+") == 0) font = "topaz+"; - } } - if (usedSAUCE) { + + if (usedSAUCE) fprintf(messages, "SAUCE info used for rendering hints\n\n"); - } } if (font) { @@ -320,6 +316,9 @@ errx(EXIT_FAILURE, "Memory allocation error."); } else { fileName = strdup(output); + + if (!fileName) + errx(EXIT_FAILURE, "Memory allocation error."); } /* display name of input and output files */ @@ -418,7 +417,15 @@ fprintf(messages, "Filetype: %d\n", record->fileType); if (record->flags) - fprintf(messages, "Flags: 0b%d%d%d%d%d%d%d%d\n", record->flags >> 7, record->flags >> 6 & 1, record->flags >> 5 & 1, record->flags >> 4 & 1, record->flags >> 3 & 1, record->flags >> 2 & 1, record->flags >> 1 & 1, record->flags & 1); + fprintf(messages, "Flags: 0b%d%d%d%d%d%d%d%d\n", + record->flags >> 7, + record->flags >> 6 & 1, + record->flags >> 5 & 1, + record->flags >> 4 & 1, + record->flags >> 3 & 1, + record->flags >> 2 & 1, + record->flags >> 1 & 1, + record->flags & 1); if (record->tinfo1) fprintf(messages, "Tinfo1: %d\n", record->tinfo1); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ansilove-4.1.4/src/config.h new/ansilove-4.1.5/src/config.h --- old/ansilove-4.1.4/src/config.h 2020-10-22 21:31:29.000000000 +0200 +++ new/ansilove-4.1.5/src/config.h 2021-02-14 22:45:31.000000000 +0100 @@ -1,9 +1,9 @@ /* * config.h - * Ansilove 4.1.4 + * Ansilove 4.1.5 * https://www.ansilove.org * - * Copyright (c) 2011-2020 Stefan Vogt, Brian Cassidy, and Frederic Cambus + * Copyright (c) 2011-2021 Stefan Vogt, Brian Cassidy, and Frederic Cambus * All rights reserved. * * Ansilove is licensed under the BSD 2-Clause License. @@ -16,7 +16,7 @@ #include <stdint.h> /* configuration defines */ -#define VERSION "4.1.4" +#define VERSION "4.1.5" enum { FONTS = 38, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ansilove-4.1.4/src/fonts.h new/ansilove-4.1.5/src/fonts.h --- old/ansilove-4.1.4/src/fonts.h 2020-10-22 21:31:29.000000000 +0200 +++ new/ansilove-4.1.5/src/fonts.h 2021-02-14 22:45:31.000000000 +0100 @@ -1,9 +1,9 @@ /* * fonts.h - * Ansilove 4.1.4 + * Ansilove 4.1.5 * https://www.ansilove.org * - * Copyright (c) 2011-2020 Stefan Vogt, Brian Cassidy, and Frederic Cambus + * Copyright (c) 2011-2021 Stefan Vogt, Brian Cassidy, and Frederic Cambus * All rights reserved. * * Ansilove is licensed under the BSD 2-Clause License. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ansilove-4.1.4/src/sauce.c new/ansilove-4.1.5/src/sauce.c --- old/ansilove-4.1.4/src/sauce.c 2020-10-22 21:31:29.000000000 +0200 +++ new/ansilove-4.1.5/src/sauce.c 2021-02-14 22:45:31.000000000 +0100 @@ -1,9 +1,9 @@ /* * sauce.c - * Ansilove 4.1.4 + * Ansilove 4.1.5 * https://www.ansilove.org * - * Copyright (c) 2011-2020 Stefan Vogt, Brian Cassidy, and Frederic Cambus + * Copyright (c) 2011-2021 Stefan Vogt, Brian Cassidy, and Frederic Cambus * All rights reserved. * * Ansilove is licensed under the BSD 2-Clause License. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ansilove-4.1.4/src/sauce.h new/ansilove-4.1.5/src/sauce.h --- old/ansilove-4.1.4/src/sauce.h 2020-10-22 21:31:29.000000000 +0200 +++ new/ansilove-4.1.5/src/sauce.h 2021-02-14 22:45:31.000000000 +0100 @@ -1,9 +1,9 @@ /* * sauce.h - * Ansilove 4.1.4 + * Ansilove 4.1.5 * https://www.ansilove.org * - * Copyright (c) 2011-2020 Stefan Vogt, Brian Cassidy, and Frederic Cambus + * Copyright (c) 2011-2021 Stefan Vogt, Brian Cassidy, and Frederic Cambus * All rights reserved. * * Ansilove is licensed under the BSD 2-Clause License. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ansilove-4.1.4/src/seccomp.h new/ansilove-4.1.5/src/seccomp.h --- old/ansilove-4.1.4/src/seccomp.h 2020-10-22 21:31:29.000000000 +0200 +++ new/ansilove-4.1.5/src/seccomp.h 2021-02-14 22:45:31.000000000 +0100 @@ -1,6 +1,6 @@ /* * seccomp.h - * Ansilove 4.1.4 + * Ansilove 4.1.5 * https://www.ansilove.org * * Copyright (c) 2019-2020, Frederic Cambus diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ansilove-4.1.4/src/strtolower.c new/ansilove-4.1.5/src/strtolower.c --- old/ansilove-4.1.4/src/strtolower.c 2020-10-22 21:31:29.000000000 +0200 +++ new/ansilove-4.1.5/src/strtolower.c 2021-02-14 22:45:31.000000000 +0100 @@ -1,9 +1,9 @@ /* * strtolower.c - * Ansilove 4.1.4 + * Ansilove 4.1.5 * https://www.ansilove.org * - * Copyright (c) 2011-2020 Stefan Vogt, Brian Cassidy, and Frederic Cambus + * Copyright (c) 2011-2021 Stefan Vogt, Brian Cassidy, and Frederic Cambus * All rights reserved. * * Ansilove is licensed under the BSD 2-Clause License. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ansilove-4.1.4/src/strtolower.h new/ansilove-4.1.5/src/strtolower.h --- old/ansilove-4.1.4/src/strtolower.h 2020-10-22 21:31:29.000000000 +0200 +++ new/ansilove-4.1.5/src/strtolower.h 2021-02-14 22:45:31.000000000 +0100 @@ -1,9 +1,9 @@ /* * strtolower.h - * Ansilove 4.1.4 + * Ansilove 4.1.5 * https://www.ansilove.org * - * Copyright (c) 2011-2020 Stefan Vogt, Brian Cassidy, and Frederic Cambus + * Copyright (c) 2011-2021 Stefan Vogt, Brian Cassidy, and Frederic Cambus * All rights reserved. * * Ansilove is licensed under the BSD 2-Clause License. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ansilove-4.1.4/src/types.c new/ansilove-4.1.5/src/types.c --- old/ansilove-4.1.4/src/types.c 2020-10-22 21:31:29.000000000 +0200 +++ new/ansilove-4.1.5/src/types.c 2021-02-14 22:45:31.000000000 +0100 @@ -1,9 +1,9 @@ /* * types.c - * Ansilove 4.1.4 + * Ansilove 4.1.5 * https://www.ansilove.org * - * Copyright (c) 2011-2020 Stefan Vogt, Brian Cassidy, and Frederic Cambus + * Copyright (c) 2011-2021 Stefan Vogt, Brian Cassidy, and Frederic Cambus * All rights reserved. * * Ansilove is licensed under the BSD 2-Clause License. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ansilove-4.1.4/src/types.h new/ansilove-4.1.5/src/types.h --- old/ansilove-4.1.4/src/types.h 2020-10-22 21:31:29.000000000 +0200 +++ new/ansilove-4.1.5/src/types.h 2021-02-14 22:45:31.000000000 +0100 @@ -1,9 +1,9 @@ /* * types.h - * Ansilove 4.1.4 + * Ansilove 4.1.5 * https://www.ansilove.org * - * Copyright (c) 2011-2020 Stefan Vogt, Brian Cassidy, and Frederic Cambus + * Copyright (c) 2011-2021 Stefan Vogt, Brian Cassidy, and Frederic Cambus * All rights reserved. * * Ansilove is licensed under the BSD 2-Clause License.
