aboutsummaryrefslogtreecommitdiffstats
path: root/audio/mpg123
diff options
context:
space:
mode:
authorjkoshy <jkoshy@FreeBSD.org>1999-08-13 14:25:50 +0800
committerjkoshy <jkoshy@FreeBSD.org>1999-08-13 14:25:50 +0800
commitad9fe942dcef493ecb42f08fc5a1ccbeb9969b56 (patch)
treedea8df2ae5fbedd0eebbe4d2ae08d81ca7365134 /audio/mpg123
parentbfde0565f10a3b1c3fb42f8f03c26a8e29cec995 (diff)
downloadfreebsd-ports-gnome-ad9fe942dcef493ecb42f08fc5a1ccbeb9969b56.tar.gz
freebsd-ports-gnome-ad9fe942dcef493ecb42f08fc5a1ccbeb9969b56.tar.zst
freebsd-ports-gnome-ad9fe942dcef493ecb42f08fc5a1ccbeb9969b56.zip
Remove hardcoded xterm title bar manipulation.
Submitted by: "Louis A. Mamakos" <louie@TransSys.COM>
Diffstat (limited to 'audio/mpg123')
-rw-r--r--audio/mpg123/files/patch-ab40
1 files changed, 29 insertions, 11 deletions
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 <sched.h>
#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
+
+ }
+