mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
libraries/wxsvg: Updated for version 1.5.24.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
dd43b528a0
commit
1d649c1465
3 changed files with 39 additions and 6 deletions
31
libraries/wxsvg/gcc13.patch
Normal file
31
libraries/wxsvg/gcc13.patch
Normal file
|
@ -0,0 +1,31 @@
|
|||
From https://gcc.gnu.org/gcc-13/porting_to.html
|
||||
|
||||
Some C++ Standard Library headers have been changed to no longer
|
||||
include other headers that were being used internally by the library.
|
||||
As such, C++ programs that used standard library components without
|
||||
including the right headers will no longer compile.
|
||||
|
||||
The following headers are used less widely in libstdc++ and may need
|
||||
to be included explicitly when compiling with GCC 13:
|
||||
|
||||
<string> (for std::string, std::to_string, std::stoi etc.)
|
||||
<system_error> (for std::error_code, std::error_category, std::system_error).
|
||||
<cstdint> (for std::int8_t, std::int32_t etc.)
|
||||
<cstdio> (for std::printf, std::fopen etc.)
|
||||
<cstdlib> (for std::strtol, std::malloc etc.)
|
||||
|
||||
-
|
||||
|
||||
Matteo Bernardini <ponce@slackbuilds.org>
|
||||
|
||||
diff -Naur wxsvg-1.5.24.orig/src/cairo/SVGCanvasCairo.cpp wxsvg-1.5.24/src/cairo/SVGCanvasCairo.cpp
|
||||
--- wxsvg-1.5.24.orig/src/cairo/SVGCanvasCairo.cpp 2022-08-31 16:56:26.000000000 +0200
|
||||
+++ wxsvg-1.5.24/src/cairo/SVGCanvasCairo.cpp 2023-04-27 22:23:05.069420000 +0200
|
||||
@@ -14,6 +14,7 @@
|
||||
#include "SVGCanvasImageCairo.h"
|
||||
#include <wx/log.h>
|
||||
#include <wx/file.h>
|
||||
+#include <cstdint>
|
||||
|
||||
wxSVGCanvasCairo::~wxSVGCanvasCairo() {
|
||||
Destroy();
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
# Slackware build script for wxsvg
|
||||
|
||||
# Copyright 2013-2019 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
|
||||
# Copyright 2013-2022 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
|
@ -25,7 +25,7 @@
|
|||
cd $(dirname $0) ; CWD=$(pwd)
|
||||
|
||||
PRGNAM=wxsvg
|
||||
VERSION=${VERSION:-1.5.20}
|
||||
VERSION=${VERSION:-1.5.24}
|
||||
BUILD=${BUILD:-2}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
@ -79,6 +79,8 @@ find -L . \
|
|||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
|
||||
patch -p1 < $CWD/gcc13.patch
|
||||
|
||||
sh autogen.sh || true
|
||||
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
PRGNAM="wxsvg"
|
||||
VERSION="1.5.20"
|
||||
VERSION="1.5.24"
|
||||
HOMEPAGE="https://sourceforge.net/projects/wxsvg/"
|
||||
DOWNLOAD="https://downloads.sf.net/wxsvg/wxsvg-1.5.20.tar.bz2"
|
||||
MD5SUM="a56b8c6b29599e1d7404120093072ce0"
|
||||
DOWNLOAD="https://downloads.sf.net/wxsvg/wxsvg-1.5.24.tar.bz2"
|
||||
MD5SUM="4f6780ef38bed0f7a7b6bb8d6499f405"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="wxGTK3"
|
||||
REQUIRES="wxWidgets"
|
||||
MAINTAINER="Matteo Bernardini"
|
||||
EMAIL="ponce@slackbuilds.org"
|
||||
|
|
Loading…
Reference in a new issue