Bug 131350 - [maintainer-update] fix use of strndup in comms/gnokii
Summary: [maintainer-update] fix use of strndup in comms/gnokii
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: Philip M. Gollucci
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-03 22:40 UTC by Guido Falsi
Modified: 2009-02-04 08:00 UTC (History)
0 users

See Also:


Attachments
file.diff (591 bytes, patch)
2009-02-03 22:40 UTC, Guido Falsi
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Guido Falsi freebsd_committer 2009-02-03 22:40:00 UTC
A function in gnokii happens to use strndup() which is implemented
only in 8.0, so revert it to a simple strdup().

added file:

files/patch-gnokii-gnokii.c

Reported by: ledondo2000 at gmail.com

How-To-Repeat: 
trying to compile gnokii with readline support.
Comment 1 Philip M. Gollucci freebsd_committer 2009-02-04 04:02:20 UTC
Responsible Changed
From-To: freebsd-ports-bugs->pgollucci

I'll take it.
Comment 2 Philip M. Gollucci freebsd_committer 2009-02-04 07:56:36 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 3 dfilter service freebsd_committer 2009-02-04 07:56:36 UTC
pgollucci    2009-02-04 07:56:26 UTC

  FreeBSD ports repository

  Modified files:
    comms/gnokii         Makefile 
  Added files:
    comms/gnokii/files   patch-gnokii-gnokii.c 
  Log:
  - A function in gnokii happens to use strndup() which is implemented
      only in 8.0, so revert it to a simple strdup().
  
  PR:             ports/131350
  Reported by:    ledondo2000 at gmail.com
  Submitted by:   Guido Falsi <mad@madpilot.net>  (maintainer)
  
  Revision  Changes    Path
  1.75      +1 -0      ports/comms/gnokii/Makefile
  1.1       +11 -0     ports/comms/gnokii/files/patch-gnokii-gnokii.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"