Bug 106464 - Build broken lang/clisp 2.41 with fastcgi module
Summary: Build broken lang/clisp 2.41 with fastcgi module
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: Alejandro Pulver
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-08 01:10 UTC by Hyo.geol
Modified: 2006-12-08 16:00 UTC (History)
0 users

See Also:


Attachments
file.diff (1.29 KB, patch)
2006-12-08 01:10 UTC, Hyo.geol
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Hyo.geol freebsd_committer freebsd_triage 2006-12-08 01:10:02 UTC
Clisp version 2.41 port(lang/clisp) bulid is broken when turn on fastcgi module.(WITH_FASTCGI=on)

There are 2 reasons. 

First, clisp fastcgi module in version 2.41 has build error.
This build error is already reported to clisp project site and closed.
(https://sourceforge.net/tracker/?func=detail&atid=101355&aid=1595306&group_id=1355)
So, first problem will be ok in next release. 

Second, clisp fastcgi module use strndup function and i got linking error
because there is no strndup function in FreeBSD.

Fix: First problem has fixed in clisp cvs, and will be find at next release.
See https://sourceforge.net/tracker/?func=detail&atid=101355&aid=1595306&group_id=1355

Second problem in fastcgi_wrappers.c will be ok use another version strndup.

I attached patch file.

Patch attached with submission follows:
How-To-Repeat: Build lang/clisp with WITH_FASTCGI option.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2006-12-08 01:10:20 UTC
Responsible Changed
From-To: freebsd-ports-bugs->alepulver

Over to maintainer
Comment 2 Alejandro Pulver freebsd_committer freebsd_triage 2006-12-08 15:54:07 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 3 dfilter service freebsd_committer freebsd_triage 2006-12-08 15:54:15 UTC
alepulver    2006-12-08 15:53:41 UTC

  FreeBSD ports repository

  Added files:
    lang/clisp/files     patch-modules__fastcgi__fastcgi.lisp 
                         patch-modules__fastcgi__fastcgi_wrappers.c 
  Log:
  - Fix building the fastcgi module.
  - Import patch from clisp project [1].
  - Add patch for missing strndup() function in FreeBSD [2].
  
  PR:             ports/106464
  Submitted by:   Hyo.geol [2]
  Obtained from:  https://sourceforge.net/tracker/?func=detail&atid=101355&aid=1595306&group_id=1355 [1]
  
  Revision  Changes    Path
  1.1       +12 -0     ports/lang/clisp/files/patch-modules__fastcgi__fastcgi.lisp (new)
  1.1       +40 -0     ports/lang/clisp/files/patch-modules__fastcgi__fastcgi_wrappers.c (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"