Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 85829 - linesrv-2.1.20 use of "list_add" function conflict with mysql-4.1.10a
Summary: linesrv-2.1.20 use of "list_add" function conflict with mysql-4.1.10a
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Web Application Packages Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 83011
  Show dependency tree
 
Reported: 2005-03-18 15:42 UTC by Francesco R. (RETIRED)
Modified: 2005-05-08 09:30 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
linesrv-mysql-4.1.patch (linesrv-mysql-4.1.patch,6.66 KB, patch)
2005-03-18 15:44 UTC, Francesco R. (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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