~ubuntu-branches/ubuntu/lucid/9base/lucid

« back to all changes in this revision

Viewing changes to debian/patches/02-kfreebsd.patch

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Baumann
  • Date: 2008-12-17 20:57:00 UTC
  • mfrom: (5.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20081217205700-tby911ef6hhzurlm
Tags: 1:2-10
* Prefixing debhelper files with package name.
* Updating suggests.
* Updating make install call in rules.
* Using quilt rather than dpatch.
* Updating indenting in README.Debian.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Author: Cyril Brulebois <cyril.brulebois@enst-bretagne.fr>
 
2
Description: Fixing FTBFS on kfreebsd (Closes: #414224).
 
3
 
 
4
diff -Naurp 9base.orig/lib9/dirread.c 9base/lib9/dirread.c
 
5
--- 9base.orig/lib9/dirread.c   2008-10-19 14:41:11.000000000 +0000
 
6
+++ 9base/lib9/dirread.c        2008-12-17 19:51:01.000000000 +0000
 
7
@@ -6,7 +6,7 @@
 
8
 
 
9
 extern int _p9dir(struct stat*, struct stat*, char*, Dir*, char**, char*);
 
10
 
 
11
-#if defined(__linux__)
 
12
+#if defined(__linux__) || defined(__FreeBSD_kernel__)
 
13
 static int
 
14
 mygetdents(int fd, struct dirent *buf, int n)
 
15
 {