From 3bbea6905b9498bd62e6c49ca7dbf5195582a5f8 Mon Sep 17 00:00:00 2001 From: Joseph Koshy Date: Fri, 13 Aug 1999 06:25:50 +0000 Subject: Remove hardcoded xterm title bar manipulation. Submitted by: "Louis A. Mamakos" --- audio/mpg123/files/patch-ab | 40 +++++++++++++++++++++++++++++----------- 1 file changed, 29 insertions(+), 11 deletions(-) (limited to 'audio/mpg123') diff --git a/audio/mpg123/files/patch-ab b/audio/mpg123/files/patch-ab index 0d441939594c..640b33d5349a 100644 --- a/audio/mpg123/files/patch-ab +++ b/audio/mpg123/files/patch-ab @@ -1,6 +1,6 @@ ---- mpg123.c.orig Tue Jan 26 12:47:05 1999 -+++ mpg123.c Mon Feb 1 14:03:44 1999 -@@ -20,6 +20,10 @@ +--- mpg123.c.orig Wed Jun 16 01:51:36 1999 ++++ mpg123.c Fri Aug 13 15:25:52 1999 +@@ -27,6 +27,10 @@ #include #endif @@ -10,15 +10,33 @@ + #include "mpg123.h" #include "getlopt.h" - -@@ -723,6 +727,10 @@ - - #ifdef OS2 + #include "buffer.h" +@@ -780,6 +784,10 @@ _wildcard(&argc,&argv); -+#endif -+ -+#ifdef __FreeBSD__ -+ fpsetmask(0); #endif ++#ifdef __FreeBSD__ ++ fpsetmask(0); ++#endif ++ if(sizeof(short) != 2) { + fprintf(stderr,"Ouch SHORT has size of %d bytes (required: '2')\n",(int)sizeof(short)); + exit(1); +@@ -913,17 +921,6 @@ + &dirname, &filename)) + fprintf(stderr, "\nDirectory: %s", dirname); + fprintf(stderr, "\nPlaying MPEG stream from %s ...\n", filename); +- +-#if !defined(GENERIC) +-{ +- const char *term_type; +- term_type = getenv("TERM"); +- if (!strcmp(term_type,"xterm")) +- { +- fprintf(stderr, "\033]0;%s\007", filename); +- } +-} +-#endif + + } + -- cgit v1.2.3