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

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   30-Oct-2005 10:00:59
  Branch: HEAD                             Handle: 2005103009005800

  Added files:
    openpkg-src/nano        nano.patch
  Modified files:
    openpkg-src/nano        nano.spec

  Log:
    make sure Nano correctly detects S-Lang 2.0

  Summary:
    Revision    Changes     Path
    1.3         +11 -0      openpkg-src/nano/nano.patch
    1.50        +4  -1      openpkg-src/nano/nano.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/nano/nano.patch
  ============================================================================
  $ cvs diff -u -r0 -r1.3 nano.patch
  --- /dev/null 2005-10-30 10:00:59 +0100
  +++ nano.patch        2005-10-30 10:00:58 +0100
  @@ -0,0 +1,11 @@
  +Index: configure
  +--- configure.orig   2005-10-24 03:44:35 +0200
  ++++ configure        2005-10-30 09:31:17 +0100
  +@@ -6385,6 +6385,7 @@
  + int main(void)
  + {
  +     SLutf8_enable(TRUE);
  ++    SLcurses_start_color();
  +     return 0;
  + }
  + _ACEOF
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/nano/nano.spec
  ============================================================================
  $ cvs diff -u -r1.49 -r1.50 nano.spec
  --- openpkg-src/nano/nano.spec        25 Oct 2005 06:49:42 -0000      1.49
  +++ openpkg-src/nano/nano.spec        30 Oct 2005 09:00:58 -0000      1.50
  @@ -37,10 +37,11 @@
   Group:        Editor
   License:      GPL
   Version:      %{V_major}.%{V_minor}
  -Release:      20051025
  +Release:      20051030
   
   #   list of sources
   Source0:      
http://www.nano-editor.org/dist/v%{V_major}/nano-%{version}.tar.gz
  +Patch0:       nano.patch
   
   #   build information
   Prefix:       %{l_prefix}
  @@ -65,6 +66,7 @@
   
   %prep
       %setup -q
  +    %patch -p0
   
   %build
       CC="%{l_cc}" \
  @@ -72,6 +74,7 @@
       ./configure \
           --prefix=%{l_prefix} \
           --with-slang=%{l_prefix} \
  +        --enable-utf8 \
           --disable-nls
       %{l_make} %{l_mflags -O}
   
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     openpkg-cvs@openpkg.org

Reply via email to