aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorcpiazza <cpiazza@FreeBSD.org>2000-01-24 09:16:32 +0800
committercpiazza <cpiazza@FreeBSD.org>2000-01-24 09:16:32 +0800
commitcd55d3d47460c072fb3ce6b670c1ac773dbbd2f5 (patch)
tree188df41e926596caca0f3ec6ef4ca76478155405 /audio
parent75decf3e99823bea1f33cec38f84ca1984d07927 (diff)
downloadfreebsd-ports-gnome-cd55d3d47460c072fb3ce6b670c1ac773dbbd2f5.tar.gz
freebsd-ports-gnome-cd55d3d47460c072fb3ce6b670c1ac773dbbd2f5.tar.zst
freebsd-ports-gnome-cd55d3d47460c072fb3ce6b670c1ac773dbbd2f5.zip
Fix boneheadedness. Such great programming practices
such as never including unistd.h and using close() on a FILE stream.
Diffstat (limited to 'audio')
-rw-r--r--audio/kmpg/files/patch-ab11
-rw-r--r--audio/kmpg/files/patch-ac11
-rw-r--r--audio/kmpg/files/patch-ad10
-rw-r--r--audio/kmpg/files/patch-ae10
-rw-r--r--audio/kmpg/files/patch-af11
-rw-r--r--audio/kmpg/files/patch-ag10
-rw-r--r--audio/kmpg/files/patch-ah11
7 files changed, 74 insertions, 0 deletions
diff --git a/audio/kmpg/files/patch-ab b/audio/kmpg/files/patch-ab
new file mode 100644
index 000000000000..b965bbb4a263
--- /dev/null
+++ b/audio/kmpg/files/patch-ab
@@ -0,0 +1,11 @@
+--- lib/yaflib/players/splay/mpeglayer3.cc.orig Sun Jan 23 16:50:48 2000
++++ lib/yaflib/players/splay/mpeglayer3.cc Sun Jan 23 16:50:50 2000
+@@ -767,7 +767,7 @@
+ for(i=0;i<e;)
+ {
+ const HUFFMANCODETABLE *h;
+- register end;
++ register int end;
+
+ if (i<region1Start)
+ {
diff --git a/audio/kmpg/files/patch-ac b/audio/kmpg/files/patch-ac
new file mode 100644
index 000000000000..84270af8331a
--- /dev/null
+++ b/audio/kmpg/files/patch-ac
@@ -0,0 +1,11 @@
+--- lib/yaflib/yaf/shared/yafcore/streamWriter.cpp.orig Sun Jan 23 16:52:02 2000
++++ lib/yaflib/yaf/shared/yafcore/streamWriter.cpp Sun Jan 23 16:52:11 2000
+@@ -42,7 +42,7 @@
+ static OutputInterface* output;
+
+ static AudioWrapper* audioWrapper=NULL;
+-static lInternalDevice;
++static int lInternalDevice;
+
+ void StreamWriter_sendSpeed(int speed);
+ void StreamWriter_sendSampleSize(int size);
diff --git a/audio/kmpg/files/patch-ad b/audio/kmpg/files/patch-ad
new file mode 100644
index 000000000000..434a0ebe8484
--- /dev/null
+++ b/audio/kmpg/files/patch-ad
@@ -0,0 +1,10 @@
+--- lib/yaflib/yaf/frontend/producer/image/imageGenerator.h.orig Sun Jan 23 16:54:23 2000
++++ lib/yaflib/yaf/frontend/producer/image/imageGenerator.h Sun Jan 23 16:54:31 2000
+@@ -27,6 +27,7 @@
+ // with a yaf internal Image class!
+
+ #include <qpixmap.h>
++#include <unistd.h>
+
+ /**
+ This class produces QImages.
diff --git a/audio/kmpg/files/patch-ae b/audio/kmpg/files/patch-ae
new file mode 100644
index 000000000000..4fdda856d7ef
--- /dev/null
+++ b/audio/kmpg/files/patch-ae
@@ -0,0 +1,10 @@
+--- lib/yaflib/yaf/frontend/signal/toolkit/eventQueue.cpp.orig Sun Jan 23 16:55:57 2000
++++ lib/yaflib/yaf/frontend/signal/toolkit/eventQueue.cpp Sun Jan 23 16:56:32 2000
+@@ -12,6 +12,7 @@
+
+
+ #include <signal/toolkit/eventQueue.h>
++#include <unistd.h>
+
+
+
diff --git a/audio/kmpg/files/patch-af b/audio/kmpg/files/patch-af
new file mode 100644
index 000000000000..10458261648f
--- /dev/null
+++ b/audio/kmpg/files/patch-af
@@ -0,0 +1,11 @@
+--- lib/widgetlib/widgetbasic/examples/example6/videoPlayer.cpp.orig Sun Jan 23 17:00:48 2000
++++ lib/widgetlib/widgetbasic/examples/example6/videoPlayer.cpp Sun Jan 23 17:01:26 2000
+@@ -96,7 +96,7 @@
+ str=strlist.first();
+ if (str != NULL) {
+ KURL url( str );
+- char *path = url.path();
++ const char *path = url.path();
+ open(&url);
+ cout << "dropped:"<<path<<endl;
+ }
diff --git a/audio/kmpg/files/patch-ag b/audio/kmpg/files/patch-ag
new file mode 100644
index 000000000000..12b57db1f283
--- /dev/null
+++ b/audio/kmpg/files/patch-ag
@@ -0,0 +1,10 @@
+--- lib/kmpglib/lib/ipc/ipcCom.cpp.orig Sun Jan 23 17:02:49 2000
++++ lib/kmpglib/lib/ipc/ipcCom.cpp Sun Jan 23 17:02:58 2000
+@@ -12,6 +12,7 @@
+
+
+ #include <ipc/ipcCom.h>
++#include <unistd.h>
+
+
+ static void *readerThread(void *arg){
diff --git a/audio/kmpg/files/patch-ah b/audio/kmpg/files/patch-ah
new file mode 100644
index 000000000000..dd29a98075d1
--- /dev/null
+++ b/audio/kmpg/files/patch-ah
@@ -0,0 +1,11 @@
+--- lib/kmpglib/lib/id/tag.cpp.orig Sun Jan 23 17:04:33 2000
++++ lib/kmpglib/lib/id/tag.cpp Sun Jan 23 17:04:54 2000
+@@ -86,7 +86,7 @@
+ }
+
+ if (fseek(file, -128, SEEK_END) < 0) {
+- close(file);
++ fclose(file);
+ perror("fseek");
+ initTagVars();
+ return(0);