Bug 147219 - [Maintainer] www/squid31: correct two configuration tests
Summary: [Maintainer] www/squid31: correct two configuration tests
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Sylvio Cesar Teixeira
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-30 16:40 UTC by Thomas-Martin Seck
Modified: 2010-05-31 01:14 UTC (History)
0 users

See Also:


Attachments
file.diff (1.84 KB, patch)
2010-05-30 16:40 UTC, Thomas-Martin Seck
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas-Martin Seck 2010-05-30 16:40:05 UTC
Squid 3.1 uses g++ to compile the configuration test programs. This
causes two tests (for setresuid(2) and strnstr(3)) to fail due to
g++ complaining about programming errors within the tests itself.
These tests do work on earlier versions of Squid where gcc is used
to compile them.

Add a patch to correct these issues and bump PORTREVISION.

Thanks to Anton Kaukin for informing the maintainer about the problem and
providing a patch.

Added file:

files/patch-configure

Fix: Apply this patch:
How-To-Repeat: 
Run 'make configure' and look for the output of the setresuid and strnstr
tests in WRKSRC/config.log.
Comment 1 Sylvio Cesar Teixeira freebsd_committer freebsd_triage 2010-05-30 20:00:25 UTC
Responsible Changed
From-To: freebsd-ports-bugs->sylvio

I'll take it.
Comment 2 dfilter service freebsd_committer freebsd_triage 2010-05-31 01:00:25 UTC
sylvio      2010-05-31 00:00:14 UTC

  FreeBSD ports repository

  Modified files:
    www/squid31          Makefile 
  Added files:
    www/squid31/files    patch-configure 
  Log:
  - Squid 3.1 uses g++ to compile the configuration test programs. This
  causes two tests (for setresuid(2) and strnstr(3)) to fail due to
  g++ complaining about programming errors within the tests itself.
  These tests do work on earlier versions of Squid where gcc is used
  to compile them.
  - Add a patch to correct these issues
  - BUMP PORTREVISION
  
  PR:             ports/147219
  Submitted by:   Thomas-Martin Seck <tmseck@web.de> (maintainer)
  
  Revision  Changes    Path
  1.239     +2 -1      ports/www/squid31/Makefile
  1.6       +23 -0     ports/www/squid31/files/patch-configure (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Sylvio Cesar Teixeira freebsd_committer freebsd_triage 2010-05-31 01:14:49 UTC
State Changed
From-To: open->closed

Committed. Thanks!