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.

55 lines
1.9 KiB

  1. # --- T2-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # T2 SDE: package/.../libcap/libcap-1.10-ia64.patch
  5. # Copyright (C) 2004 - 2006 The T2 SDE Project
  6. # Copyright (C) 1998 - 2004 Clifford Wolf
  7. #
  8. # More information can be found in the files COPYING and README.
  9. #
  10. # This patch file is dual-licensed. It is available under the license the
  11. # patched project is licensed under, as long as it is an OpenSource license
  12. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  13. # of the GNU General Public License as published by the Free Software
  14. # Foundation; either version 2 of the License, or (at your option) any later
  15. # version.
  16. # --- T2-COPYRIGHT-NOTE-END ---
  17. Pulled from RedHat SRPM to (mostly) fix samba (3.0.x) compilation on
  18. non-x86 systems. Most of this patches are bare hacks - but seem to be
  19. commonly accepted ... :-(
  20. - Rene Rebe <rene.rebe@gmx.net>
  21. --- libcap-1.10/libcap/cap_sys.c.ia64 Mon May 21 16:23:27 2001
  22. +++ libcap-1.10/libcap/cap_sys.c Mon May 21 16:24:09 2001
  23. @@ -11,14 +11,6 @@
  24. #define __LIBRARY__
  25. #include <linux/unistd.h>
  26. -_syscall2(int, capget,
  27. - cap_user_header_t, header,
  28. - cap_user_data_t, data)
  29. -
  30. -_syscall2(int, capset,
  31. - cap_user_header_t, header,
  32. - const cap_user_data_t, data)
  33. -
  34. /*
  35. * $Log: cap_sys.c,v $
  36. * Revision 1.1.1.1 1999/04/17 22:16:31 morgan
  37. --- libcap-1.10/Make.Rules.ia64 Mon May 21 16:22:08 2001
  38. +++ libcap-1.10/Make.Rules Mon May 21 16:22:32 2001
  39. @@ -44,10 +44,10 @@
  40. CC=gcc
  41. COPTFLAGS=-O2
  42. DEBUG=-g #-DDEBUG
  43. -WARNINGS=-ansi -D_POSIX_SOURCE -Wall -Wwrite-strings \
  44. +WARNINGS=-D_POSIX_SOURCE -Wall -Wwrite-strings \
  45. -Wpointer-arith -Wcast-qual -Wcast-align \
  46. -Wtraditional -Wstrict-prototypes -Wmissing-prototypes \
  47. - -Wnested-externs -Winline -Wshadow -pedantic
  48. + -Wnested-externs -Winline -Wshadow
  49. LD=ld
  50. LDFLAGS=-s #-g