diff --git a/community/dia/APKBUILD b/community/dia/APKBUILD deleted file mode 100644 index 2da8c76bd71ca32bffdaad357368122406bf918b..0000000000000000000000000000000000000000 --- a/community/dia/APKBUILD +++ /dev/null @@ -1,37 +0,0 @@ -# Maintainer: Natanael Copa <ncopa@alpinelinux.org> -pkgname=dia -pkgver=0.97.3 -pkgrel=1 -pkgdesc="a GTK+ based diagram creation program" -url="http://live.gnome.org/Dia" -arch="all" -license="GPL-2.0-or-later" -makedepends="gtk+2.0-dev libxml2-dev" -subpackages="$pkgname-doc $pkgname-lang" -source="https://download.gnome.org/sources/dia/${pkgver%.*}/dia-$pkgver.tar.xz - isinf.patch - dia-unregister-import.patch - CVE-2019-19451.patch - " - -# secfixes: -# 0.97.3-r1: -# - CVE-2019-19451 - -build() { - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var - make -} - -package() { - make DESTDIR="$pkgdir" install -} - -sha512sums="34298980be930b87cb4a636344e4cb2a7e43eedc00b0969a5e446cee9b74b616fdc8c798efcb9a5832b98741f2e20632a44037b2bcb436f59591d531ef441efa dia-0.97.3.tar.xz -cfa8fd8fecc7f0e3da185b512c169b156363a73c151547725f964e1cf7b1a305e44c493d0490c680c5f25859acee74fe4ef942ae9ee634b370bd9b9952186c5a isinf.patch -24267507ff08ac589ec1015e55637586a9fd97802893a77849d1e7bce67135fbd3d55611e2c80be1d5f87b92406c95cd5fe484175037297ebe1dbc8eb509a7d4 dia-unregister-import.patch -c78b78bd4ce7bfab9babfc887fb98571849246d1ca78e6c69a4413c7881d30358e1287bd9b0d9ba50cbcc540cf5f0e28333b31f467dbe5579ad5c97148b3b512 CVE-2019-19451.patch" diff --git a/community/dia/CVE-2019-19451.patch b/community/dia/CVE-2019-19451.patch deleted file mode 100644 index fdc8386fbaf7ce685ea79d91c66aa4257ee0905a..0000000000000000000000000000000000000000 --- a/community/dia/CVE-2019-19451.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff --git a/app/app_procs.c b/app/app_procs.c -index d0f2d3d..423fe2f 100644 ---- a/app/app_procs.c -+++ b/app/app_procs.c -@@ -801,6 +801,7 @@ app_init (int argc, char **argv) - - if (!filename) { - g_print (_("Filename conversion failed: %s\n"), filenames[i]); -+ ++i; - continue; - } - diff --git a/community/dia/dia-unregister-import.patch b/community/dia/dia-unregister-import.patch deleted file mode 100644 index 15feba0cac5439047679f5b442da8327a5149cdb..0000000000000000000000000000000000000000 --- a/community/dia/dia-unregister-import.patch +++ /dev/null @@ -1,37 +0,0 @@ -From a6e2409b85414b3d82dacd390ce9c9f007e254e8 Mon Sep 17 00:00:00 2001 -From: Jiri Popelka <jpopelka@redhat.com> -Date: Wed, 5 Sep 2012 11:12:59 +0200 -Subject: [PATCH] Unregister vdx, xfig import filters during plugin unloading. - ---- - plug-ins/vdx/vdx.c | 1 + - plug-ins/xfig/xfig.c | 1 + - 2 files changed, 2 insertions(+) - -diff --git a/plug-ins/vdx/vdx.c b/plug-ins/vdx/vdx.c -index 64bc4b0..82ddc4b 100644 ---- a/plug-ins/vdx/vdx.c -+++ b/plug-ins/vdx/vdx.c -@@ -43,6 +43,7 @@ static void - _plugin_unload (PluginInfo *info) - { - filter_unregister_export(&vdx_export_filter); -+ filter_unregister_import(&vdx_import_filter); - } - - -diff --git a/plug-ins/xfig/xfig.c b/plug-ins/xfig/xfig.c -index 966c294..10d68aa 100644 ---- a/plug-ins/xfig/xfig.c -+++ b/plug-ins/xfig/xfig.c -@@ -41,6 +41,7 @@ static void - _plugin_unload (PluginInfo *info) - { - filter_unregister_export(&xfig_export_filter); -+ filter_unregister_import(&xfig_import_filter); - } - - --- -1.7.11.4 - diff --git a/community/dia/isinf.patch b/community/dia/isinf.patch deleted file mode 100644 index 4cd4adbc864fe7fed6c0c35656bc477fd9bb5a5a..0000000000000000000000000000000000000000 --- a/community/dia/isinf.patch +++ /dev/null @@ -1,16 +0,0 @@ ---- ./configure.orig -+++ ./configure -@@ -17436,11 +17436,11 @@ - #ifdef __cplusplus - extern "C" - #endif --char isinf (); -+#include <math.h> - int - main () - { --return isinf (); -+return isinf (0.0); - ; - return 0; - }