]> git.pld-linux.org Git - packages/sparse.git/commitdiff
- updated to 0.5.2 auto/th/sparse-0.5.2-1
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 26 Nov 2018 19:48:13 +0000 (20:48 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Mon, 26 Nov 2018 19:48:13 +0000 (20:48 +0100)
- added llvm patch (fix llvm detection on i686)

sparse-llvm.patch [new file with mode: 0644]
sparse.spec

diff --git a/sparse-llvm.patch b/sparse-llvm.patch
new file mode 100644 (file)
index 0000000..f3341df
--- /dev/null
@@ -0,0 +1,11 @@
+--- sparse-0.5.2/Makefile.orig 2018-04-13 17:15:41.000000000 +0200
++++ sparse-0.5.2/Makefile      2018-11-26 20:14:30.999238925 +0100
+@@ -90,7 +90,7 @@
+ endif
+ ifeq ($(HAVE_LLVM),yes)
+-ifeq ($(shell uname -m | grep -q '\(i386\|x86\)' && echo ok),ok)
++ifeq ($(shell uname -m | grep -q '\(i[3456]86\|x86\)' && echo ok),ok)
+ LLVM_VERSION:=$(shell $(LLVM_CONFIG) --version)
+ ifeq ($(shell expr "$(LLVM_VERSION)" : '[3-9]\.'),2)
+ LLVM_PROGS := sparse-llvm
index 14e7d8edd1e6dfbf27091dc7125b885157a10fb7..02b90208e539d56a05d928843471388b02223498 100644 (file)
@@ -1,14 +1,15 @@
 Summary:       Sparse - a semantic parser of source files
 Summary(pl.UTF-8):     Sparse - analizator semantyczny plików źródłowych
 Name:          sparse
-Version:       0.5.0
+Version:       0.5.2
 Release:       1
 License:       OSL v1.1
 Group:         Development/Debuggers
-Source0:       https://kernel.org/pub/software/devel/sparse/dist/%{name}-%{version}.tar.xz
-# Source0-md5: 68bc834c57836251fbee55a7707bab39
-URL:           https://kernel.org/pub/software/devel/sparse/
-BuildRequires: gtk+2-devel >= 2.0
+Source0:       https://www.kernel.org/pub/software/devel/sparse/dist/%{name}-%{version}.tar.xz
+# Source0-md5: 1eeec1b3cd53caedfad6175df4fa87a6
+Patch0:                %{name}-llvm.patch
+URL:           https://www.kernel.org/pub/software/devel/sparse/
+BuildRequires: gtk+3-devel >= 3.0
 BuildRequires: libxml2-devel >= 2.0
 BuildRequires: llvm-devel >= 3.0
 BuildRequires: pkgconfig
@@ -45,6 +46,7 @@ czym są _typy_ obejmowane przez grupowanie.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %{__make} \
This page took 0.155534 seconds and 4 git commands to generate.