[Pkg-voip-commits] r2052 - in openser/trunk/debian: . patches

Julien Blache jblache at costa.debian.org
Wed Jul 12 12:38:57 UTC 2006


Author: jblache
Date: 2006-07-12 12:38:56 +0000 (Wed, 12 Jul 2006)
New Revision: 2052

Added:
   openser/trunk/debian/patches/11_always_smp.dpatch
Modified:
   openser/trunk/debian/changelog
   openser/trunk/debian/patches/00list
Log:
Always build an SMP-enabled OpenSER.


Modified: openser/trunk/debian/changelog
===================================================================
--- openser/trunk/debian/changelog	2006-07-12 12:29:58 UTC (rev 2051)
+++ openser/trunk/debian/changelog	2006-07-12 12:38:56 UTC (rev 2052)
@@ -21,8 +21,10 @@
       direct execution.
   * debian/patches/10_no_lib64_on_64_bits.dpatch:
     + Added; use /usr/lib even on 64bit architectures.
+  * debian/patches/11_always_smp.dpatch:
+    + Added; always build an SMP-enabled OpenSER.
 
- -- Julien BLACHE <jblache at debian.org>  Wed, 12 Jul 2006 14:28:07 +0200
+ -- Julien BLACHE <jblache at debian.org>  Wed, 12 Jul 2006 14:37:40 +0200
 
 openser (1.0.1-1) unstable; urgency=low
 

Modified: openser/trunk/debian/patches/00list
===================================================================
--- openser/trunk/debian/patches/00list	2006-07-12 12:29:58 UTC (rev 2051)
+++ openser/trunk/debian/patches/00list	2006-07-12 12:38:56 UTC (rev 2052)
@@ -1,3 +1,4 @@
 01_sourced_scripts
 10_no_lib64_on_64_bits
+11_always_smp
 

Added: openser/trunk/debian/patches/11_always_smp.dpatch
===================================================================
--- openser/trunk/debian/patches/11_always_smp.dpatch	2006-07-12 12:29:58 UTC (rev 2051)
+++ openser/trunk/debian/patches/11_always_smp.dpatch	2006-07-12 12:38:56 UTC (rev 2052)
@@ -0,0 +1,24 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 11_always_smp.dpatch by  <jblache at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Always build for SMP.
+
+ at DPATCH@
+diff -urNad openser-1.1.0~/Makefile.defs openser-1.1.0/Makefile.defs
+--- openser-1.1.0~/Makefile.defs	2006-07-12 14:32:06.141906366 +0200
++++ openser-1.1.0/Makefile.defs	2006-07-12 14:32:43.037330136 +0200
+@@ -77,12 +77,7 @@
+ 	endif
+ endif
+ 
+-SMP_STR = $(shell uname -v | grep -i "SMP")
+-ifeq (,$(SMP_STR))
+-	ISSMP=no
+-else
+-	ISSMP=yes
+-endif
++ISSMP=yes
+ 
+ OSREL = $(shell uname -r)
+ # numerical version (good for comparisons: A.B.C => A*1000000+B*1000+C)


Property changes on: openser/trunk/debian/patches/11_always_smp.dpatch
___________________________________________________________________
Name: svn:executable
   + *




More information about the Pkg-voip-commits mailing list