Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: aldot at uclibc.org <aldot@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot/target/cramfs
Date: Fri, 22 Dec 2006 04:22:15 -0800 (PST)	[thread overview]
Message-ID: <20061222122215.BD7384859A@busybox.net> (raw)

Author: aldot
Date: 2006-12-22 04:22:15 -0800 (Fri, 22 Dec 2006)
New Revision: 17049

Log:
- patch from AndyI to make it behave on Cygwin. Closes #1127. Thanks!


Added:
   trunk/buildroot/target/cramfs/cramfs-03-cygwin_IO.patch


Changeset:
Added: trunk/buildroot/target/cramfs/cramfs-03-cygwin_IO.patch
===================================================================
--- trunk/buildroot/target/cramfs/cramfs-03-cygwin_IO.patch	2006-12-22 12:11:06 UTC (rev 17048)
+++ trunk/buildroot/target/cramfs/cramfs-03-cygwin_IO.patch	2006-12-22 12:22:15 UTC (rev 17049)
@@ -0,0 +1,13 @@
+--- cramfs-1.1/cramfsck.c.orig	2006-12-22 22:16:59.328125000 +1100
++++ cramfs-1.1/cramfsck.c	2006-12-19 01:02:05.531250000 +1100
+@@ -56,6 +56,10 @@
+ #include "linux/cramfs_fs.h"
+ #include <zlib.h>
+ 
++#ifdef __CYGWIN__
++#define _IO(type,nr)	_IOC(_IOC_NONE,(type),(nr),0)
++#endif /* __CYGWIN__ */
++
+ #define BLKGETSIZE	_IO(0x12,96) /* return device size /512 (long *arg) */
+ 
+ /* Exit codes used by fsck-type programs */

             reply	other threads:[~2006-12-22 12:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-22 12:22 aldot at uclibc.org [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-12-02  9:15 [Buildroot] svn commit: trunk/buildroot/target/cramfs jacmet at uclibc.org
2006-12-10 13:42 aldot at uclibc.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20061222122215.BD7384859A@busybox.net \
    --to=aldot@uclibc.org \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox