Bug 150205 - audio/lmms : port fix
Summary: audio/lmms : port fix
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: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-01 23:20 UTC by Rodrigo OSORIO
Modified: 2010-09-03 10:40 UTC (History)
0 users

See Also:


Attachments
file.diff (1.74 KB, patch)
2010-09-01 23:20 UTC, Rodrigo OSORIO
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rodrigo OSORIO 2010-09-01 23:20:04 UTC
audio/lmms was broken due to incompatibles calls to scandir(3) function in different versions of FreeBSD.

FreeBSD < 80501 and between 900000 and  900006 uses the old version :
int scandir(const char *dirname, struct dirent ***namelist,
	 int (*select)(struct dirent *),
	 int (*compar)(const void *, const void *));

When the versions >= 80501 in 8 branch and > 900006 in 9 branch uses the IEEE
Std 1003.1-2008 version :
int scandir(const char *dirname, struct dirent ***namelist,
	 int (*select)(const struct dirent *),
	 int (*compar)(const struct dirent **, const struct dirent **));

This patch tries to fix the problem for all the versions, including the current branch.

Also request the port maintnership.

Fix: Patch attached with submission follows:
Comment 1 Rodrigo OSORIO 2010-09-01 23:27:36 UTC
I forgot, this pr may close the ports/144036 one....
Comment 2 Pav Lucistnik freebsd_committer freebsd_triage 2010-09-03 09:39:27 UTC
State Changed
From-To: open->closed

Committed, thanks!
Comment 3 dfilter service freebsd_committer freebsd_triage 2010-09-03 10:39:02 UTC
pav         2010-09-03 09:38:53 UTC

  FreeBSD ports repository

  Modified files:
    audio/lmms           Makefile 
    audio/lmms/files     
                         patch-plugins__zynaddsubfx__fltk__src__filename_list.cxx 
  Log:
  - Unbreak on recent 8.X
  - Grant maintainership to the submitter
  
  PR:             ports/150205
  Submitted by:   Rodrigo OSORIO <rodrigo@bebik.net>
  
  Revision  Changes    Path
  1.31      +1 -5      ports/audio/lmms/Makefile
  1.2       +1 -1      ports/audio/lmms/files/patch-plugins__zynaddsubfx__fltk__src__filename_list.cxx
_______________________________________________
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"