Bug 194041

Summary: devel/protobuf: broken tests build
Product: Ports & Packages Reporter: Jan Beich <jbeich>
Component: Individual Port(s)Assignee: Vanilla I. Shu <vanilla>
Status: Closed FIXED    
Severity: Affects Only Me Keywords: patch
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
fix none

Description Jan Beich freebsd_committer freebsd_triage 2014-09-30 14:38:49 UTC
Created attachment 147846 [details]
fix

$ make tests
...
google/protobuf/testing/zcgzip.cc:54:25: error: unknown type name 'STDOUT_FILENO'
  FileOutputStream fout(STDOUT_FILENO);
                        ^
google/protobuf/testing/zcgzip.cc:54:24: warning: parentheses were disambiguated as
      a function declaration [-Wvexing-parse]
  FileOutputStream fout(STDOUT_FILENO);
                       ^~~~~~~~~~~~~~~
google/protobuf/testing/zcgzip.cc:54:25: note: add a pair of parentheses to declare
      a variable
  FileOutputStream fout(STDOUT_FILENO);
                        ^
                        (             )
google/protobuf/testing/zcgzip.cc:68:20: error: use of undeclared identifier
      'STDIN_FILENO'
    readlen = read(STDIN_FILENO, outptr, outlen);
                   ^
1 warning and 2 errors generated.
Comment 1 Bugzilla Automation freebsd_committer freebsd_triage 2014-09-30 14:38:49 UTC
Auto-assigned to maintainer vanilla@FreeBSD.org
Comment 2 Vanilla I. Shu freebsd_committer freebsd_triage 2014-10-01 08:45:29 UTC
Committed, thanks.
Comment 3 commit-hook freebsd_committer freebsd_triage 2014-10-01 08:46:17 UTC
A commit references this bug:

Author: vanilla
Date: Wed Oct  1 08:45:21 UTC 2014
New revision: 369705
URL: https://svnweb.freebsd.org/changeset/ports/369705

Log:
  1: fix tests build
  2: switch to install-strip.
  3: fix pkg-plist to chase pkg-1.3.8.
  4: drop maintainer bit.

  PR:		ports/194041 ports/194042
  Submitted by:	Jan Beich jbeich at vfemail dot net

Changes:
  head/devel/protobuf/Makefile
  head/devel/protobuf/files/
  head/devel/protobuf/files/patch-src__google__protobuf__testing__zcgunzip.cc
  head/devel/protobuf/files/patch-src__google__protobuf__testing__zcgzip.cc
  head/devel/protobuf/pkg-plist