[packages/hotdoc] no forward references in python; rel 3

atler atler at pld-linux.org
Thu Feb 17 11:18:30 CET 2022


commit a0995a38a59e9f69262fa050a814122354ae040d
Author: Jan Palus <atler at pld-linux.org>
Date:   Thu Feb 17 11:17:53 2022 +0100

    no forward references in python; rel 3

 clang_libdir.patch | 6 ++++--
 hotdoc.spec        | 2 +-
 2 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/hotdoc.spec b/hotdoc.spec
index d3cd6b5..c03c847 100644
--- a/hotdoc.spec
+++ b/hotdoc.spec
@@ -8,7 +8,7 @@ Summary:	A documentation tool micro-framework
 Summary(pl.UTF-8):	Mikroszkielet narzędzia do tworzenia dokumentacji
 Name:		hotdoc
 Version:	0.13.3
-Release:	2
+Release:	3
 License:	LGPL v2.1+
 Group:		Development/Tools
 #Source0Download: https://github.com/hotdoc/hotdoc/releases
diff --git a/clang_libdir.patch b/clang_libdir.patch
index 9c8598f..fdab96e 100644
--- a/clang_libdir.patch
+++ b/clang_libdir.patch
@@ -1,14 +1,16 @@
 --- hotdoc-0.13.3/hotdoc/extensions/c/c_extension.py.orig	2021-03-08 15:49:16.000000000 +0100
 +++ hotdoc-0.13.3/hotdoc/extensions/c/c_extension.py	2022-02-17 10:03:43.620343184 +0100
-@@ -78,10 +78,9 @@
+@@ -77,11 +77,11 @@
+ def get_clang_headers():
      version = subprocess.check_output(['llvm-config', '--version']).strip().decode()
      prefix = subprocess.check_output(['llvm-config', '--prefix']).strip().decode()
++    libdir = subprocess.check_output(['llvm-config', '--libdir']).strip().decode()
  
 -    for lib in ['lib', 'lib64']:
 -        p = os.path.join(prefix, lib, 'clang', version, 'include')
 -        if os.path.exists(p):
 -            return p
-+    p = os.path.join(get_clang_libdir(), 'clang', version, 'include')
++    p = os.path.join(libdir, 'clang', version, 'include')
 +    if os.path.exists(p):
 +        return p
  
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/hotdoc.git/commitdiff/a0995a38a59e9f69262fa050a814122354ae040d



More information about the pld-cvs-commit mailing list