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

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src openpkg-web          Date:   31-Jan-2003 13:47:57
  Branch: HEAD                             Handle: 2003013112475501

  Modified files:
    openpkg-src/glib        glib.spec
    openpkg-web             news.txt

  Log:
    add thread support and allow it to be disabled

  Summary:
    Revision    Changes     Path
    1.23        +10 -3      openpkg-src/glib/glib.spec
    1.3123      +1  -0      openpkg-web/news.txt
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/glib/glib.spec
  ============================================================================
  $ cvs diff -u -r1.22 -r1.23 glib.spec
  --- openpkg-src/glib/glib.spec        3 Jan 2003 10:52:14 -0000       1.22
  +++ openpkg-src/glib/glib.spec        31 Jan 2003 12:47:56 -0000      1.23
  @@ -33,7 +33,10 @@
   Group:        Algorithm
   License:      GPL
   Version:      1.2.10
  -Release:      20020829
  +Release:      20030131
  +
  +#   package options
  +%option       with_threads  yes
   
   #   list of sources
   Source0:      ftp://ftp.gtk.org/pub/gtk/v1.2/glib-%{version}.tar.gz
  @@ -61,8 +64,12 @@
       ./configure \
           --prefix=%{l_prefix} \
           --disable-debug \
  -        --disable-threads \
  -        --disable-shared
  +        --disable-shared \
  +%if "%{with_threads}" == "yes"
  +        --enable-threads
  +%else
  +        --disable-threads
  +%endif
       %{l_make} %{l_mflags -O}
   
   %install
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-web/news.txt
  ============================================================================
  $ cvs diff -u -r1.3122 -r1.3123 news.txt
  --- openpkg-web/news.txt      31 Jan 2003 12:02:57 -0000      1.3122
  +++ openpkg-web/news.txt      31 Jan 2003 12:47:55 -0000      1.3123
  @@ -1,3 +1,4 @@
  +31-Jan-2003: Upgraded package: P<glib-1.2.10-20030131>
   31-Jan-2003: New package: P<libmikmod-3.1.10-20030131>
   31-Jan-2003: Upgraded package: P<xmms-1.2.7-20030131>
   31-Jan-2003: New package: P<libsndfile-1.0.3-20030131>
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to