[Pkg-octave-commit] rev 105 - trunk/packages/octave-forge/debian/patches

Rafael Laboissiere rafael@costa.debian.org
Thu, 24 Feb 2005 08:51:00 +0100


Author: rafael
Date: 2005-02-24 08:50:59 +0100 (Thu, 24 Feb 2005)
New Revision: 105

Added:
   trunk/packages/octave-forge/debian/patches/50_exclude-xlib-in-aurecord.dpatch
Modified:
   trunk/packages/octave-forge/debian/patches/00list
Log:
Added patch for commenting X11 lib includion in main/audio/aurecord.cc
(taken from the CVS repository at SoruceForge)


Modified: trunk/packages/octave-forge/debian/patches/00list
===================================================================
--- trunk/packages/octave-forge/debian/patches/00list	2005-02-23 14:40:31 UTC (rev 104)
+++ trunk/packages/octave-forge/debian/patches/00list	2005-02-24 07:50:59 UTC (rev 105)
@@ -1,2 +1,3 @@
 50_extra-mex-configure-add
 50_big-endian-rand-fix
+50_exclude-xlib-in-aurecord

Added: trunk/packages/octave-forge/debian/patches/50_exclude-xlib-in-aurecord.dpatch
===================================================================
--- trunk/packages/octave-forge/debian/patches/50_exclude-xlib-in-aurecord.dpatch	2005-02-23 14:40:31 UTC (rev 104)
+++ trunk/packages/octave-forge/debian/patches/50_exclude-xlib-in-aurecord.dpatch	2005-02-24 07:50:59 UTC (rev 105)
@@ -0,0 +1,30 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 50_exclude-xlib-in-aurecord.dpatch by Rafael Laboissiere <rafael@debian.org>
+##
+## DP: Do not include X11 libs, since they are not used in aurecord.cc
+## DP: Taken from CVS at SourceForge on 2005-02-24
+
+@DPATCH@
+
+--- octave-forge-2004.11.16.orig/main/audio/aurecord.cc
++++ octave-forge-2004.11.16/main/audio/aurecord.cc
+@@ -19,8 +19,6 @@
+ #include <fcntl.h>
+ #include <sys/ioctl.h>
+ #include <signal.h>
+-#include <X11/X.h>
+-#include <X11/Xlib.h>
+ #include "endpoint.h" 
+ 
+ /* ==================================================================== */
+@@ -269,6 +267,10 @@
+ // This is an attempt at showing the capture interaction in an X window,
+ // programmed in raw Xlib.  It doesn't work yet.  Instead, the interaction
+ // is done on stderr.  Too bad *Inferior Octave* doesn't handle ^M properly.
++
++#include <X11/X.h>
++#include <X11/Xlib.h>
++
+ void inform(char str[])
+ {
+   static int first = 1;


Property changes on: trunk/packages/octave-forge/debian/patches/50_exclude-xlib-in-aurecord.dpatch
___________________________________________________________________
Name: svn:executable
   + *