summaryrefslogtreecommitdiff
path: root/audio/xamp/files/patch-aa
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2002-04-19 02:30:02 +0000
committerWill Andrews <will@FreeBSD.org>2002-04-19 02:30:02 +0000
commite05ed36727813c752300995435b0dc1aee51ecc3 (patch)
treed926f0f9b039ccf866d06988fbb956f5373cb5b9 /audio/xamp/files/patch-aa
parentAdd support for localization. (diff)
Say goodbye to Qt 1.x and all of its dependents. The one port I found
which probably isn't supposed to be removed is misc/instant-workstation, which had a dependency on audio/xamp (being removed), so I removed that dependency and bumped PORTREVISION. All other ports are real dependents upon Qt 1.x, including KDE 1.x stuff. Code in bsd.kde.mk supporting these ports is also removed or adjusted. Also, some adjustments made to accomodate Qt3/KDE3 ports, which will be committed Real Soon Now (TM), pending repo-copies. This commit made in impending view of Qt3/KDE3 entering ports tree.
Notes
Notes: svn path=/head/; revision=57872
Diffstat (limited to 'audio/xamp/files/patch-aa')
-rw-r--r--audio/xamp/files/patch-aa63
1 files changed, 0 insertions, 63 deletions
diff --git a/audio/xamp/files/patch-aa b/audio/xamp/files/patch-aa
deleted file mode 100644
index 71fe54545ac4..000000000000
--- a/audio/xamp/files/patch-aa
+++ /dev/null
@@ -1,63 +0,0 @@
---- QtAMP.cpp Wed Feb 11 17:53:35 1998
-+++ QtAMP.cpp Wed Jul 29 22:21:08 1998
-@@ -24,10 +24,9 @@
-
- #include <sys/types.h>
- #include <sys/stat.h>
--#include <sched.h>
- #include <sys/socket.h>
- #include <sys/ioctl.h>
--#include <sys/soundcard.h>
-+#include <machine/soundcard.h>
- #include <sys/time.h>
- #include <sys/resource.h>
- #include <errno.h>
-@@ -84,11 +84,11 @@
- splash->show();
-
- // init mixer
--#ifdef OS_Linux
-+#if defined(OS_Linux) || defined(OS_BSD)
- if ((mixer = open("/dev/mixer", O_RDWR)) < 0)
- die("Error opening /dev/mixer, exiting\n");
- ioctl(mixer, SOUND_MIXER_READ_PCM, &v);
--#endif OS_Linux
-+#endif
-
- /* where mine resource file is located */
- char home[500];
-@@ -262,7 +262,7 @@
-
- QtAMP::~QtAMP()
- {
--#ifdef OS_Linux
-+#if defined(OS_Linux) || defined(OS_BSD)
- close(mixer);
- #endif
- real_quit();
-@@ -348,7 +348,7 @@
- sprintf(volum,"Volume: %d",vr);
- playLabel->setText( volum );
- // printf("%d %d\n",tvr,tv);
--#ifdef OS_Linux
-+#if defined(OS_Linux) || defined(OS_BSD)
- int x = (tv*256 + tvl);
- ioctl(mixer, SOUND_MIXER_WRITE_PCM, &x);
- #endif
-@@ -884,14 +884,14 @@
- {
- if (mute == 1)
- {
--#ifdef OS_Linux
-+#if defined(OS_Linux) || defined(OS_BSD)
- int x = (tv*256 + tvl);
- ioctl(mixer, SOUND_MIXER_WRITE_PCM, &x);
- #endif
- }
- if (mute == 0)
- {
--#ifdef OS_Linux
-+#if defined(OS_Linux) || defined(OS_BSD)
- int x = (7*256 + 7);
- ioctl(mixer, SOUND_MIXER_WRITE_PCM, &x);
- #endif