Bug 241588

Summary: security/opensc: fix build on powerpc and arm
Product: Ports & Packages Reporter: Piotr Kubaj <pkubaj>
Component: Individual Port(s)Assignee: Alex Dupre <ale>
Status: Closed FIXED    
Severity: Affects Only Me CC: ale, linimon
Priority: --- Flags: bugzilla: maintainer-feedback? (ale)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch pkubaj: maintainer-approval? (ale)

Description Piotr Kubaj freebsd_committer 2019-10-30 12:21:39 UTC
Created attachment 208698 [details]
patch

Upgrade to new GCC on GCC architectures instead of removing compilator flags. This will simplify the Makefile.

Explicitly set signed char. command variable is later compared to -1, which fails on architectures that use unsigned char by default, like arm and powerpc.
Comment 1 commit-hook freebsd_committer 2019-10-30 14:59:32 UTC
A commit references this bug:

Author: ale
Date: Wed Oct 30 14:58:42 UTC 2019
New revision: 516062
URL: https://svnweb.freebsd.org/changeset/ports/516062

Log:
  Fix build on powerpc and arm

  PR:		241588
  Submitted by:	pkubaj

Changes:
  head/security/opensc/Makefile
  head/security/opensc/files/patch-src_tests_p11test_p11test.c