ports/76014: [patch] unbreak audio/xmms-imms

IIJIMA Hiromitsu isunin at dennougedougakkai-ndd.org
Sun Jan 9 22:20:18 UTC 2005


>Number:         76014
>Category:       ports
>Synopsis:       [patch] unbreak audio/xmms-imms
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 09 22:20:17 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     IIJIMA Hiromitsu
>Release:        FreeBSD 4.10-RELEASE i386
>Organization:
DENNOU GEDOU GAKKAI, N.D.D.
>Environment:
System: FreeBSD sodans.usata.org 4.10-RELEASE FreeBSD 4.10-RELEASE #3: Mon Jun 14 20:22:42 JST 2004 root at sodans.usata.org:/var/obj/usr/src/sys/SODANS i386

>Description:
audio/xmms-imms does not compile, at least on 4.x, because its libc does not have stdint.h.

>How-To-Repeat:
	# cd /usr/ports/audio/xmms-imms
	# make build TRYBROKEN=yes

>Fix:

--- players/xmms/plugin.h.orig	Mon Jan 10 07:10:46 2005
+++ players/xmms/plugin.h	Mon Jan 10 07:10:02 2005
@@ -1,7 +1,8 @@
 #ifndef __PLUGIN_H
 #define __PLUGIN_H
 
-#include <stdint.h>
+//#include <stdint.h>
+#include <sys/inttypes.h>
 #include "immsconf.h"
 
 #ifdef __cplusplus
--- analyzer/analyzer.cc.orig	Mon Jan 10 07:03:09 2005
+++ analyzer/analyzer.cc	Mon Jan 10 07:11:50 2005
@@ -6,7 +6,8 @@
 #include <sstream>
 #include <string.h>
 #include <fftw3.h>
-#include <stdint.h>
+// #include <stdint.h>
+#include <sys/inttypes.h>
 #include <math.h>
 
 #include <utils.h>
--- analyzer/spectrum.h.orig	Mon Jan 10 07:02:58 2005
+++ analyzer/spectrum.h	Mon Jan 10 07:11:39 2005
@@ -1,7 +1,8 @@
 #ifndef __SPECTRUM_H
 #define __SPECTRUM_H
 
-#include <stdint.h>
+// #include <stdint.h>
+#include <sys/inttypes.h>
 #include <time.h>
 #include <sys/time.h>
 




--- Makefile~	Mon Dec 20 03:54:06 2004
+++ Makefile	Mon Jan 10 07:14:22 2005
@@ -23,10 +23,6 @@
 		fftw3f.3:${PORTSDIR}/math/fftw3-float \
 		tag.4:${PORTSDIR}/audio/taglib
 
-BROKEN=		"Does not compile"
-EXPIRATION_DATE=2005-02-18
-DEPRECATED=	${BROKEN}
-
 USE_BZIP2=	yes
 USE_X_PREFIX=	yes
 USE_GNOME=	gtk12
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list