diff options
author | Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> | 2017-10-10 20:02:07 +0000 |
---|---|---|
committer | Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> | 2017-10-10 21:16:19 +0000 |
commit | 32d81be95e8c1cb2555bbad2634d62287fc95d1e (patch) | |
tree | 6d4c135b0e668879b78a5beaba81b3f257204399 /user/libstatgrab/nongnu.patch | |
parent | d9ac52b688c7adfc31c678a7cbc5a1e5c917fb6c (diff) | |
download | packages-32d81be95e8c1cb2555bbad2634d62287fc95d1e.tar.gz packages-32d81be95e8c1cb2555bbad2634d62287fc95d1e.tar.bz2 packages-32d81be95e8c1cb2555bbad2634d62287fc95d1e.tar.xz packages-32d81be95e8c1cb2555bbad2634d62287fc95d1e.zip |
user/libstatgrab: new package
Diffstat (limited to 'user/libstatgrab/nongnu.patch')
-rw-r--r-- | user/libstatgrab/nongnu.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/user/libstatgrab/nongnu.patch b/user/libstatgrab/nongnu.patch new file mode 100644 index 000000000..3e5e163f7 --- /dev/null +++ b/user/libstatgrab/nongnu.patch @@ -0,0 +1,12 @@ +diff -Nurd libstatgrab-0.91/src/libstatgrab/os_info.c libstatgrab-0.91.new/src/libstatgrab/os_info.c +--- libstatgrab-0.91/src/libstatgrab/os_info.c 2014-06-19 11:41:10.000000000 +0000 ++++ libstatgrab-0.91.new/src/libstatgrab/os_info.c 2017-10-10 18:42:04.844471568 +0000 +@@ -472,7 +472,7 @@ + host_info_buf->bitwidth = 64; + } + else { +- host_info_buf->bitwidth = sysconf(_SC_LONG_BIT); // well, maybe 64-bit disabled 128-bit system o.O ++ host_info_buf->bitwidth = sizeof(long int) * 8; // well, maybe 64-bit disabled 128-bit system o.O + } + host_info_buf->host_state = sg_unknown_configuration; + # endif |