Package Details: smatch-git 1.60.r997.g6f737e1f-1

Git Clone URL: https://aur.archlinux.org/smatch-git.git (read-only)
Package Base: smatch-git
Description: A static analysis tool for C.
Upstream URL: http://smatch.sourceforge.net/
Licenses: custom: OSL
Conflicts: smatch
Provides: smatch
Submitter: aksr
Maintainer: aksr
Last Packager: aksr
Votes: 5
Popularity: 0.000302
First Submitted: 2014-01-29 08:14
Last Updated: 2017-11-11 11:26

Required by (0)

Sources (2)

Latest Comments

anatolik commented on 2016-01-13 22:28

You still need to run 'mksrcinfo' to create correct AUR version.

I can take care of this project if you are ok.

aksr commented on 2015-07-07 13:50

You're right, thanks antolik. Updated.

anatolik commented on 2015-07-01 23:34

Git repo contains tag '1.60'. pkgver() should use "git describe --tag".

anatolik commented on 2014-10-01 20:58

And this is the patch currently needed to build the project with LLVM:

diff --git a/Makefile b/Makefile
index 28c4df6..25087d7 100644
--- a/Makefile
+++ b/Makefile
@@ -112,11 +112,12 @@ LLVM_PROGS := sparse-llvm
$(LLVM_PROGS): LD := g++
LLVM_LDFLAGS := $(shell llvm-config --ldflags)
LLVM_CFLAGS := $(shell llvm-config --cflags | sed -e "s/-DNDEBUG//g")
+LLVM_SYSTEM_LIBS := $(shell llvm-config --system-libs)
LLVM_LIBS := $(shell llvm-config --libs)
PROGRAMS += $(LLVM_PROGS)
INST_PROGRAMS += sparse-llvm sparsec
sparse-llvm.o: BASIC_CFLAGS += $(LLVM_CFLAGS)
-sparse-llvm_EXTRA_OBJS := $(LLVM_LIBS) $(LLVM_LDFLAGS)
+sparse-llvm_EXTRA_OBJS := $(LLVM_SYSTEM_LIBS) $(LLVM_LIBS) $(LLVM_LDFLAGS)
endif
endif

anatolik commented on 2014-10-01 18:10

I believe 'llvm' need to be added to makedepeds (binaries are statically linked with libLLVM).