~ubuntu-branches/ubuntu/precise/puredata/precise

« back to all changes in this revision

Viewing changes to debian/patches/audio_oss_cleanup.patch

  • Committer: Bazaar Package Importer
  • Author(s): Paul Brossier, IOhannes m zmölnig, Paul Brossier
  • Date: 2011-05-11 01:03:01 UTC
  • Revision ID: james.westby@ubuntu.com-20110511010301-fem05b1q975xx0gz
Tags: 0.43.0-3
[ IOhannes m zmölnig ]
* debian/patches/kfreebsd_fixes.patch: kFreeBSD build fixes
* debian/rules: simplified arch-dependent build-depends
* debian/rules: use dh_auto_configure, distinguish between linux/non-linux
* debian/patches/audio_oss_cleanup.patch: cleanup ifdef logic in
  s_audio_oss.c
* debian/patches/hurd_fixes.patch: fix hurd compilation
* debian/patches/series: updated
* debian/rules: link with --as-needed
* debian/patches/clean_helpbrowser.patch: cleanup helpbrowser to show files
  after directories
* forwarded patches to upstream
* debian/changelog: shortened changelog-lines to keep lintian happy
* debian/control: Conflict with older versions of puredata (Closes: #625663)

[ Paul Brossier ]
* debian/changelog: write changelog, build and upload package.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Author: Pino Toscano
 
2
Description: sys/soundcard.h includes linux/soundcard.h on linux,
 
3
 so there is no need for complications
 
4
Forward: https://sourceforge.net/tracker/?func=detail&aid=3297661&group_id=55736&atid=478072
 
5
--- puredata.orig/src/s_audio_oss.c
 
6
+++ puredata/src/s_audio_oss.c
 
7
@@ -5,11 +5,7 @@
 
8
 
 
9
 /* this file inputs and outputs audio using the OSS API available on linux. */
 
10
 
 
11
-#if defined(__FreeBSD_kernel__)
 
12
-# include <sys/soundcard.h>
 
13
-#else
 
14
-# include <linux/soundcard.h>
 
15
-#endif
 
16
+#include <sys/soundcard.h>
 
17
 
 
18
 #include "m_pd.h"
 
19
 #include "s_stuff.h"