aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2002-12-01 06:52:07 +0800
committerkris <kris@FreeBSD.org>2002-12-01 06:52:07 +0800
commit03fe74f5d4e6d6adc07aeae0073b6170a405d05a (patch)
tree5fdd3bb1e02ac3113c6780551c59a4d4067db7e7
parent6ac7adca2e78caa3295382a927d1bf0e7354c2aa (diff)
downloadfreebsd-ports-gnome-03fe74f5d4e6d6adc07aeae0073b6170a405d05a.tar.gz
freebsd-ports-gnome-03fe74f5d4e6d6adc07aeae0073b6170a405d05a.tar.zst
freebsd-ports-gnome-03fe74f5d4e6d6adc07aeae0073b6170a405d05a.zip
Fix build on 5.0 (chase /usr/include/msdosfs to /usr/include/fs/msdosfs)
-rw-r--r--shells/sash/files/patch-al17
1 files changed, 10 insertions, 7 deletions
diff --git a/shells/sash/files/patch-al b/shells/sash/files/patch-al
index 6b0020a54239..457e24725bb2 100644
--- a/shells/sash/files/patch-al
+++ b/shells/sash/files/patch-al
@@ -1,6 +1,5 @@
-diff -NPru cmds.c.orig cmds.c
---- cmds.c.orig Thu Jun 3 23:42:39 1999
-+++ cmds.c Sun Jan 23 00:35:15 2000
+--- cmds.c.orig Thu Jun 3 14:42:39 1999
++++ cmds.c Sat Nov 30 14:55:20 2002
@@ -6,17 +6,22 @@
* Most simple built-in commands are here.
*/
@@ -26,15 +25,19 @@ diff -NPru cmds.c.orig cmds.c
void
-@@ -501,19 +506,34 @@
+@@ -501,19 +506,38 @@
}
}
+#ifdef __FreeBSD__
+#include <ufs/ufs/ufsmount.h>
+#include <isofs/cd9660/cd9660_mount.h>
++#if __FreeBSD_version >= 500019
++#include <fs/msdosfs/msdosfsmount.h>
++#else
+#include <msdosfs/msdosfsmount.h>
+#endif
++#endif
void
do_mount(int argc, const char ** argv)
@@ -66,7 +69,7 @@ diff -NPru cmds.c.orig cmds.c
while ((argc > 0) && (**argv == '-'))
{
argc--;
-@@ -533,6 +553,7 @@
+@@ -533,6 +557,7 @@
argc--;
break;
@@ -74,7 +77,7 @@ diff -NPru cmds.c.orig cmds.c
case 'r':
flags |= MS_RDONLY;
break;
-@@ -540,6 +561,16 @@
+@@ -540,6 +565,16 @@
case 'm':
flags |= MS_REMOUNT;
break;
@@ -91,7 +94,7 @@ diff -NPru cmds.c.orig cmds.c
default:
fprintf(stderr, "Unknown option\n");
-@@ -555,15 +586,44 @@
+@@ -555,15 +590,44 @@
return;
}