Commit 65ae2ef
Unbreak build on FreeBSD (#188)
* notifications: use glib type of unsigned long after bad121a
src/panel/widgets/notifications/notification-info.cpp:54:5: error: unknown type name 'ulong'
ulong pixel_size = (channels * bits_per_sample + 7) / 8;
^
src/panel/widgets/notifications/notification-info.cpp:55:40: error: expected ')'
if (data_var.get_size() != ((ulong)height - 1) * (ulong)rowstride + (ulong)width * pixel_size)
^
src/panel/widgets/notifications/notification-info.cpp:55:32: note: to match this '('
if (data_var.get_size() != ((ulong)height - 1) * (ulong)rowstride + (ulong)width * pixel_size)
^
src/panel/widgets/notifications/notification-info.cpp:55:34: error: use of undeclared identifier 'ulong'
if (data_var.get_size() != ((ulong)height - 1) * (ulong)rowstride + (ulong)width * pixel_size)
^
src/panel/widgets/notifications/notification-info.cpp:55:55: error: use of undeclared identifier 'ulong'
if (data_var.get_size() != ((ulong)height - 1) * (ulong)rowstride + (ulong)width * pixel_size)
^
src/panel/widgets/notifications/notification-info.cpp:55:61: error: expected ')'
if (data_var.get_size() != ((ulong)height - 1) * (ulong)rowstride + (ulong)width * pixel_size)
^
src/panel/widgets/notifications/notification-info.cpp:55:8: note: to match this '('
if (data_var.get_size() != ((ulong)height - 1) * (ulong)rowstride + (ulong)width * pixel_size)
^
* command-output: add missing header for libc++ 14 after ff9f791
src/panel/widgets/command-output.cpp:25:30: error: implicit instantiation of undefined template 'std::array<char, 16>'
std::array<char, 16> buffer;
^
/usr/include/c++/v1/__tuple:219:64: note: template is declared here
template <class _Tp, size_t _Size> struct _LIBCPP_TEMPLATE_VIS array;
^1 parent d135bbc commit 65ae2ef
2 files changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
9 | 11 | | |
10 | 12 | | |
11 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
55 | | - | |
| 54 | + | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
0 commit comments