Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Apr 2004 22:33:56 +1000 (EST)
From:      Tim Robbins <tim@robbins.dropbear.id.au>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/65435: (patch) audio/xmms-musepack broken on amd64
Message-ID:  <20040411123356.5EEB841DF@robbins.dropbear.id.au>
Resent-Message-ID: <200404111240.i3BCeJCZ040931@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         65435
>Category:       ports
>Synopsis:       (patch) audio/xmms-musepack broken on amd64
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 11 05:40:18 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Tim Robbins
>Release:        FreeBSD 5.2-tjr amd64
>Organization:
The FreeBSD Project
>Environment:
System: FreeBSD 5.2-tjr amd64

>Description:
audio/xmms-musepack is marked BROKEN on amd64 - it needs to be compiled
with -fPIC.

>How-To-Repeat:
Try to build xmms-musepack on amd64.

>Fix:

Add this file as ports/audio/xmms-musepack/files/patch-Makefile:

--- Makefile.orig	Sun Apr 11 22:26:12 2004
+++ Makefile	Sun Apr 11 22:26:24 2004
@@ -13,7 +13,7 @@
 
 xmms-mpegplus-$(VERSION).so: In_mpp.c bitstream.c huff_new.c huff_old.c \
 		 requant.c resort.c synth_filter.c mpp_dec.c Makefile
-	gcc -DVERSION=\"$(VERSION)\" -Wall -pedantic -shared `xmms-config --cflags --libs` \
+	gcc -fPIC -DPIC -DVERSION=\"$(VERSION)\" -Wall -pedantic -shared `xmms-config --cflags --libs` \
 	`gtk-config --cflags --libs` -o xmms-mpegplus-`echo $(VERSION)`.so \
 	In_mpp.c bitstream.c huff_new.c huff_old.c requant.c resort.c \
 	synth_filter.c mpp_dec.c
>Release-Note:
>Audit-Trail:
>Unformatted:



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