~ubuntu-branches/ubuntu/maverick/9base/maverick

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Baumann
  • Date: 2007-12-23 11:36:00 UTC
  • mfrom: (4.1.5 hardy)
  • Revision ID: james.westby@ubuntu.com-20071223113600-2o9dcqo7trcgxm1w
Tags: 1:2-8
* Bumping to new policy.
* Using new homepage field in control.
* Don't hide make errors in clean target of rules.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh /usr/share/dpatch/dpatch-run
 
2
## 02-kfreebsd.dpatch by Cyril Brulebois <cyril.brulebois@enst-bretagne.fr>
 
3
##
 
4
## DP: Fix FTBFS on kfreebsd (Closes: #414224).
 
5
 
 
6
@DPATCH@
 
7
 
 
8
diff -Naur 9base-2.orig/lib9/dirread.c 9base-2/lib9/dirread.c
 
9
--- 9base-2.orig/lib9/dirread.c 2006-01-25 14:21:14.000000000 +0000
 
10
+++ 9base-2/lib9/dirread.c      2007-03-10 07:52:59.000000000 +0000
 
11
@@ -6,7 +6,7 @@
 
12
 
 
13
 extern int _p9dir(struct stat*, struct stat*, char*, Dir*, char**, char*);
 
14
 
 
15
-#if defined(__linux__)
 
16
+#if defined(__linux__) || defined(__FreeBSD_kernel__)
 
17
 static int
 
18
 mygetdents(int fd, struct dirent *buf, int n)
 
19
 {