bugGNUstep - Bugs: bug #12316, FTBFS on kfreebsd-gnu (fwd)

Group
 
 

bug #12316: FTBFS on kfreebsd-gnu (fwd)

Submitter:  None
Submitted:  Mon 14 Mar 2005 07:44:57 PM UTC
   
 
Category:  Gui/AppKit Severity:  3 - Normal
Item Group:  Bug Status:  Fixed
Privacy:  Public Assigned to:  fedor
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 21 Mar 2005 05:25:22 PM UTC, comment #1: 

Fixed

2005-03-21  Adam Fedor  <fedor@gnu.org>

  • Tools/gsnd/portaudio/pa_unix_oss/pa_unix_oss.c: Fix for FreeBSD

FTBFS (Fixes Bug #12316). Strip DOS CRs.

Adam Fedor <fedor>
Group administrator
Mon 14 Mar 2005 07:44:57 PM UTC, original submission:  

Forwarded from Debian Bug Traking System
(kfreebsd-gnu is the FreeBSD Debian port)

Original bug submitter is
Robert Millan <rmh@debian.org>

>Package: gnustep-gui
>Severity: wishlist
>Tags: patch
>
>The attached patch fixes FTBFS on kfreebsd-gnu.  Please >could you forward
>it upstream?
>
>OTOH, I think it'd be worth parsing the file in question >with a cleanup tool
>like dos2unix or indent.  It's full of weird CR/LF >terminators.


diff -ur gnustep-gui-0.9.3.old/Tools/gsnd/portaudio/pa_unix_oss/pa_unix_oss.c gnustep-gui-0.9.3/Tools/gsnd/portaudio/pa_unix_oss/pa_unix_oss.c
--- gnustep-gui-0.9.3.old/Tools/gsnd/portaudio/pa_unix_oss/pa_unix_oss.c 2003-07-20 04:08:22.000000000 +0200
+++ gnustep-gui-0.9.3/Tools/gsnd/portaudio/pa_unix_oss/pa_unix_oss.c 2004-08-25 02:29:18.000000000 +0200
@@ -109,19 +109,15 @@
 #include <pthread.h>
 #include <errno.h>
 
-#ifdef _linux_
+#if defined(_linux_)
 #include <linux/soundcard.h>
-#else
-#ifdef _FreeBSD_
+#elif defined(_FreeBSD_) || defined(_FreeBSD_kernel_)
 #include <sys/soundcard.h>
-#else
-#ifdef _OpenBSD_
+#elif defined(_OpenBSD_)
 #include <soundcard.h>
-#else
+#else
 #include <machine/soundcard.h> /* JH20010905 */
 #endif
-#endif
-#endif
 
 #include "portaudio.h"
 #include "pa_host.h"

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #2728:  gnustep-gui_0.9.3-4.diff added by None (823B - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

Follow 4 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2005-03-21 fedor StatusNone Fixed
    Assigned toNone fedor
    Open/ClosedOpen Closed
2005-03-14 None Attached File- Added gnustep-gui_0.9.3-4.diff, #2306

Back to the top

Powered by Savane 3.14-5139.
Corresponding source code