diff --git a/srcpkgs/aloadimage/patches/0001-vendored-svgimage-fix.patch b/srcpkgs/aloadimage/patches/0001-vendored-svgimage-fix.patch deleted file mode 100644 index 2cde878a54c..00000000000 --- a/srcpkgs/aloadimage/patches/0001-vendored-svgimage-fix.patch +++ /dev/null @@ -1,37 +0,0 @@ -diff --git a/src/tools/aloadimage/nanosvg.h b/src/tools/aloadimage/nanosvg.h -index f5058b17..716adea5 100644 ---- a/src/tools/aloadimage/nanosvg.h -+++ b/src/tools/aloadimage/nanosvg.h -@@ -163,7 +163,7 @@ typedef struct NSVGimage - } NSVGimage; - - // Parses SVG file from a file, returns SVG image as paths. --NSVGimage* nsvgParseFromFile(const char* filename, const char* units, float dpi); -+NSVGimage* nsvgParseFromFile(FILE* fp, const char* units, float dpi); - - // Parses SVG file from a null terminated string, returns SVG image as paths. - // Important note: changes the string. -@@ -200,7 +200,6 @@ void nsvgDelete(NSVGimage* image); - #define NSVG_ALIGN_SLICE 2 - - #define NSVG_NOTUSED(v) do { (void)(1 ? (void)0 : ( (void)(v) ) ); } while(0) --#define NSVG_RGB(r, g, b) (((unsigned int)r) | ((unsigned int)g << 8) | ((unsigned int)b << 16)) - - #ifdef _MSC_VER - #pragma warning (disable: 4996) // Switch off security warnings -@@ -2930,14 +2929,12 @@ NSVGimage* nsvgParse(char* input, const char* units, float dpi) - return ret; - } - --NSVGimage* nsvgParseFromFile(const char* filename, const char* units, float dpi) -+NSVGimage* nsvgParseFromFile(FILE* fp, const char* units, float dpi) - { -- FILE* fp = NULL; - size_t size; - char* data = NULL; - NSVGimage* image = NULL; - -- fp = fopen(filename, "rb"); - if (!fp) goto error; - fseek(fp, 0, SEEK_END); - size = ftell(fp); diff --git a/srcpkgs/aloadimage/template b/srcpkgs/aloadimage/template index 7e1dcbd9719..f163762b2da 100644 --- a/srcpkgs/aloadimage/template +++ b/srcpkgs/aloadimage/template @@ -1,7 +1,7 @@ # Template file for 'aloadimage' # !! keep synced with arcan pkgname=aloadimage -version=0.6.1 +version=0.6.1.1 revision=1 wrksrc="arcan-${version}" build_wrksrc=src/tools/aloadimage @@ -13,7 +13,7 @@ maintainer="Piraty " license="BSD-3-Clause" homepage="https://arcan-fe.com/" distfiles="https://github.com/letoram/arcan/archive/${version}.tar.gz" -checksum=ca8a9b82000eef60970901641be1130b19c51a1cc2a17278e2365ca3e3a13551 +checksum=3c36bbc53a276c03776134407b662beb1181e43c5f8d0aabe7c6fae6652cc29e post_install() { vlicense ../../../COPYING