Bug 205782 - devel/gsoap: Fails to build on CURRENT: error: use of undeclared identifier 'SOL_TCP'
Summary: devel/gsoap: Fails to build on CURRENT: error: use of undeclared identifier '...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Some People
Assignee: Muhammad Moinur Rahman
URL:
Keywords: needs-patch, needs-qa
Depends on:
Blocks:
 
Reported: 2016-01-01 14:36 UTC by Matthias Apitz
Modified: 2016-01-01 16:55 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (bofh)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Apitz 2016-01-01 14:36:38 UTC
building on head r292788 and ports from SVN head on amd64 gives:

...
=======================<phase: build          >============================
===>  Building for gsoap-2.8.25
/usr/bin/make  all-recursive
Making all in gsoap
ln -s -f ./stdsoap2.cpp stdsoap2_cpp.cpp
ln -s -f ./dom.cpp dom_cpp.cpp
cc -DHAVE_CONFIG_H -I. -I..       -DFREEBSD -O2 -pipe  -fstack-protector -fno-strict-aliasing -MT li
bgsoap_a-stdsoap2.o -MD -MP -MF .deps/libgsoap_a-stdsoap2.Tpo -c -o libgsoap_a-stdsoap2.o `test -f '
stdsoap2.c' || echo './'`stdsoap2.c
stdsoap2.c:5107:64: error: use of undeclared identifier 'SOL_TCP'
  if (!(soap->omode & SOAP_IO_UDP) && setsockopt(soap->master, SOL_TCP, TCP_FASTOPEN, (char*)&set, s
izeof(int)))

                                                               ^
1 error generated.
*** Error code 1


this let skip (among others) the port emulators/virtualbox-ose

I will attach a patch later the day;
Comment 1 Muhammad Moinur Rahman freebsd_committer freebsd_triage 2016-01-01 16:41:52 UTC
Poudriere building with fix.
Comment 2 commit-hook freebsd_committer freebsd_triage 2016-01-01 16:55:04 UTC
A commit references this bug:

Author: bofh
Date: Fri Jan  1 16:54:14 UTC 2016
New revision: 405012
URL: https://svnweb.freebsd.org/changeset/ports/405012

Log:
  devel/gsoap: Update version 2.8.25=>2.8.27

  - Fix BUILD on 10 amd64 and CURRENT [1]

  PR:		205782 [1]
  Submitted by:	guru@unixarea.de [1]

Changes:
  head/devel/gsoap/Makefile
  head/devel/gsoap/distinfo
  head/devel/gsoap/files/patch-gsoap_stdsoap2.c
  head/devel/gsoap/files/patch-gsoap_stdsoap2.cpp
  head/devel/gsoap/pkg-plist