diff options
author | A. Wilcox <awilcox@wilcox-tech.com> | 2017-10-11 02:19:04 +0000 |
---|---|---|
committer | A. Wilcox <awilcox@wilcox-tech.com> | 2017-10-11 02:19:04 +0000 |
commit | a524397edf77b9f7eda2a8c609119e489b7296f9 (patch) | |
tree | a69b169545e401625abdcffbfe953400117efbde /user/libstatgrab/nongnu.patch | |
parent | b5e44965a42daaf7ce7101a804aea0779b211d10 (diff) | |
parent | 32d81be95e8c1cb2555bbad2634d62287fc95d1e (diff) | |
download | packages-a524397edf77b9f7eda2a8c609119e489b7296f9.tar.gz packages-a524397edf77b9f7eda2a8c609119e489b7296f9.tar.bz2 packages-a524397edf77b9f7eda2a8c609119e489b7296f9.tar.xz packages-a524397edf77b9f7eda2a8c609119e489b7296f9.zip |
Merge branch 'libstatgrab' into 'master'
user/libstatgrab: new package
Packages libstatgrab, needed in order to build lxqt.
See merge request !1
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 |