Bug 40606 - graphics/libflash won't compile on -CURRENT
Summary: graphics/libflash won't compile 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: Akinori MUSHA
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-15 19:00 UTC by SANETO Takanori
Modified: 2002-07-23 22:07 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (1.91 KB, patch)
2002-07-15 19:00 UTC, SANETO Takanori
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description SANETO Takanori 2002-07-15 19:00:03 UTC
graphics/libflash as of today won't compile on -CURRENT by following
reasons:

#1: files/Makefile has spaces (instead of TABS) at the beginning of
    some lines. 

#2: on -CURRENT, _includeinstall target seems not
    used. installincludes is used instead.

#3: shape.cc should include <math.h> to get the declaration of sqrt().

#4: sound.cc should include <sys/soundcard.h> instead of
    <machine/soundcard.h>.

Fix: Following patch will make this port compile on -CURRENT. No test on
-STABLE or older is done.

I'm not sure when (as a value of __FreeBSD_version)
machine/soundcard.h was moved to sys/soundcard.h.
How-To-Repeat: 
cd /usr/ports/graphics/libflash; make
Comment 1 Ying-Chieh Liao freebsd_committer freebsd_triage 2002-07-16 04:06:59 UTC
Responsible Changed
From-To: freebsd-ports->knu

over to maintainer
Comment 2 SANETO Takanori 2002-07-20 00:21:31 UTC
This problem (#1, #2) and fix (to Makefile) will apply to
following ports as well:

textproc/expat
graphics/ming
-- 
SANETO Takanori <sanewo@ba2.so-net.ne.jp>
Comment 3 Akinori MUSHA freebsd_committer freebsd_triage 2002-07-23 22:07:19 UTC
State Changed
From-To: open->closed

Committed, thanks!