Bug 74881 - japanese/kon2-* doesn't work on FreeBSD 5-STABLE
Summary: japanese/kon2-* doesn't work on FreeBSD 5-STABLE
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: Norikatsu Shigemura
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-09 02:00 UTC by kasahara
Modified: 2004-12-24 03:12 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kasahara 2004-12-09 02:00:47 UTC
	japanese/kon2-* built on FreeBSD 5-STABLE tries to open /dev/vga
	and fails to run.

Fix: 

In files/patch-af, it checks the version of FreeBSD like this:

+#if __FreeBSD_version >= 510100
+    cfd = open("/dev/ttyv0", O_WRONLY);
+    if (cfd < 0 && (cfd = open("/dev/ttyv0", O_RDONLY)) < 0) {
+       PerrorExit("/dev/ttyv0");
+    }
+#else

It means we need FreeBSD-5.10.

I don't know when /dev/ttyv0 was introduced, so I can't write the 
correct number here.  Maybe 500000 is ok??
How-To-Repeat: 	Simply install via ports and invoke kon.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2004-12-09 09:41:45 UTC
Responsible Changed
From-To: freebsd-ports-bugs->shige

Over to maintainer.
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2004-12-23 19:04:03 UTC
Responsible Changed
From-To: shige->freebsd-ports-bugs

Maintainer was reset.
Comment 3 Norikatsu Shigemura freebsd_committer freebsd_triage 2004-12-24 02:51:57 UTC
State Changed
From-To: open->analyzed

I'll handle this. 


Comment 4 Norikatsu Shigemura freebsd_committer freebsd_triage 2004-12-24 02:51:57 UTC
Responsible Changed
From-To: freebsd-ports-bugs->nork

Oops, I missed!!  I'll fix this problem.
Comment 5 Norikatsu Shigemura freebsd_committer freebsd_triage 2004-12-24 03:12:16 UTC
State Changed
From-To: analyzed->closed

Committed, thanks!