graphics/libjxr: Update license information [1]

While here, fix portlint warning

PR:		222459 [1]
Submitted by:	Yasuhiro KIMURA <yasu@utahime.org> [1]
Approved by:	Mikhail T. <mi@ALDAN.algebra.com> (maintainer) [1]
This commit is contained in:
Steve Wills 2017-10-20 15:17:08 +00:00
parent f5a875991a
commit 873a227eff
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=452534
4 changed files with 20 additions and 15 deletions

View file

@ -10,7 +10,7 @@ DISTFILES= jxrlib_${PORTVERSION}.orig.tar.gz \
MAINTAINER= mi@aldan.algebra.com MAINTAINER= mi@aldan.algebra.com
COMMENT= Library for JPEG XR, a.k.a. Windows MediaTM Photo COMMENT= Library for JPEG XR, a.k.a. Windows MediaTM Photo
LICENSE= BSD LICENSE= BSD2CLAUSE
BROKEN_aarch64= fails to link: cc: linker command failed with exit code 1 (use -v to see invocation) BROKEN_aarch64= fails to link: cc: linker command failed with exit code 1 (use -v to see invocation)
BROKEN_mips= fails to compile: cc1: unrecognized command line option "-Wno-extra-tokens" BROKEN_mips= fails to compile: cc1: unrecognized command line option "-Wno-extra-tokens"

View file

@ -3,9 +3,9 @@ Author: Mathieu Malaterre <malat@debian.org>
Origin: upstream, https://jxrlib.codeplex.com/SourceControl/changeset/04cf339385b8196f98025b43a366a0790deac994 Origin: upstream, https://jxrlib.codeplex.com/SourceControl/changeset/04cf339385b8196f98025b43a366a0790deac994
Bug-Debian: http://bugs.debian.org/748590 Bug-Debian: http://bugs.debian.org/748590
--- image/decode/JXRTranscode.c --- image/decode/JXRTranscode.c.orig 2017-10-20 15:09:28 UTC
+++ image/decode/JXRTranscode.c +++ image/decode/JXRTranscode.c
@@ -47,7 +47,7 @@ EXTERN_C Void FreeCodingContextDec(CWMIm @@ -47,7 +47,7 @@ EXTERN_C Void FreeCodingContextDec(CWMImageStrCodec *)
EXTERN_C Int StrEncInit(CWMImageStrCodec *); EXTERN_C Int StrEncInit(CWMImageStrCodec *);
EXTERN_C Void StrIOEncTerm(CWMImageStrCodec *); EXTERN_C Void StrIOEncTerm(CWMImageStrCodec *);
EXTERN_C Void FreeCodingContextEnc(CWMImageStrCodec *); EXTERN_C Void FreeCodingContextEnc(CWMImageStrCodec *);

View file

@ -3,7 +3,7 @@ Author: Mathieu Malaterre <malat@debian.org>
Cleaned up for FreeBSD by mi Cleaned up for FreeBSD by mi
--- jxrencoderdecoder/JxrEncApp.c --- jxrencoderdecoder/JxrEncApp.c.orig 2017-10-20 15:09:28 UTC
+++ jxrencoderdecoder/JxrEncApp.c +++ jxrencoderdecoder/JxrEncApp.c
@@ -578,7 +578,7 @@ main(int argc, char* argv[]) @@ -578,7 +578,7 @@ main(int argc, char* argv[])
@ -14,14 +14,3 @@ Cleaned up for FreeBSD by mi
//---------------------------------------------------------------- //----------------------------------------------------------------
Call(PKCreateTestFactory(&pTestFactory, WMP_SDK_VERSION)); Call(PKCreateTestFactory(&pTestFactory, WMP_SDK_VERSION));
--- jxrgluelib/JXRMeta.h
+++ jxrgluelib/JXRMeta.h
@@ -34,7 +34,7 @@
#ifndef UNREFERENCED_PARAMETER
#define UNREFERENCED_PARAMETER(P) { (P) = (P); }
-#endif UNREFERENCED_PARAMETER
+#endif /*UNREFERENCED_PARAMETER*/
//================================================================
// Container

View file

@ -0,0 +1,16 @@
Description: Fix typos and remove some warnings
Author: Mathieu Malaterre <malat@debian.org>
Cleaned up for FreeBSD by mi
--- jxrgluelib/JXRMeta.h.orig 2017-10-20 15:09:28 UTC
+++ jxrgluelib/JXRMeta.h
@@ -34,7 +34,7 @@
#ifndef UNREFERENCED_PARAMETER
#define UNREFERENCED_PARAMETER(P) { (P) = (P); }
-#endif UNREFERENCED_PARAMETER
+#endif /*UNREFERENCED_PARAMETER*/
//================================================================
// Container