Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 493952 - =net-libs/libmicrohttpd-0.9.32 USE=-ssl - daemon.c: In function 'MHD_suspend_connection': daemon.c:1438:13: error: 'struct MHD_Connection' has no member named 'suspended'
Summary: =net-libs/libmicrohttpd-0.9.32 USE=-ssl - daemon.c: In function 'MHD_suspend_...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Anthony Basile
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-11 18:34 UTC by Maxim Kammerer
Modified: 2014-05-03 12:18 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
libmicrohttpd-0.9.32 build log (libmicrohttpd-0.9.32.log,16.90 KB, text/plain)
2013-12-11 18:34 UTC, Maxim Kammerer
Details
libmicrohttpd-0.9.32-build-without-ssl-r31160.patch (libmicrohttpd-0.9.32-build-without-ssl-r31160.patch,6.37 KB, patch)
2013-12-21 14:51 UTC, Timo Gurr (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Maxim Kammerer 2013-12-11 18:34:49 UTC
Created attachment 365108 [details]
libmicrohttpd-0.9.32 build log

Some code is apparently not properly protected with ifdefs.

E.g. (src/microhttpd/internal.h):

struct MHD_Connection
{
  ...
#if HTTPS_SUPPORT
  ...
  int suspended;
  ...
#endif
};

Elsewhere (src/microhttpd/daemon.c):
  connection->suspended = MHD_YES;
(not protected with an ifdef).

A build log is attached (no USE glags are enabled).
Comment 1 Timo Gurr (RETIRED) gentoo-dev 2013-12-21 14:51:23 UTC
Created attachment 365822 [details, diff]
libmicrohttpd-0.9.32-build-without-ssl-r31160.patch

Upstream patch to fix building without SSL.
https://gnunet.org/bugs/print_bug_page.php?bug_id=3199
Comment 2 Anthony Basile gentoo-dev 2014-01-26 17:36:13 UTC
(In reply to Timo Gurr from comment #1)
> Created attachment 365822 [details, diff] [details, diff]
> libmicrohttpd-0.9.32-build-without-ssl-r31160.patch
> 
> Upstream patch to fix building without SSL.
> https://gnunet.org/bugs/print_bug_page.php?bug_id=3199

Is this still a problem with 0.9.33?  If so, we should let upstream know.  If not, then let's wait till 0.9.33 is stabilized and close this obsolete.
Comment 3 Tomasz Golinski 2014-01-26 17:43:32 UTC
In my case 0.9.33 built with USE=-ssl just fine.