X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=debian%2Fmajor.patch;fp=debian%2Fmajor.patch;h=0000000000000000000000000000000000000000;hb=636f3185bd6b6bd214d64a8fd196f909268e2719;hp=f9aca07800b5410928b2d3f9d36f176f6abd5eb6;hpb=1e0a42d0979887fefcbb3918bd5cd5832afbecf0;p=nfs-utils.git diff --git a/debian/major.patch b/debian/major.patch deleted file mode 100644 index f9aca07..0000000 --- a/debian/major.patch +++ /dev/null @@ -1,19 +0,0 @@ ---- utils/mountd/cache.c 2007-10-19 13:07:28.000000000 +1000 -+++ utils/mountd/cache.c 2007-10-22 19:24:07.274232106 +1000 -@@ -36,6 +36,16 @@ - #include "blkid/blkid.h" - #endif - -+#ifdef major /* Might be defined in sys/types.h. */ -+#define HAVE_MAJOR -+#endif -+ -+#ifndef HAVE_MAJOR -+#define major(dev) (((dev) >> 8) & 0xff) -+#define minor(dev) ((dev) & 0xff) -+#define makedev(maj, min) (((maj) << 8) | (min)) -+#endif -+#undef HAVE_MAJOR - - enum nfsd_fsid { - FSID_DEV = 0,