No Description

0001-fix-build-with-musl.patch 486B

12345678910111213
  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. memcpy(&req, &(net->dev), sizeof(struct ifreq));
  8. - req.ifr_data = (caddr_t)epa;
  9. + req.ifr_data = (char *)epa;
  10. if (ioctl(net->sock, SIOCETHTOOL, &req) < 0) {
  11. perror ("[ERROR] Could not read permanent MAC");