Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
$NetBSD: patch-ac,v 1.1.1.1 2008/03/08 00:46:23 reed Exp $
--- geometry.c.orig 2003-10-10 14:43:13.000000000 -0700
+++ geometry.c
@@ -99,6 +99,11 @@ struct evms_version_t {
#define HDIO_GETGEO HDIO_REQ
#endif
+/* Linux 2.6 compatibility */
+#undef _IOR
+#undef _IOWR
+#define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size))
+#define _IOWR(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size))
typedef struct _st_buf {
struct _st_buf *next;