Re: non-linux support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

Karel Zak, le Thu 24 Jul 2008 01:35:52 +0200, a écrit :
> On Tue, Apr 22, 2008 at 02:12:45AM +0100, Samuel Thibault wrote:
> > > BLK* and HDIO_* are not available on all platform.  Work around this in
> > > a few places, use mkswap's find_size as fallback for BLKGETSIZE, and
> > > disable blockdev.
> 
>  Applied with few changes. Thanks.

Cool, now almost compiles!  There is just ldattach which doesn't compile
because line disciplines are not implemented that way on the Hurd.  Is
TIOCSETD any kind of standard?  Else I guess the patch below would be
fine.

Samuel


Signed-off-by: Samuel Thibault <samuel.thibault@xxxxxxxxxxxx>

diff --git a/sys-utils/Makefile.am b/sys-utils/Makefile.am
index d13131f..e32d788 100644
--- a/sys-utils/Makefile.am
+++ b/sys-utils/Makefile.am
@@ -3,19 +3,19 @@ include $(top_srcdir)/config/include-Makefile.am
 bin_PROGRAMS =
 sbin_PROGRAMS =
 usrbinexec_PROGRAMS = flock ipcrm ipcs renice setsid
-usrsbinexec_PROGRAMS = ldattach readprofile
+usrsbinexec_PROGRAMS = readprofile
 
 dist_man_MANS = flock.1 ipcrm.1 ipcs.1 renice.1 setsid.1 \
-		ldattach.8 readprofile.1
+		readprofile.1
 
 if LINUX
 bin_PROGRAMS += dmesg
 sbin_PROGRAMS += ctrlaltdel
 usrbinexec_PROGRAMS += cytune setarch lscpu
-usrsbinexec_PROGRAMS += tunelp rtcwake
+usrsbinexec_PROGRAMS += ldattach tunelp rtcwake
 
 dist_man_MANS += dmesg ctrlaltdel.8 cytune.8 setarch.8 \
-		lscpu.1 tunelp.8 rtcwake.8
+		ldattach.8 lscpu.1 tunelp.8 rtcwake.8
 endif
 
 cytune_SOURCES = cytune.c cyclades.h
--
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux