Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Jun 2001 14:30:09 +0900 (JST)
From:      Motoyuki Konno <motoyuki@freebsd.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/28093: build ports/lang/pm3-base on 5-current (after Mar 29 2001) fails
Message-ID:  <200106120530.f5C5U9O59996@tomoyo.mk.bsdclub.org>

next in thread | raw e-mail | index | archive | help

>Number:         28093
>Category:       ports
>Synopsis:       build ports/lang/pm3-base on 5-current (after Mar 29 2001) fails
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 11 22:40:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Motoyuki Konno
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
FreeBSD.org
>Environment:
System: FreeBSD tomoyo.mk.bsdclub.org 5.0-CURRENT FreeBSD 5.0-CURRENT #5: Mon Jun 11 12:23:33 JST 2001 motoyuki@tomoyo.mk.bsdclub.org:/usr/obj/usr/src/sys/TOMOYO i386

>Description:
	On 5-current box (after Mar 29 2001), building ports/lang/pm3-base
        fails, because mfs support was deleted from 5-current that date.
>How-To-Repeat:
	On 5-current box, run "make install" at ports/lang/pm3-base.
>Fix:
	Add following patches to ports/lang/pm3-base/files.
	I think these patches are quick and dirty hack.
	Adding FreeBSD5 target to PM3 is better.

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#       files/patch-l1
#       files/patch-l2
#
echo x - files/patch-l1
sed 's/^X//' >files/patch-l1 << 'END-of-files/patch-l1'
X--- libs/m3core/src/runtime/FreeBSD4/RTHeapDepC.c.old  Thu Jun  1 02:54:33 2000
X+++ libs/m3core/src/runtime/FreeBSD4/RTHeapDepC.c      Tue Jun 12 14:07:31 2001
X@@ -693,7 +693,9 @@
X   void *data;
X { int result;
X   struct ufs_args *u_data;
X+#if __FreeBSD__ < 5
X   struct mfs_args *m_data;
X+#endif
X   struct nfs_args *n_data;
X 
X   ENTER_CRITICAL;
X@@ -704,11 +706,13 @@
X     MAKE_READABLE(u_data);
X     MAKE_READABLE(u_data->fspec);
X     result = syscall(SYS_mount, type, dir, flags, data);
X+#if __FreeBSD__ < 5
X   } else if (strcmp(type, "mfs") == 0) {
X     m_data = (struct mfs_args*) data;
X     MAKE_READABLE(m_data);
X     MAKE_READABLE(m_data->fspec);
X     result = syscall(SYS_mount, type, dir, flags, data);
X+#endif
X   } else if (strcmp(type, "nfs") == 0) {
X     n_data = (struct nfs_args*) data;
X     MAKE_READABLE(n_data);
END-of-files/patch-l1
echo x - files/patch-l2
sed 's/^X//' >files/patch-l2 << 'END-of-files/patch-l2'
X--- boot-FreeBSD4/m3core/FreeBSD4/RTHeapDepC.c.orig    Tue Jun 12 13:53:47 2001
X+++ boot-FreeBSD4/m3core/FreeBSD4/RTHeapDepC.c Tue Jun 12 14:08:44 2001
X@@ -693,7 +693,9 @@
X   void *data;
X { int result;
X   struct ufs_args *u_data;
X+#if __FreeBSD__ < 5
X   struct mfs_args *m_data;
X+#endif
X   struct nfs_args *n_data;
X 
X   ENTER_CRITICAL;
X@@ -704,11 +706,13 @@
X     MAKE_READABLE(u_data);
X     MAKE_READABLE(u_data->fspec);
X     result = syscall(SYS_mount, type, dir, flags, data);
X+#if __FreeBSD__ < 5
X   } else if (strcmp(type, "mfs") == 0) {
X     m_data = (struct mfs_args*) data;
X     MAKE_READABLE(m_data);
X     MAKE_READABLE(m_data->fspec);
X     result = syscall(SYS_mount, type, dir, flags, data);
X+#endif
X   } else if (strcmp(type, "nfs") == 0) {
X     n_data = (struct nfs_args*) data;
X     MAKE_READABLE(n_data);
END-of-files/patch-l2
exit
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200106120530.f5C5U9O59996>