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.

40 lines
1.4 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../udev/udev-166-glibc-2.16-PRIO_PROCESS.patch
  5. # Copyright (C) 2012 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. Fix to build with glibc >= 2.16
  17. Without including <sys/resource.h> 'PRIO_PROCESS' would be undeclared.
  18. --- udev-166/libudev/libudev-util-private.c.orig 2012-08-05 14:47:36.420234087 +0200
  19. +++ udev-166/libudev/libudev-util-private.c 2012-08-05 14:56:13.022134963 +0200
  20. @@ -21,6 +21,7 @@
  21. #include <grp.h>
  22. #include <sys/wait.h>
  23. #include <sys/param.h>
  24. +#include <sys/resource.h> /* PRIO_PROCESS */
  25. #include "libudev.h"
  26. #include "libudev-private.h"
  27. --- udev-166/udev/udevd.c.orig 2012-08-05 14:53:23.997716697 +0200
  28. +++ udev-166/udev/udevd.c 2012-08-05 14:55:46.630892576 +0200
  29. @@ -43,6 +43,7 @@
  30. #include <sys/ioctl.h>
  31. #include <sys/inotify.h>
  32. #include <sys/utsname.h>
  33. +#include <sys/resource.h> /* PRIO_PROCESS */
  34. #include "udev.h"
  35. #include "sd-daemon.h"