0001-fix-build-with-musl.patch (486B)
1 Index: macchanger-1.7.0/src/netinfo.c 2 =================================================================== 3 --- macchanger-1.7.0.orig/src/netinfo.c 4 +++ macchanger-1.7.0/src/netinfo.c 5 @@ -113,7 +113,7 @@ mc_net_info_get_permanent_mac (const net 6 epa->size = IFHWADDRLEN; 7 8 memcpy(&req, &(net->dev), sizeof(struct ifreq)); 9 - req.ifr_data = (caddr_t)epa; 10 + req.ifr_data = (char *)epa; 11 12 if (ioctl(net->sock, SIOCETHTOOL, &req) < 0) { 13 perror ("[ERROR] Could not read permanent MAC");