RPM Package Manager, CVS Repository
  http://rpm5.org/cvs/
  ____________________________________________________________________________

  Server: rpm5.org                         Name:   Anders F. Björklund
  Root:   /v/rpm/cvs                       Email:  a...@rpm5.org
  Module: rpm                              Date:   16-Jun-2009 22:21:54
  Branch: HEAD                             Handle: 2009061620215301

  Modified files:
    rpm                     configure.ac
    rpm/misc                setproctitle.c

  Log:
    guard <sys/prctl.h> header include

  Summary:
    Revision    Changes     Path
    2.383       +1  -1      rpm/configure.ac
    1.6         +3  -0      rpm/misc/setproctitle.c
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: rpm/configure.ac
  ============================================================================
  $ cvs diff -u -r2.382 -r2.383 configure.ac
  --- rpm/configure.ac  12 Jun 2009 18:34:57 -0000      2.382
  +++ rpm/configure.ac  16 Jun 2009 20:21:53 -0000      2.383
  @@ -558,7 +558,7 @@
       fcntl.h getopt.h grp.h memory.h netdb.h pwd.h utime.h dnl
       signal.h sys/ipc.h sys/socket.h sys/select.h dnl
       sys/types.h sys/stdtypes.h sys/mman.h sys/resource.h dnl
  -    sys/utsname.h sys/wait.h netinet/in_systm.h dnl
  +    sys/utsname.h sys/prctl.h sys/wait.h netinet/in_systm.h dnl
       machine/types.h mntent.h sys/mnttab.h sys/systemcfg.h dnl
       sys/param.h sys/mount.h sys/mntctl.h sys/vmount.h dnl
       libio.h err.h mcheck.h limits.h libgen.h float.h dnl
  @@ .
  patch -p0 <<'@@ .'
  Index: rpm/misc/setproctitle.c
  ============================================================================
  $ cvs diff -u -r1.5 -r1.6 setproctitle.c
  --- rpm/misc/setproctitle.c   16 Jun 2009 19:28:59 -0000      1.5
  +++ rpm/misc/setproctitle.c   16 Jun 2009 20:21:54 -0000      1.6
  @@ -21,7 +21,10 @@
   
   #include "system.h"
   #include <stdarg.h>
  +
  +#ifdef HAVE_SYS_PRCTL_H
   #include <sys/prctl.h>
  +#endif
   
   #if !defined(HAVE_SETPROCTITLE)
   
  @@ .
______________________________________________________________________
RPM Package Manager                                    http://rpm5.org
CVS Sources Repository                                rpm-cvs@rpm5.org

Reply via email to