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

 
 

You are not allowed to post comments on this tracker with your current authentication level.

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

Submitted by:  None
Submitted on:  Mon 14 Mar 2005 07:44:57 PM UTC  
 
Category: Gui/AppKitSeverity: 3 - Normal
Item Group: BugStatus: Fixed
Privacy: PublicAssigned to: Adam Fedor <fedor>
Open/Closed: Closed

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>
Project AdministratorIn charge of this item.
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

 

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

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 4 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Mon 21 Mar 2005 05:25:22 PM UTCfedorStatusNone=>Fixed
  Assigned toNone=>fedor
  Open/ClosedOpen=>Closed
Mon 14 Mar 2005 07:44:57 PM UTCNoneAttached File-=>Added gnustep-gui_0.9.3-4.diff, #2306

Back to the top


Powered by Savane 3.1-cleanup1