Bug 47180 - [patch] fix emulators/wine on current
Summary: [patch] fix emulators/wine on current
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: Gerald Pfeifer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-18 01:10 UTC by Stefan Farfeleder
Modified: 2003-01-19 22:11 UTC (History)
1 user (show)

See Also:


Attachments
wine.diff (574 bytes, patch)
2003-01-18 01:10 UTC, Stefan Farfeleder
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Farfeleder 2003-01-18 01:10:01 UTC
Another inclusion of <malloc.h> instead of <stdlib.h> breaks building wine on
current.

How-To-Repeat: cd /usr/ports/emulators/wine && make

<...>

gmake[3]: Entering directory `/freebsd/ports/emulators/wine/work/wine-20030115/dlls/dsound/tests'
cc -c -I. -I. -I../../../include -I../../../include  -O -pipe -mcpu=pentiumpro -g -Wall -mpreferred-stack-boundary=2 -gstabs+  -fPIC  -D_REENTRANT -D_THREAD_SAFE -o dsound.o dsound.c
In file included from dsound.c:21:
/usr/include/malloc.h:3:2: #error "<malloc.h> has been replaced by <stdlib.h>"
gmake[3]: *** [dsound.o] Error 1
gmake[3]: Leaving directory `/freebsd/ports/emulators/wine/work/wine-20030115/dlls/dsound/tests'
gmake[2]: *** [tests] Error 2
gmake[2]: Leaving directory `/freebsd/ports/emulators/wine/work/wine-20030115/dlls/dsound'
gmake[1]: *** [dsound] Error 2
gmake[1]: Leaving directory `/freebsd/ports/emulators/wine/work/wine-20030115/dlls'
gmake: *** [dlls] Error 2
*** Error code 2
Comment 1 Tilman Keskinoz freebsd_committer freebsd_triage 2003-01-18 11:42:14 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gerald

Over to Maintainer
Comment 2 Gerald Pfeifer freebsd_committer freebsd_triage 2003-01-19 22:10:20 UTC
State Changed
From-To: open->closed

I have fixed this with a somewhat different approach, and the port should 
now build fine again.  (I also submitted my patch upstream.)  Sorry&Thanks!