[packages/celestia] fix syntax error in autoconf macro

atler atler at pld-linux.org
Wed Nov 26 13:47:59 CET 2025


commit 639bc3271270812abfad8355feafc0f37589d97f
Author: Jan Palus <atler at pld-linux.org>
Date:   Wed Nov 26 13:47:29 2025 +0100

    fix syntax error in autoconf macro

 ac.patch      | 18 ++++++++++++++++++
 celestia.spec |  2 ++
 2 files changed, 20 insertions(+)
---
diff --git a/celestia.spec b/celestia.spec
index 52ba173..62b0c71 100644
--- a/celestia.spec
+++ b/celestia.spec
@@ -20,6 +20,7 @@ Source0:	https://github.com/CelestiaProject/Celestia/archive/refs/tags/%{version
 # Source0-md5:	d4770ffe08cb8761a78bebabcb9067ef
 Patch0:		%{name}-desktop.patch
 Patch1:		%{name}-null.patch
+Patch2:		ac.patch
 URL:		https://celestia.space
 BuildRequires:	OpenGL-GLU-devel
 %{?with_glut:BuildRequires:	OpenGL-glut-devel >= 4.0}
@@ -94,6 +95,7 @@ Interfejs typu 'pokaż-i-leć' czyni nawigację przez Wszechświat prostą.
 %setup -q -n Celestia-%{version}
 %patch -P0 -p1
 %patch -P1 -p1
+%patch -P2 -p1
 
 %build
 %{__gettextize}
diff --git a/ac.patch b/ac.patch
new file mode 100644
index 0000000..82a40c8
--- /dev/null
+++ b/ac.patch
@@ -0,0 +1,18 @@
+--- Celestia-1.6.4/acinclude.m4.orig	2025-11-26 13:45:15.787891522 +0100
++++ Celestia-1.6.4/acinclude.m4	2025-11-26 13:45:35.222125042 +0100
+@@ -2630,7 +2630,6 @@
+ LIBS="$ac_save_LIBS"
+ CXXFLAGS="$ac_save_CXXFLAGS"
+ AC_LANG_RESTORE
+-fi
+ ])
+ 
+ if eval "test ! \"`echo $kde_cv_qt_jpeg`\" = no"; then
+@@ -2640,6 +2639,7 @@
+   AC_MSG_RESULT(no)
+   LIBJPEG_QT=
+ fi
++fi
+ 
+ ])
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/celestia.git/commitdiff/639bc3271270812abfad8355feafc0f37589d97f




More information about the pld-cvs-commit mailing list