Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Nov 2000 00:00:44 +0200
From:      Roman Shterenzon <roman@xpert.com>
To:        freebsd-ports@freebsd.org
Subject:   [patch] mbone/speak_freely..oops..forgot the patch
Message-ID:  <20001106000044.A6070@alchemy.oven.org>

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

--EeQfGwPcQSOJBaQU
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Here's the patch

--Roman Shterenzon, UNIX System Administrator and Consultant
[ Xpert UNIX Systems Ltd., Herzlia, Israel. Tel: +972-9-9522361 ]

--EeQfGwPcQSOJBaQU
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="speak_freely.diff"

diff -ur /usr/ports/mbone/speak_freely/Makefile speak_freely/Makefile
--- /usr/ports/mbone/speak_freely/Makefile	Fri Jun  2 02:42:51 2000
+++ speak_freely/Makefile	Sun Nov  5 23:51:23 2000
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=       speak_freely
-PORTVERSION=	7.1
+PORTVERSION=	7.2
 CATEGORIES=     mbone audio security
 MASTER_SITES=   http://www.fourmilab.ch/speakfree/unix/
 
@@ -20,6 +20,14 @@
 SFLIB=   ${PREFIX}/lib/speak_freely
 MAN1=	 ${UTILS:S/$/.1/} ${DEMNS:S/$/.1/} ${DDEMNS:S/$/.1/}
 
+.include <bsd.port.pre.mk>
+
+CFLAGS+=-DAUDIO_BLOCKING
+
+.if ${OSVERSION} < 400012
+CFLAGS+=-DHALF_DUPLEX
+.endif
+
 MAKE_ENV="OPTFLAGS=${CFLAGS}"
 
 do-install:
@@ -44,4 +52,4 @@
 		$(INSTALL_MAN) $$p.1 ${PREFIX}/man/man1; \
 	done;
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff -ur /usr/ports/mbone/speak_freely/distinfo speak_freely/distinfo
--- /usr/ports/mbone/speak_freely/distinfo	Sat Jan  1 00:40:26 2000
+++ speak_freely/distinfo	Fri Oct  6 02:25:35 2000
@@ -1 +1 @@
-MD5 (speak_freely-7.1.tar.gz) = f06e4115c7139f7e30ea57064b324558
+MD5 (speak_freely-7.2.tar.gz) = 1fe80725e252270ea4170ebc20e2a059
diff -ur /usr/ports/mbone/speak_freely/files/patch-aa speak_freely/files/patch-aa
--- /usr/ports/mbone/speak_freely/files/patch-aa	Fri Jan 14 20:36:35 2000
+++ speak_freely/files/patch-aa	Fri Oct  6 02:23:14 2000
@@ -28,7 +28,7 @@
  #    CCFLAGS line.
 -#CCFLAGS = -DM_LITTLE_ENDIAN
 -#LFLAGS = -lcurses -ltermcap -lcompat -lm
-+CCFLAGS = -DM_LITTLE_ENDIAN -DHALF_DUPLEX
++CCFLAGS = -DM_LITTLE_ENDIAN
 +LFLAGS = -lcurses -ltermcap -lcompat -lm
  
  #			   Hewlett-Packard
@@ -47,7 +47,7 @@
  
  sfspeaker: $(SPKROBJS) adpcmlib.o libblowfish.o lpclib.o lpc10lib.o gsmlib.o deslib.o md5lib.o idealib.o libdes.o xdsub.o 
 -	$(CC) $(SPKROBJS) adpcm/adpcm-u.o blowfish/libblowfish.a des/des.a md5/md5.o idea/idea.a lpc10/liblpc10.a gsm/lib/libgsm.a lpc/lpc.o xdsub.o libdes/libdes.a $(LFLAGS) -o sfspeaker
-+	$(CC) $(SPKROBJS) adpcm/adpcm-u.o blowfish/libblowfish.a des/des.a -lmd idea/idea.a lpc10/liblpc10.a -L/usr/local/lib -lgsm lpc/lpc.o xdsub.o libdes/libdes.a $(LFLAGS) -o sfspeaker
++	$(CC) $(SPKROBJS) adpcm/adpcm-u.o blowfish/libblowfish.a des/des.a -lmd idea/idea.a lpc10/liblpc10.a -L$(PREFIX)/lib -lgsm lpc/lpc.o xdsub.o libdes/libdes.a $(LFLAGS) -o sfspeaker
  
  MIKEOBJS = mike.o codecs.o deskey.o g711.o rate.o rtpacket.o soundbyte.o ulaw.o usleep.o vatpkt.o xdsub.o audio_hp.o audio_sgi.o
  

--EeQfGwPcQSOJBaQU--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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