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

  Server: rpm5.org                         Name:   Jeff Johnson
  Root:   /v/rpm/cvs                       Email:  j...@rpm5.org
  Module: rpm                              Date:   23-Sep-2013 06:25:45
  Branch: rpm-5_4                          Handle: 2013092304254400

  Modified files:           (Branch: rpm-5_4)
    rpm/rpmio               rpmgit.c

  Log:
    - git: fix: permit --without-libgit2 "make distcheck".

  Summary:
    Revision    Changes     Path
    2.1.2.39    +2  -0      rpm/rpmio/rpmgit.c
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: rpm/rpmio/rpmgit.c
  ============================================================================
  $ cvs diff -u -r2.1.2.38 -r2.1.2.39 rpmgit.c
  --- rpm/rpmio/rpmgit.c        5 Sep 2013 17:11:14 -0000       2.1.2.38
  +++ rpm/rpmio/rpmgit.c        23 Sep 2013 04:25:44 -0000      2.1.2.39
  @@ -950,6 +950,7 @@
   
   /*==============================================================*/
   /* parse the tail of the --shared= argument */
  +#if defined(WITH_LIBGIT2)
   static uint32_t parse_shared(const char * shared)
   {
       if (!strcmp(shared, "false")
  @@ -1054,6 +1055,7 @@
       }
       return xx;
   }
  +#endif       /* defined(WITH_LIBGIT2) */
   
   rpmRC rpmgitCmdInit(int argc, char *argv[])
   {
  @@ .
______________________________________________________________________
RPM Package Manager                                    http://rpm5.org
CVS Sources Repository                                rpm-cvs@rpm5.org

Reply via email to