summaryrefslogtreecommitdiff
path: root/media-gfx/videorbits/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
commit40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 (patch)
tree758c221bad35c9288d0bd6df9c7dfc226728e52c /media-gfx/videorbits/files
parent8d5dbd847cbc704a6a06405856e94b461011afe3 (diff)
gentoo resync : 28.04.2021
Diffstat (limited to 'media-gfx/videorbits/files')
-rw-r--r--media-gfx/videorbits/files/videorbits-2.201-libpng15.patch30
-rw-r--r--media-gfx/videorbits/files/videorbits-2.205-fix-buildsystem.patch19
-rw-r--r--media-gfx/videorbits/files/videorbits-2.205-qa-implicit-declarations.patch23
-rw-r--r--media-gfx/videorbits/files/videorbits-2.205-remove-bits-nan.patch35
4 files changed, 0 insertions, 107 deletions
diff --git a/media-gfx/videorbits/files/videorbits-2.201-libpng15.patch b/media-gfx/videorbits/files/videorbits-2.201-libpng15.patch
deleted file mode 100644
index f87132b0be44..000000000000
--- a/media-gfx/videorbits/files/videorbits-2.201-libpng15.patch
+++ /dev/null
@@ -1,30 +0,0 @@
---- videorbits-2.205/src/simple_png_read.c
-+++ videorbits-2.205/src/simple_png_read.c
-@@ -92,7 +92,7 @@
- return -1;
- }
-
-- if (setjmp(png_ptr->jmpbuf)) {
-+ if (setjmp(png_jmpbuf(png_ptr))) {
- fprintf(stderr, "simple_png_read: error (internal)\n");
- png_destroy_read_struct(&png_ptr, &info_ptr, &end_info);
- fclose(fp);
-@@ -226,7 +226,7 @@
- return -1;
- }
-
-- if (setjmp(png_ptr->jmpbuf)) {
-+ if (setjmp(png_jmpbuf(png_ptr))) {
- fprintf(stderr, "simple_png_read_header: error\n");
- png_destroy_read_struct(&png_ptr, &info_ptr, &end_info);
- fclose(fp);
---- videorbits-2.205/src/simple_png_write.c
-+++ videorbits-2.205/src/simple_png_write.c
-@@ -18,6 +18,7 @@
- #include <stdio.h>
- #include <stdlib.h>
- #include <png.h>
-+#include <zlib.h>
-
- int simple_png_write_rgba(
- char *filename,
diff --git a/media-gfx/videorbits/files/videorbits-2.205-fix-buildsystem.patch b/media-gfx/videorbits/files/videorbits-2.205-fix-buildsystem.patch
deleted file mode 100644
index 8d2359232bc2..000000000000
--- a/media-gfx/videorbits/files/videorbits-2.205-fix-buildsystem.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-Fix installation paths.
-
---- videorbits-2.205/images/Makefile.am
-+++ videorbits-2.205/images/Makefile.am
-@@ -1,4 +1,4 @@
--imagesdir = $(prefix)/images
--images_DATA= v04.pgm v06.pgm
-+images_dir = $(datadir)/videorbits/images
-+images__DATA= v04.pgm v06.pgm
-
-
---- videorbits-2.205/lookuptables/Makefile.am
-+++ videorbits-2.205/lookuptables/Makefile.am
-@@ -1,3 +1,3 @@
--lookuptablesdir = $(prefix)/lookuptables
--lookuptables_DATA=powLookup22.txt powLookup47.txt Kodak_DCS260_response_function
-+lookuptables_dir = $(datadir)/videorbits/lookuptables
-+lookuptables__DATA=powLookup22.txt powLookup47.txt Kodak_DCS260_response_function
-
diff --git a/media-gfx/videorbits/files/videorbits-2.205-qa-implicit-declarations.patch b/media-gfx/videorbits/files/videorbits-2.205-qa-implicit-declarations.patch
deleted file mode 100644
index 1e46ccf5651e..000000000000
--- a/media-gfx/videorbits/files/videorbits-2.205-qa-implicit-declarations.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-Fix implicit declarations caused by missing headers and
-failures caused by -Werror=format-security checks
-
---- videorbits-2.205/src/pchirp2nocrop.c
-+++ videorbits-2.205/src/pchirp2nocrop.c
-@@ -1,5 +1,6 @@
- #include <stdlib.h>
- #include <math.h>
-+#include <string.h>
- #include "PNMImageOffsetable.h"
- #include "mat_util.h"
- #include "boundingbox.h"
---- videorbits-2.205/src/par.c
-+++ videorbits-2.205/src/par.c
-@@ -111,7 +111,7 @@
-
- /* - - Write file-type number - - */
- sprintf(magic_number, "P%d\n", data_type);
-- fprintf(file_ptr, magic_number);
-+ fprintf(file_ptr, "%s", magic_number);
-
- /* - - put comments - - */ /* !!!!!! break up long comments */
- fprintf(file_ptr, "# %s\n", comments);
diff --git a/media-gfx/videorbits/files/videorbits-2.205-remove-bits-nan.patch b/media-gfx/videorbits/files/videorbits-2.205-remove-bits-nan.patch
deleted file mode 100644
index 822b8dd8167a..000000000000
--- a/media-gfx/videorbits/files/videorbits-2.205-remove-bits-nan.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-From 27db38e20d2f1c685c9a4aa01cfbde96b0555d80 Mon Sep 17 00:00:00 2001
-From: Harri Nieminen <moikkis@gmail.com>
-Date: Tue, 27 Mar 2018 19:45:19 +0300
-Subject: [PATCH] Don't include bits/nan.h
-
----
- src/cement.c | 1 -
- src/cementinit.c | 1 -
- 2 files changed, 2 deletions(-)
-
-diff --git a/src/cement.c b/src/cement.c
-index 3dfb6f9..23c424c 100644
---- a/src/cement.c
-+++ b/src/cement.c
-@@ -1,7 +1,6 @@
- #include <stdlib.h>
- #include <stdio.h>
- #include <math.h>
--#include <bits/nan.h>
- #include <limits.h>
- #include <string.h>
- #include <errno.h>
-diff --git a/src/cementinit.c b/src/cementinit.c
-index 95850d9..afa160e 100644
---- a/src/cementinit.c
-+++ b/src/cementinit.c
-@@ -1,5 +1,4 @@
- #include <math.h>
--#include <bits/nan.h>
- /* NB: supposedly nan.h is included from math.h when -std=c99 is on the
- * gcc compile line but that doesn't work so its included it directly.
- * Not having this line makes nan become unreliable, sometime it is
---
-2.16.3
-