Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 260316 - app-misc/symlinks uses malloc.h
Summary: app-misc/symlinks uses malloc.h
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All FreeBSD
: High normal (vote)
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-25 23:12 UTC by Timothy Redaelli (RETIRED)
Modified: 2019-10-11 17:37 UTC (History)
0 users

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


Attachments
files/symlinks-1.2-fix-implicit-declaration.patch (symlinks-1.2-fix-implicit-declaration.patch,329 bytes, patch)
2009-02-25 23:12 UTC, Timothy Redaelli (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Timothy Redaelli (RETIRED) gentoo-dev 2009-02-25 23:12:10 UTC
malloc.h is deprecated and it does not work under FreeBSD
I suggest to replace symlinks-1.2-fix-implicit-declaration.patch

>>> Compiling source in /var/tmp/portage/app-misc/symlinks-1.2-r2/work/symlinks-1.2 ...
gmake CC=i686-gentoo-freebsd7.1-gcc
i686-gentoo-freebsd7.1-gcc -o symlinks   -march=i686 -O2 -pipe symlinks.c -Wl,-O1
In file included from symlinks.c:11:
/usr/include/malloc.h:3:2: error: #error "<malloc.h> has been replaced by <stdlib.h>"
gmake: *** [symlinks] Error 1
Comment 1 Timothy Redaelli (RETIRED) gentoo-dev 2009-02-25 23:12:41 UTC
Created attachment 183205 [details, diff]
files/symlinks-1.2-fix-implicit-declaration.patch

new files/symlinks-1.2-fix-implicit-declaration.patch
Comment 2 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-04-10 04:21:30 UTC
(In reply to comment #1)
> Created an attachment (id=183205) [edit]
> files/symlinks-1.2-fix-implicit-declaration.patch
> 
> new files/symlinks-1.2-fix-implicit-declaration.patch
> 

If it works, please commit.
Comment 3 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-04-17 04:48:19 UTC
@bsd team: Since drizzt retired, someone on your team that can test has permission to commit this. We don't care and hence, removing shell-tools from this bug.
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-10-11 17:37:19 UTC
*-fbsd is gone.