# HG changeset patch # User Tomas Heran # Date 1418147263 -3600 # Node ID 18f175f98e0e6b54d9723b9f6598af198a609729 # Parent 7c002825fea18a6b5e8509fe1d2b11b4f3f86adb 20147164 Lint library for Jansson needed diff -r 7c002825fea1 -r 18f175f98e0e components/jansson/Makefile --- a/components/jansson/Makefile Mon Dec 08 23:01:33 2014 -0800 +++ b/components/jansson/Makefile Tue Dec 09 18:47:43 2014 +0100 @@ -37,6 +37,9 @@ include ../../make-rules/prep.mk include ../../make-rules/configure.mk include ../../make-rules/ips.mk +include ../../make-rules/lint-libraries.mk + +LINT_FLAGS += -I$(PROTOUSRINCDIR) CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)" CONFIGURE_OPTIONS += --includedir=$(USRINCDIR)/jansson diff -r 7c002825fea1 -r 18f175f98e0e components/jansson/jansson.p5m --- a/components/jansson/jansson.p5m Mon Dec 08 23:01:33 2014 -0800 +++ b/components/jansson/jansson.p5m Tue Dec 09 18:47:43 2014 +0100 @@ -41,10 +41,13 @@ link path=usr/lib/$(MACH64)/libjansson.so target=libjansson.so.4.7.0 link path=usr/lib/$(MACH64)/libjansson.so.4 target=libjansson.so.4.7.0 file path=usr/lib/$(MACH64)/libjansson.so.4.7.0 +file path=usr/lib/$(MACH64)/llib-ljansson.ln file path=usr/lib/$(MACH64)/pkgconfig/jansson.pc link path=usr/lib/libjansson.so target=libjansson.so.4.7.0 link path=usr/lib/libjansson.so.4 target=libjansson.so.4.7.0 file path=usr/lib/libjansson.so.4.7.0 +file path=usr/lib/llib-ljansson +file path=usr/lib/llib-ljansson.ln file path=usr/lib/pkgconfig/jansson.pc file path=usr/share/doc/jansson-$(COMPONENT_VERSION)/html/_downloads/github_commits.c file path=usr/share/doc/jansson-$(COMPONENT_VERSION)/html/_downloads/github_commits.c diff -r 7c002825fea1 -r 18f175f98e0e components/jansson/llib-ljansson --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/components/jansson/llib-ljansson Tue Dec 09 18:47:43 2014 +0100 @@ -0,0 +1,39 @@ +/* + * CDDL HEADER START + * + * The contents of this file are subject to the terms of the + * Common Development and Distribution License (the "License"). + * You may not use this file except in compliance with the License. + * + * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE + * or http://www.opensolaris.org/os/licensing. + * See the License for the specific language governing permissions + * and limitations under the License. + * + * When distributing Covered Code, include this CDDL HEADER in each + * file and include the License file at usr/src/OPENSOLARIS.LICENSE. + * If applicable, add the following below this CDDL HEADER, with the + * fields enclosed by brackets "[]" replaced with your own identifying + * information: Portions Copyright [yyyy] [name of copyright owner] + * + * CDDL HEADER END + */ + +/* + * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. + */ + +/* LINTLIBRARY */ +/* PROTOLIB1 */ + +/* + * This little dance is necessary to avoid ftello/fseeko + * complaints vs libc. We don't use them but we do #include + * stdio.h and as we are large file aware they get defined + * differently than libc. + */ +#include +#undef _LARGEFILE_SOURCE + +#include +#include