diff options
author | joerg <joerg@pkgsrc.org> | 2015-01-09 14:27:46 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2015-01-09 14:27:46 +0000 |
commit | ddede1c5ca7d364ed3120e2e14d6f3fe4519b06d (patch) | |
tree | 0a90b98c0a3a33133e94ecb6bc9c29c3a1e89637 /devel | |
parent | 1e9006a88cf3293f60fcfc035ef3aa6c7abe1c2c (diff) | |
download | pkgsrc-ddede1c5ca7d364ed3120e2e14d6f3fe4519b06d.tar.gz |
Fix C syntax.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/libblkid/distinfo | 3 | ||||
-rw-r--r-- | devel/libblkid/patches/patch-lib_blkdev.c | 13 |
2 files changed, 15 insertions, 1 deletions
diff --git a/devel/libblkid/distinfo b/devel/libblkid/distinfo index 799629d30f8..cbd82e9ef61 100644 --- a/devel/libblkid/distinfo +++ b/devel/libblkid/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.2 2011/01/08 22:30:38 dsainty Exp $ +$NetBSD: distinfo,v 1.3 2015/01/09 14:27:46 joerg Exp $ SHA1 (util-linux-ng-2.18.tar.bz2) = 154db0512caae0b6e90eee4b7312d4caf3d6b978 RMD160 (util-linux-ng-2.18.tar.bz2) = 4781871a8f86195b886e81d364d41a57d67869e3 @@ -10,3 +10,4 @@ SHA1 (patch-ad) = 36def63e59aff1c045d1821380b3d0191628d897 SHA1 (patch-ae) = df77e8c6da425609309505fd447b66ade05426a3 SHA1 (patch-af) = ba6e34b5635437e755192064bfc5865bfa9c913a SHA1 (patch-ag) = 1898774d311562938281f825b50a0e9aa44a447d +SHA1 (patch-lib_blkdev.c) = 5045de9949316baabc2a573cecdef067fbc099fc diff --git a/devel/libblkid/patches/patch-lib_blkdev.c b/devel/libblkid/patches/patch-lib_blkdev.c new file mode 100644 index 00000000000..e4c4c83d154 --- /dev/null +++ b/devel/libblkid/patches/patch-lib_blkdev.c @@ -0,0 +1,13 @@ +$NetBSD: patch-lib_blkdev.c,v 1.1 2015/01/09 14:27:46 joerg Exp $ + +--- lib/blkdev.c.orig 2010-05-19 21:36:23.000000000 +0000 ++++ lib/blkdev.c +@@ -104,7 +104,7 @@ blkdev_get_size(int fd, unsigned long lo + #ifdef DIOCGMEDIASIZE + /* FreeBSD */ + if (ioctl(fd, DIOCGMEDIASIZE, bytes) >= 0) +- return 0 ++ return 0; + #endif + + #ifdef FDGETPRM |