[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/stp/files/, sci-mathematics/stp/

2023-02-19 Thread Maciej Barć
commit: 337f35c9db81b2c00da792a1596d8d4aec2d0509
Author: Maciej Barć  gentoo  org>
AuthorDate: Mon Feb 20 00:20:17 2023 +
Commit: Maciej Barć  gentoo  org>
CommitDate: Mon Feb 20 00:53:39 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=337f35c9

sci-mathematics/stp: rename patches

Signed-off-by: Maciej Barć  gentoo.org>

 ...txt-fix_cflags.patch => stp-2.3.3-CMakeLists.txt-fix_cflags.patch} | 0
 ...-stp.py-library_path.patch => stp-2.3.3-stp.py-library_path.patch} | 0
 sci-mathematics/stp/stp-2.3.3-r2.ebuild   | 4 ++--
 3 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-mathematics/stp/files/stp-CMakeLists.txt-fix_cflags.patch 
b/sci-mathematics/stp/files/stp-2.3.3-CMakeLists.txt-fix_cflags.patch
similarity index 100%
rename from sci-mathematics/stp/files/stp-CMakeLists.txt-fix_cflags.patch
rename to sci-mathematics/stp/files/stp-2.3.3-CMakeLists.txt-fix_cflags.patch

diff --git a/sci-mathematics/stp/files/stp-stp.py-library_path.patch 
b/sci-mathematics/stp/files/stp-2.3.3-stp.py-library_path.patch
similarity index 100%
rename from sci-mathematics/stp/files/stp-stp.py-library_path.patch
rename to sci-mathematics/stp/files/stp-2.3.3-stp.py-library_path.patch

diff --git a/sci-mathematics/stp/stp-2.3.3-r2.ebuild 
b/sci-mathematics/stp/stp-2.3.3-r2.ebuild
index 8c6578dface1..f9142adbe6df 100644
--- a/sci-mathematics/stp/stp-2.3.3-r2.ebuild
+++ b/sci-mathematics/stp/stp-2.3.3-r2.ebuild
@@ -41,8 +41,8 @@ DEPEND="${RDEPEND}"
 BDEPEND="test? ( dev-python/lit )"
 
 PATCHES=(
-   "${FILESDIR}"/stp-CMakeLists.txt-fix_cflags.patch
-   "${FILESDIR}"/stp-stp.py-library_path.patch
+   "${FILESDIR}"/${P}-CMakeLists.txt-fix_cflags.patch
+   "${FILESDIR}"/${P}-stp.py-library_path.patch
 )
 
 pkg_setup() {



[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/stp/files/, sci-mathematics/stp/

2023-02-19 Thread Maciej Barć
commit: c7aee643a9472d7ea97c8e1266ed8102e3298535
Author: Maciej Barć  gentoo  org>
AuthorDate: Mon Feb 20 00:32:10 2023 +
Commit: Maciej Barć  gentoo  org>
CommitDate: Mon Feb 20 00:53:39 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7aee643

sci-mathematics/stp: patch - include cstdint

Closes: https://bugs.gentoo.org/895096
Signed-off-by: Maciej Barć  gentoo.org>

 sci-mathematics/stp/files/stp-2.3.3-cstdint.patch | 11 +++
 sci-mathematics/stp/stp-2.3.3-r2.ebuild   |  3 +++
 2 files changed, 14 insertions(+)

diff --git a/sci-mathematics/stp/files/stp-2.3.3-cstdint.patch 
b/sci-mathematics/stp/files/stp-2.3.3-cstdint.patch
new file mode 100644
index ..4c010848ee36
--- /dev/null
+++ b/sci-mathematics/stp/files/stp-2.3.3-cstdint.patch
@@ -0,0 +1,11 @@
+--- a/./include/stp/AST/ASTNode.h
 b/./include/stp/AST/ASTNode.h
+@@ -24,6 +24,8 @@ THE SOFTWARE.
+ #ifndef ASTNODE_H
+ #define ASTNODE_H
+ 
++#include 
++
+ #include "stp/AST/NodeFactory/HashingNodeFactory.h"
+ #include "stp/Util/Attributes.h"
+ #include "ASTInternal.h"

diff --git a/sci-mathematics/stp/stp-2.3.3-r2.ebuild 
b/sci-mathematics/stp/stp-2.3.3-r2.ebuild
index f9142adbe6df..000e5bef36f9 100644
--- a/sci-mathematics/stp/stp-2.3.3-r2.ebuild
+++ b/sci-mathematics/stp/stp-2.3.3-r2.ebuild
@@ -42,9 +42,12 @@ BDEPEND="test? ( dev-python/lit )"
 
 PATCHES=(
"${FILESDIR}"/${P}-CMakeLists.txt-fix_cflags.patch
+   "${FILESDIR}"/${P}-cstdint.patch
"${FILESDIR}"/${P}-stp.py-library_path.patch
 )
 
+#include 
+
 pkg_setup() {
use python && python-single-r1_pkg_setup
 }