Subject: pkg/21910: pkgsrc/audio/xmms doesn't build on FreeBSD 5.x + fix
To: None <gnats-bugs@gnats.netbsd.org>
From: None <juan@xtraeme.unixbsd.org>
List: netbsd-bugs
Date: 06/17/2003 01:13:44
>Number:         21910
>Category:       pkg
>Synopsis:       pkgsrc/audio/xmms doesn't build on FreeBSD 5.x + fix
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Jun 16 23:10:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Juan RP
>Release:        NetBSD 1.6T
>Organization:
>Environment:
System: NetBSD Insomnio 1.6T NetBSD 1.6T (Insomnio) #6: Tue Jun 10 06:28:59 CEST 2003 juan@Nocturno:/home/juan/current/obj/sys/arch/i386/compile/Insomnio i386
Architecture: i386
Machine: i386
>Description:

On FreeBSD 5.x systems, the <sys/sysctl.h> needs the header of
<sys/types.h> to build cleanly. This patch fixes this issue.

Note: xmms doesn't work without the another patches for glib 
( pkg/21909 )

>How-To-Repeat:
>Fix:


Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/audio/xmms/distinfo,v
retrieving revision 1.14
diff -b -u -r1.14 distinfo
--- distinfo	2003/06/06 19:31:55	1.14
+++ distinfo	2003/06/16 23:02:51
@@ -8,7 +8,7 @@
 SHA1 (patch-ad) = 7645b1a2bbb338c9bea8b2015d5763486f77d16a
 SHA1 (patch-af) = 472e2504fae530b34785e18d38d6f45891494a6d
 SHA1 (patch-ag) = 24a56ba54752994806518872d03709559f5ac620
-SHA1 (patch-ah) = 3d03813b29a1d0fe734c209e707264551ecd7138
+SHA1 (patch-ah) = cb0c9c4095e4444746d6a157cb4b4431b2fa26d0
 SHA1 (patch-ai) = 534fe71062cb38d35089b94af7a186255864e82f
 SHA1 (patch-aj) = 95e965c5033dea5d2b0be2a22058f19504da0031
 SHA1 (patch-ak) = 83f26d8d0a80def2ee28aa09f3261ff97d019dbf
Index: patches/patch-ah
===================================================================
RCS file: /cvsroot/pkgsrc/audio/xmms/patches/patch-ah,v
retrieving revision 1.5
diff -b -u -r1.5 patch-ah
--- patches/patch-ah	2002/10/25 08:59:05	1.5
+++ patches/patch-ah	2003/06/16 23:02:51
@@ -1,8 +1,14 @@
-$NetBSD: patch-ah,v 1.5 2002/10/25 08:59:05 skrll Exp $
+--- libxmms/util.c.orig	Mon Jun 16 23:25:06 2003
++++ libxmms/util.c	Mon Jun 16 23:25:31 2003
+@@ -11,6 +11,7 @@
+ #endif
 
---- libxmms/util.c.orig	Fri Jun  1 08:07:49 2001
-+++ libxmms/util.c
-@@ -72,7 +76,7 @@
+ #ifdef __FreeBSD__
++#include <sys/types.h>
+ #include <sys/sysctl.h>
+ #endif
+ 
+@@ -72,7 +73,7 @@
  
  gboolean xmms_check_realtime_priority(void)
  {
>Release-Note:
>Audit-Trail:
>Unformatted: