diff --git a/add-loongarch64-support-for-graphviz.patch b/add-loongarch64-support-for-graphviz.patch new file mode 100644 index 0000000000000000000000000000000000000000..b3b03c61b531892dc54b2dd798192d301b6006be --- /dev/null +++ b/add-loongarch64-support-for-graphviz.patch @@ -0,0 +1,25 @@ +From 90af7e6223083a1a7519ce8eb329a972f6f610db Mon Sep 17 00:00:00 2001 +From: Wenlong Zhang +Date: Thu, 2 Nov 2023 09:12:32 +0000 +Subject: [PATCH] add loongarch64 support for graphviz + +--- + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index 55f10eb..bbfea21 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -92,7 +92,7 @@ if test -z "$LIBPOSTFIX"; then + case "${host_os}" in + *linux* ) + case "${host_cpu}" in +- aarch64 | powerpc64 | powerpc64le | s390x | x86_64 | sparc64 | mips64* | riscv64 | e2k ) ++ aarch64 | powerpc64 | powerpc64le | s390x | x86_64 | sparc64 | mips64* | riscv64 | e2k | loongarch64 ) + LIBPOSTFIX="64" + INTGOSIZE=64 + ;; +-- +2.40.1 + diff --git a/graphviz.spec b/graphviz.spec index 617b034040cfccdafb09c8db09a3eb014b30823e..fd6cd0d97c6fed6aeebf4835b4cc6f1b8e71854f 100644 --- a/graphviz.spec +++ b/graphviz.spec @@ -1,4 +1,4 @@ -%define anolis_release 1 +%define anolis_release 2 %undefine _package_note_flags # temporal drop of PHP support due to https://gitlab.com/graphviz/graphviz/-/issues/2277 %bcond_with php @@ -144,6 +144,7 @@ BuildRequires: golang Requires: urw-base35-fonts Requires: xorg-x11-fonts-ISO8859-1-100dpi Patch0: graphviz-4.0.0-gvpack-neato-static.patch +Patch1: add-loongarch64-support-for-graphviz.patch %if ! %{JAVA} Obsoletes: graphviz-java < %{version}-%{release} @@ -655,6 +656,9 @@ php --no-php-ini \ %endif %changelog +* Tue Oct 31 2023 Wenlong Zhang - 8.0.5-2 +- add loongarch64 support for graphviz + * Wed May 03 2023 Funda Wang - 8.0.5-1 - New version 8.0.5