OpenPKG CVS Repository
  http://cvs.openpkg.org/
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs                   Email:  r...@openpkg.org
  Module: openpkg-src                      Date:   01-Nov-2009 22:56:26
  Branch: HEAD                             Handle: 2009110121562600

  Modified files:
    openpkg-src/git         git.spec

  Log:
    apply a workaround for some ancient SLES systems which seem to have a
    'struct option' somewhere in the system includes

  Summary:
    Revision    Changes     Path
    1.160       +4  -1      openpkg-src/git/git.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/git/git.spec
  ============================================================================
  $ cvs diff -u -r1.159 -r1.160 git.spec
  --- openpkg-src/git/git.spec  26 Oct 2009 18:48:01 -0000      1.159
  +++ openpkg-src/git/git.spec  1 Nov 2009 21:56:26 -0000       1.160
  @@ -40,7 +40,7 @@
   Group:        SCM
   License:      GPL
   Version:      %{V_git}
  -Release:      20091026
  +Release:      20091101
   
   #   package options
   %option       with_doc     yes
  @@ -142,6 +142,9 @@
   %build
       #   build GIT core
       ( cd git-%{V_git}
  +      find . -name "*.[ch]" -print |\
  +      xargs %{l_shtool} subst \
  +          -e 's;struct option;struct git_option;g'
         ( echo "GITWEB_CONFIG         = %{l_prefix}/etc/git/gitweb.config.pl"
           echo "GITWEB_BASE_URL       = /openpkg-cgi/gitweb.d"
           echo "GITWEB_CSS            = /openpkg-cgi/gitweb.d/gitweb.css"
  @@ .
______________________________________________________________________
OpenPKG                                             http://openpkg.org
CVS Repository Commit List                     openpkg-cvs@openpkg.org

Reply via email to