Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 85829

Summary: linesrv-2.1.20 use of "list_add" function conflict with mysql-4.1.10a
Product: Gentoo Linux Reporter: Francesco R. (RETIRED) <vivo>
Component: New packagesAssignee: Gentoo Web Application Packages Maintainers <web-apps>
Status: RESOLVED FIXED    
Severity: normal CC: mrness
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 83011    
Attachments: linesrv-mysql-4.1.patch

Description Francesco R. (RETIRED) gentoo-dev 2005-03-18 15:42:45 UTC
linesrv can't compile against mysql-4.1.10a begause of the conflicting declaration of "list_add"function.
Patch to rename the function attached, the ebuild will need the use of src_unpack function like this one:

src_unpack() {
      unpack ${A}
      cd "${S}"
      epatch "${FILESDIR}"/${PN}-mysql-4.1.patch
}

I'm sending this ?bug? upstream too.
Comment 1 Francesco R. (RETIRED) gentoo-dev 2005-03-18 15:44:05 UTC
Created attachment 53824 [details, diff]
linesrv-mysql-4.1.patch
Comment 2 Stefan Fuchs 2005-03-20 08:27:09 UTC
Applied the patch and released version 2.1.21 (the main app, not the ebuild), no need to apply the patch via ebuild. Tested version warping, seems to work (download files ready, 2.1.20 compatible). As there aren't any other changes besides a renamed function (thanks for the patch) I suggest to remove the ~x86 keyword as soon as possible.

Thanks, Stefan Fuchs, http://linecontrol.srf.ch/
Comment 3 Francesco R. (RETIRED) gentoo-dev 2005-05-08 09:30:46 UTC
net-dialup/linesrv-2.1.21 is in the tree