packages: lcr/lcr.spec, lcr/lcr-no_compat.patch (NEW) - disable mISDN compa...

jajcus jajcus at pld-linux.org
Tue Jun 16 12:24:15 CEST 2009


Author: jajcus                       Date: Tue Jun 16 10:24:15 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- disable mISDN compatibility code. Old mISDN socket API was never included in PLD and the compatibility code seems broken.

---- Files affected:
packages/lcr:
   lcr.spec (1.2 -> 1.3) , lcr-no_compat.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/lcr/lcr.spec
diff -u packages/lcr/lcr.spec:1.2 packages/lcr/lcr.spec:1.3
--- packages/lcr/lcr.spec:1.2	Mon Jun 15 15:32:51 2009
+++ packages/lcr/lcr.spec	Tue Jun 16 12:24:10 2009
@@ -14,6 +14,7 @@
 Source2:	%{name}.init
 Patch0:		%{name}-ncurses.patch
 Patch1:		%{name}-dirs.patch
+Patch2:		%{name}-no_compat.patch
 URL:		http://www.linux-call-router.de/
 BuildRequires:	asterisk-devel
 BuildRequires:	autoconf
@@ -47,6 +48,7 @@
 %setup -q -n %{name}
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
 %{__aclocal}
@@ -101,6 +103,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2009/06/16 10:24:10  jajcus
+- disable mISDN compatibility code. Old mISDN socket API was never included in PLD and the compatibility code seems broken.
+
 Revision 1.2  2009/06/15 13:32:51  jajcus
 - adapterized
 

================================================================
Index: packages/lcr/lcr-no_compat.patch
diff -u /dev/null packages/lcr/lcr-no_compat.patch:1.1
--- /dev/null	Tue Jun 16 12:24:15 2009
+++ packages/lcr/lcr-no_compat.patch	Tue Jun 16 12:24:10 2009
@@ -0,0 +1,22 @@
+diff -dur -x '*~' lcr.orig/bchannel.c lcr/bchannel.c
+--- lcr.orig/bchannel.c	2009-06-06 23:42:04.000000000 +0200
++++ lcr/bchannel.c	2009-06-16 12:13:51.000000000 +0200
+@@ -26,7 +26,6 @@
+ #include <mISDNif.h>
+ 
+ #define AF_COMPATIBILITY_FUNC 1
+-#define MISDN_OLD_AF_COMPATIBILITY 1
+ #include <compat_af_isdn.h>
+ 
+ #define HAVE_ATTRIBUTE_always_inline 1
+diff -dur -x '*~' lcr.orig/mISDN.cpp lcr/mISDN.cpp
+--- lcr.orig/mISDN.cpp	2009-05-14 20:01:46.000000000 +0200
++++ lcr/mISDN.cpp	2009-06-16 12:14:04.000000000 +0200
+@@ -13,7 +13,6 @@
+ #include "myisdn.h"
+ 
+ extern "C" {
+-#define MISDN_OLD_AF_COMPATIBILITY 1
+ #include <compat_af_isdn.h>
+ }
+ #include <q931.h>
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/lcr/lcr.spec?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list