OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
1.5 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../musl/pkg/mdadm/0006-mdadm-musl-execl-missing-sentinel.patch
  5. # Copyright (C) 2013 The OpenSDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This patch file is dual-licensed. It is available under the license the
  10. # patched project is licensed under, as long as it is an OpenSource license
  11. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  12. # of the GNU General Public License as published by the Free Software
  13. # Foundation; either version 2 of the License, or (at your option) any later
  14. # version.
  15. # --- SDE-COPYRIGHT-NOTE-END ---
  16. error: missing sentinel in function call [-Werror=format]
  17. --- a/util.c 2013-12-16 19:20:10.501872646 +0100
  18. +++ b/util.c 2013-12-16 19:20:32.118396213 +0100
  19. @@ -1656,11 +1656,11 @@
  20. if (__offroot) {
  21. execl(paths[i], "mdmon", "--offroot",
  22. devnum2devname(devnum),
  23. - NULL);
  24. + (char *)NULL);
  25. } else {
  26. execl(paths[i], "mdmon",
  27. devnum2devname(devnum),
  28. - NULL);
  29. + (char *)NULL);
  30. }
  31. }
  32. exit(1);
  33. --- a/Monitor.c 2013-12-16 19:21:05.623164042 +0100
  34. +++ b/Monitor.c 2013-12-16 19:23:33.718570949 +0100
  35. @@ -361,7 +361,7 @@
  36. break;
  37. case 0:
  38. execl(info->alert_cmd, info->alert_cmd,
  39. - event, dev, disc, NULL);
  40. + event, dev, disc, (char *)NULL);
  41. exit(2);
  42. }
  43. }