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

  Server: cvs.openpkg.org                  Name:   Michael Schloh
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   07-Dec-2004 13:08:59
  Branch: HEAD                             Handle: 2004120712085800

  Modified files:
    openpkg-src/gdb         gdb.spec

  Log:
    correct incompatabilities between SVR5 curses and ncurses (flaws in
    both packaging and original software distro)

  Summary:
    Revision    Changes     Path
    1.38        +10 -1      openpkg-src/gdb/gdb.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/gdb/gdb.spec
  ============================================================================
  $ cvs diff -u -r1.37 -r1.38 gdb.spec
  --- openpkg-src/gdb/gdb.spec  10 Nov 2004 11:50:14 -0000      1.37
  +++ openpkg-src/gdb/gdb.spec  7 Dec 2004 12:08:58 -0000       1.38
  @@ -34,7 +34,7 @@
   Group:        Development
   License:      GPL
   Version:      6.3
  -Release:      20041110
  +Release:      20041207
   
   #   list of sources
   Source0:      ftp://ftp.gnu.org/gnu/gdb/gdb-%{version}.tar.gz
  @@ -63,6 +63,9 @@
   %prep
       %setup -q
       %patch -p0
  +    %{l_shtool} subst \
  +        -e 's;\(\$(CC) -c \$(INTERNAL_CFLAGS) \)\(\$(srcdir)\);\1$(CPPFLAGS) 
\2;g' \
  +        gdb/Makefile.in
   
   %build
       CC="%{l_cc} %{l_ldflags}" \
  @@ -74,8 +77,14 @@
           --prefix=%{l_prefix} \
           --disable-nls
       cd gdb
  +    CC="%{l_cc} %{l_ldflags}" \
  +    CFLAGS="%{l_cflags -O}" \
  +    CPPFLAGS="%{l_cppflags ncurses}" \
  +    LDFLAGS="%{l_ldflags}" \
  +    LIBS="%{l_ldflags} -liconv" \
       ./configure \
           --prefix=%{l_prefix} \
  +        --cache-file=./config.cache \
           --with-libiconv-prefix=%{l_prefix} \
           --disable-nls
       cd ..
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to