[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#110832: [PATCH] mpg123 support for Debian HPPA/Linux



Package: mpg123
Version: 0.59r-8

mpg123 isn't yet available on Debian/HPPA/Linux since
it didn't compiled on this architecture yet.
Could someone of you Debian-maintainers please apply the 
following (tested) patch (on top of the debian mpg123 patches) which should 
let mpg123 build cleanly for HPPA too ?

Thanks in advance,
Helge

diff -ur mpg123-0.59r.org/Makefile mpg123-0.59r/Makefile
--- mpg123-0.59r.org/Makefile	Thu Aug 30 22:03:26 2001
+++ mpg123-0.59r/Makefile	Fri Aug 31 22:41:47 2001
@@ -59,6 +59,7 @@
 	@echo "make linux-alpha    make with minor changes for ALPHA-Linux"
 	@echo "make linux-ppc      LinuxPPC or MkLinux for the PowerPC"
 	@echo "make linux-m68k     Linux/m68k (Amiga, Atari) using OSS"
+	@echo "make linux-hppa     Linux/hppa HP-PARISC using OSS"
 	@echo "make linux-nas      Linux, output to Network Audio System"
 	@echo "make linux-sparc    Linux/Sparc"
 	@echo "make linux-sajber   Linux, build binary for Sajber Jukebox frontend"
@@ -234,6 +235,14 @@
 	$(MAKE) CC=gcc  LDFLAGS= \
 		OBJECTS='decode.o dct64.o audio_sun.o' \
 		CFLAGS='-DREAL_IS_FLOAT -DUSE_MMAP -DSPARCLINUX -Wall -O2 \
+			-fomit-frame-pointer -funroll-all-loops \
+			-finline-functions -ffast-math' \
+		mpg123-make
+
+linux-hppa:
+	$(MAKE) CC=gcc  LDFLAGS= \
+		OBJECTS='decode.o dct64.o audio_oss.o' \
+		CFLAGS='-DREAL_IS_FLOAT -DUSE_MMAP -DLINUX -Wall -O2 \
 			-fomit-frame-pointer -funroll-all-loops \
 			-finline-functions -ffast-math' \
 		mpg123-make
diff -ur mpg123-0.59r.org/debian/control mpg123-0.59r/debian/control
--- mpg123-0.59r.org/debian/control	Thu Aug 30 22:03:26 2001
+++ mpg123-0.59r/debian/control	Fri Aug 31 22:43:09 2001
@@ -6,7 +6,7 @@
 Build-Depends: libesd0-dev [i386 alpha powerpc], libaudiofile-dev [i386 alpha powerpc], libasound0.4-dev [i386], nas-dev [i386]
 
 Package: mpg123
-Architecture: i386 alpha powerpc m68k arm sparc
+Architecture: i386 alpha powerpc m68k arm sparc hppa
 Depends: ${shlibs:Depends}
 Provides: mp3-decoder
 Description: MPEG layer 1/2/3 audio player
diff -ur mpg123-0.59r.org/debian/rules mpg123-0.59r/debian/rules
--- mpg123-0.59r.org/debian/rules	Thu Aug 30 22:03:26 2001
+++ mpg123-0.59r/debian/rules	Fri Aug 31 22:39:56 2001
@@ -10,6 +10,7 @@
 ARCH_m68k:=-m68k
 ARCH_arm:=-arm
 ARCH_sparc:=-sparc
+ARCH_hppa:=-hppa
 
 TYPE_oss:=
 TYPE_oss-i486:=-i486
@@ -25,6 +26,7 @@
 TARGETS_m68k:=mpg123-oss
 TARGETS_arm:=mpg123-oss
 TARGETS_sparc:=mpg123-oss
+TARGETS_hppa:=mpg123-oss
 
 PKGNAME_mpg123-oss:=mpg123
 PKGNAME_mpg123-oss-i486:=mpg123-oss-i486



Reply to: