ports/76914: /usr/ports/audio/xmms-osssurround (build error amd64)
Gert Cuykens
gert.cuykens at gmail.com
Tue Feb 1 10:40:23 UTC 2005
The following reply was made to PR ports/76914; it has been noted by GNATS.
From: Gert Cuykens <gert.cuykens at gmail.com>
To: Tilman Linneweh <arved at freebsd.org>
Cc: freebsd-ports-bugs at freebsd.org, freebsd-gnats-submit at freebsd.org
Subject: Re: ports/76914: /usr/ports/audio/xmms-osssurround (build error amd64)
Date: Tue, 1 Feb 2005 11:36:06 +0100
On Tue, 1 Feb 2005 11:08:25 +0100, Tilman Linneweh <arved at freebsd.org> wrote:
> * Gert Cuykens [2005-02-01 07:05]:
> > > Works fine here.
> > >
> > > Do you have the patch files in the port's files-dir?
> > >
> > No i did not put or replaced any files in the port directory.
> > Did you test it on a amd64 ?
>
> Yes.
>
> > Can you post your make file please and the make output ?
> > Did it compile with cc -fPIC ... ?
>
> Yes, that's why I was asking which patch files you have in the
> files-directory.
>
7rxI# ls
patch-OSSSurround-0.1_Makefile patch-OSSSurround-0.1_configure.c
7rxI# cat patch-OSSSurround-0.1_configure.c
$FreeBSD: ports/audio/xmms-osssurround/files/patch-OSSSurround-0.1_configure.c,v
1.1 2002/08/11 21:04:30 naddy Exp $
--- OSSSurround-0.1/configure.c.orig Sun Jan 6 14:36:17 2002
+++ OSSSurround-0.1/configure.c Thu Aug 1 19:10:21 2002
@@ -136,7 +136,7 @@
}
else
item =
gtk_menu_item_new_with_label(buffer);
- gtk_signal_connect(GTK_OBJECT(item),
"activate", sigfunc, (gpointer) index++);
+ gtk_signal_connect(GTK_OBJECT(item),
"activate", sigfunc, GINT_TO_POINTER(index++));
gtk_widget_show(item);
gtk_menu_append(GTK_MENU(menu), item);
}
7rxI# cat patch-OSSSurround-0.1_Makefile
$FreeBSD: ports/audio/xmms-osssurround/files/patch-OSSSurround-0.1_Makefile,v
1.1 2002/08/11 21:04:30 naddy Exp $
--- OSSSurround-0.1/Makefile.orig Sun Mar 31 10:26:30 2002
+++ OSSSurround-0.1/Makefile Thu Aug 1 19:16:46 2002
@@ -1,34 +1,34 @@
-CFLAGS = `gtk-config --cflags`
+CFLAGS += `xmms-config --cflags`
all: libOSSSurround.so
libOSSSurround.so: about.o audio.o configure.o convert.o init.o mixer.o OSS.o
- gcc -shared -olibOSSSurround.so about.o audio.o configure.o
convert.o init.o mixer.o OSS.o
+ ${CC} -shared -olibOSSSurround.so about.o audio.o configure.o
convert.o init.o mixer.o OSS.o
about.o: about.c config.h i18n.h OSS.h
- gcc -c -oabout.o about.c ${CFLAGS}
+ ${CC} ${CFLAGS} -c -oabout.o about.c
audio.o: audio.c config.h i18n.h OSS.h
- gcc -c -oaudio.o audio.c ${CFLAGS}
+ ${CC} ${CFLAGS} -c -oaudio.o audio.c
configure.o: configure.c config.h i18n.h OSS.h
- gcc -c -oconfigure.o configure.c ${CFLAGS}
+ ${CC} ${CFLAGS} -c -oconfigure.o configure.c
convert.o: convert.c config.h i18n.h OSS.h
- gcc -c -oconvert.o convert.c ${CFLAGS}
+ ${CC} ${CFLAGS} -c -oconvert.o convert.c
init.o: init.c config.h i18n.h OSS.h
- gcc -c -oinit.o init.c ${CFLAGS}
+ ${CC} ${CFLAGS} -c -oinit.o init.c
mixer.o: mixer.c config.h i18n.h OSS.h
- gcc -c -omixer.o mixer.c ${CFLAGS}
+ ${CC} ${CFLAGS} -c -omixer.o mixer.c
OSS.o: OSS.c config.h i18n.h OSS.h
- gcc -c -oOSS.o OSS.c ${CFLAGS}
+ ${CC} ${CFLAGS} -c -oOSS.o OSS.c
clean:
rm -f *.o libOSSSurround.so
install: libOSSSurround.so
install -s -o root -g root -m 755 libOSSSurround.so
"`xmms-config --output-plugin-dir`"
- echo `xmms-config --output-plugin-dir`/libOSSSurround.so >>
../installed.files
+ echo `xmms-config --output-plugin-dir`/libOSSSurround.so >>
../installed.files
7rxI#
More information about the freebsd-ports-bugs
mailing list