gettext: update to 0.23.1
[oi-userland.git] / components / database / mariadb-106 / patches / 17_ifreq-hwaddr.patch
blobd64fc782c301daa5b954a52ed4a24dd47254947b
1 --- mariadb-10.6.16/mysys/my_gethwaddr.c.orig
2 +++ mariadb-10.6.16/mysys/my_gethwaddr.c
3 @@ -119,6 +119,8 @@
4 #if defined(_AIX) || defined(__linux__)
5 #if defined(__linux__)
6 #define HWADDR_DATA ifr[i].ifr_hwaddr.sa_data
7 +#elif defined(__sun)
8 +#define HWADDR_DATA ifr[i].ifr_enaddr
9 #else
10 #define HWADDR_DATA ifr[i].ifr_hwaddr
11 #endif