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:   24-Oct-2006 14:50:44
  Branch: HEAD                             Handle: 2006102413504300

  Modified files:
    openpkg-src/openser     openser.patch openser.spec

  Log:
    fix building under Sun Solaris

  Summary:
    Revision    Changes     Path
    1.4         +13 -4      openpkg-src/openser/openser.patch
    1.26        +3  -1      openpkg-src/openser/openser.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/openser/openser.patch
  ============================================================================
  $ cvs diff -u -r1.3 -r1.4 openser.patch
  --- openpkg-src/openser/openser.patch 12 Oct 2006 17:42:00 -0000      1.3
  +++ openpkg-src/openser/openser.patch 24 Oct 2006 12:50:43 -0000      1.4
  @@ -1,6 +1,15 @@
   Index: Makefile.defs
   --- Makefile.defs.orig       2006-07-10 19:57:20.000000000 +0200
  -+++ Makefile.defs    2006-10-12 16:46:28.371048766 +0200
  ++++ Makefile.defs    2006-10-24 14:37:21.637521203 +0200
  +@@ -628,7 +628,7 @@
  + ifeq                        ($(CC_SHORTVER), 4.x)
  +                                     CPU ?= ultrasparc
  +                                     #use 32bit for now
  +-                                    CFLAGS+=-mcpu=ultrasparc 
-minline-all-stringops \
  ++                                    CFLAGS+=-mcpu=ultrasparc \
  +                                                     -mtune=$(CPU) \
  +                                                     -ftree-vectorize
  + else
   @@ -987,6 +987,8 @@
    
    endif #mode=release
  @@ -23,7 +32,7 @@
    ifneq ($(found_lock_method), yes)
   Index: cfg.y
   --- cfg.y.orig       2006-07-10 15:37:02.000000000 +0200
  -+++ cfg.y    2006-10-12 16:46:28.371878474 +0200
  ++++ cfg.y    2006-10-24 14:36:05.572200941 +0200
   @@ -854,7 +854,7 @@
                                                                
tos=IPTOS_THROUGHPUT;
                                                        } else if 
(strcasecmp($3,"IPTOS_RELIABILITY")) {
  @@ -35,7 +44,7 @@
    #endif
   Index: rtpproxy/main.c
   --- rtpproxy/main.c.orig     2006-07-05 02:14:19.000000000 +0200
  -+++ rtpproxy/main.c  2006-10-12 18:52:30.244787676 +0200
  ++++ rtpproxy/main.c  2006-10-24 14:36:05.573430941 +0200
   @@ -38,7 +38,7 @@
    #include <sys/select.h>
    #include <sys/stat.h>
  @@ -101,7 +110,7 @@
            err(1, "can't switch into daemon mode");
   Index: rtpproxy/rtpp_util.h
   --- rtpproxy/rtpp_util.h.orig        2006-04-13 06:29:19.000000000 +0200
  -+++ rtpproxy/rtpp_util.h     2006-10-12 16:50:58.099769521 +0200
  ++++ rtpproxy/rtpp_util.h     2006-10-24 14:36:05.573806775 +0200
   @@ -83,7 +83,7 @@
    #define     DEFFILEMODE     
(S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH)
    #endif
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/openser/openser.spec
  ============================================================================
  $ cvs diff -u -r1.25 -r1.26 openser.spec
  --- openpkg-src/openser/openser.spec  13 Oct 2006 17:30:59 -0000      1.25
  +++ openpkg-src/openser/openser.spec  24 Oct 2006 12:50:43 -0000      1.26
  @@ -37,7 +37,7 @@
   Group:        VoIP
   License:      GPL
   Version:      %{V_openser}
  -Release:      20061013
  +Release:      20061024
   
   #   package options
   %option       with_fsl  yes
  @@ -139,6 +139,7 @@
   
       #   install program
       %{l_make} %{l_mflags} \
  +        INSTALL="%{l_shtool} install%{l_nil} -c" \
           basedir=$RPM_BUILD_ROOT \
           prefix=%{l_prefix} \
           cfg-prefix=$RPM_BUILD_ROOT \
  @@ -149,6 +150,7 @@
   
       #   install modules
       %{l_make} %{l_mflags} \
  +        INSTALL="%{l_shtool} install%{l_nil} -c" \
           basedir=$RPM_BUILD_ROOT \
           prefix=%{l_prefix} \
           cfg-prefix=$RPM_BUILD_ROOT \
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     openpkg-cvs@openpkg.org

Reply via email to