Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Oct 2003 16:40:48 +0300
From:      "Samy Al Bahra" <samy@kerneled.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/58426: Fix audio/xtuner port on 5.X
Message-ID:  1066916438@beastie.freebsd.local
Resent-Message-ID: <200310231350.h9NDoKQE072727@freefall.freebsd.org>

| raw e-mail | index | archive | help

>Number:         58426
>Category:       ports
>Synopsis:       Fix audio/xtuner port on 5.X
>Confidential:   no
>Severity:       critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 23 06:50:20 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Samy Al Bahra
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
Kerneled 
>Environment:


System: FreeBSD beastie.freebsd.local 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Wed Aug 20 18:35:24 AST 2003     samy@beastie.freebsd.local:/usr/src/sys/i386/compile/KERNELED i386  


>Description:


xtuner does not build on 5.X systems
because it uses multiline string
literals (depreciated in gcc 3.X). The
attached patch fixes this problem.


>How-To-Repeat:


Build on a 5.X system.


>Fix:


diff -ruN xtuner/Makefile /tmp/xtuner/Makefile
--- xtuner/Makefile	Thu Oct 23 16:37:37 2003
+++ /tmp/xtuner/Makefile	Thu Oct 23 16:35:15 2003
@@ -19,10 +19,4 @@
 USE_IMAKE=	YES
 USE_XPM=	YES
 
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 501000
-BROKEN=		"Does not compile"
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff -ruN xtuner/files/patch-misc.c /tmp/xtuner/files/patch-misc.c
--- xtuner/files/patch-misc.c	Thu Jan  1 03:00:00 1970
+++ /tmp/xtuner/files/patch-misc.c	Thu Oct 23 16:37:09 2003
@@ -0,0 +1,13 @@
+--- misc.c.orig	Thu Oct 23 16:35:41 2003
++++ misc.c	Thu Oct 23 16:36:26 2003
+@@ -90,8 +90,8 @@
+     else
+     {
+       fprintf(stderr,"Usage: xtuner [-0x20 | -0x30]  -24 \n");
+-      fprintf(stderr,"Which specifies the port for the radio card and 24hr
+-      time format \n");
++      fprintf(stderr,"Which specifies the port for the radio card and 24hr\n"\
++"      time format \n");
+       exit(1);
+     }
+     cmd++; 



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1066916438>