- Update to 0.11.1

This commit is contained in:
Gabor Pali 2010-05-19 12:05:27 +00:00
parent 2f26e4b327
commit 8ce5c1503b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=254590
6 changed files with 8 additions and 62 deletions

View file

@ -5,7 +5,7 @@
# $FreeBSD$
PORTNAME= xmobar
PORTVERSION= 0.11
PORTVERSION= 0.11.1
CATEGORIES= x11 haskell
PKGNAMEPREFIX=

View file

@ -1,3 +1,3 @@
MD5 (xmobar-0.11.tar.gz) = 80edb2b7b7cba3d718ff1b6b637e4b4d
SHA256 (xmobar-0.11.tar.gz) = 428d469f92314d11360502bbaf0f319be41575921b75759182f314987a59346d
SIZE (xmobar-0.11.tar.gz) = 45822
MD5 (xmobar-0.11.1.tar.gz) = 766fe504909384628321fb7472fdb621
SHA256 (xmobar-0.11.1.tar.gz) = 753b755b96852008bbbf8c79933d9ebb87554bf7e562888e8d6fb5b8320a6a73
SIZE (xmobar-0.11.1.tar.gz) = 45872

View file

@ -1,27 +0,0 @@
--- ./StatFS.hsc.orig 2010-05-15 14:07:17.000000000 +0200
+++ ./StatFS.hsc 2010-05-16 16:27:52.000000000 +0200
@@ -23,7 +23,12 @@
import Data.ByteString (useAsCString)
import Data.ByteString.Char8 (pack)
+#if defined (__FreeBSD__)
+# include <sys/param.h>
+# include <sys/mount.h>
+#else
#include <sys/vfs.h>
+#endif
data FileSystemStats = FileSystemStats {
fsStatBlockSize :: Integer
@@ -42,7 +47,11 @@
data CStatfs
+#if defined(__FreeBSD__)
+foreign import ccall unsafe "sys/mount.h statfs"
+#else
foreign import ccall unsafe "sys/vfs.h statfs64"
+#endif
c_statfs :: CString -> Ptr CStatfs -> IO CInt
toI :: CLong -> Integer

View file

@ -5,7 +5,7 @@
# $FreeBSD$
PORTNAME= xmobar
PORTVERSION= 0.11
PORTVERSION= 0.11.1
CATEGORIES= x11 haskell
PKGNAMEPREFIX=

View file

@ -1,3 +1,3 @@
MD5 (xmobar-0.11.tar.gz) = 80edb2b7b7cba3d718ff1b6b637e4b4d
SHA256 (xmobar-0.11.tar.gz) = 428d469f92314d11360502bbaf0f319be41575921b75759182f314987a59346d
SIZE (xmobar-0.11.tar.gz) = 45822
MD5 (xmobar-0.11.1.tar.gz) = 766fe504909384628321fb7472fdb621
SHA256 (xmobar-0.11.1.tar.gz) = 753b755b96852008bbbf8c79933d9ebb87554bf7e562888e8d6fb5b8320a6a73
SIZE (xmobar-0.11.1.tar.gz) = 45872

View file

@ -1,27 +0,0 @@
--- ./StatFS.hsc.orig 2010-05-15 14:07:17.000000000 +0200
+++ ./StatFS.hsc 2010-05-16 16:27:52.000000000 +0200
@@ -23,7 +23,12 @@
import Data.ByteString (useAsCString)
import Data.ByteString.Char8 (pack)
+#if defined (__FreeBSD__)
+# include <sys/param.h>
+# include <sys/mount.h>
+#else
#include <sys/vfs.h>
+#endif
data FileSystemStats = FileSystemStats {
fsStatBlockSize :: Integer
@@ -42,7 +47,11 @@
data CStatfs
+#if defined(__FreeBSD__)
+foreign import ccall unsafe "sys/mount.h statfs"
+#else
foreign import ccall unsafe "sys/vfs.h statfs64"
+#endif
c_statfs :: CString -> Ptr CStatfs -> IO CInt
toI :: CLong -> Integer