diff options
author | rh <rh@pkgsrc.org> | 2000-10-15 17:16:05 +0000 |
---|---|---|
committer | rh <rh@pkgsrc.org> | 2000-10-15 17:16:05 +0000 |
commit | d6a5f077bcf5e1307a582c76ac1aa051534ead0f (patch) | |
tree | 450f7339891094b1ac25b79bf00654bed0f33546 /devel/jlib/patches | |
parent | 5572dc5817a46b8b282ff5c5c518ace3473d0970 (diff) | |
download | pkgsrc-d6a5f077bcf5e1307a582c76ac1aa051534ead0f.tar.gz |
Initial import of jlib-1.0.6, a library of C++ utility classes.
Diffstat (limited to 'devel/jlib/patches')
-rw-r--r-- | devel/jlib/patches/patch-aa | 13 | ||||
-rw-r--r-- | devel/jlib/patches/patch-ab | 37 |
2 files changed, 50 insertions, 0 deletions
diff --git a/devel/jlib/patches/patch-aa b/devel/jlib/patches/patch-aa new file mode 100644 index 00000000000..e3c10a46ebd --- /dev/null +++ b/devel/jlib/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1.1.1 2000/10/15 17:16:05 rh Exp $ + +--- src/Makefile.in.orig Sat Sep 16 16:59:49 2000 ++++ src/Makefile.in +@@ -87,7 +87,7 @@ + + lib_LTLIBRARIES = libj.la + libj_la_SOURCES = QuotedPrintable.C TmpFile.C MimeType.C SUtil.C Blob.C Stream.C Exception.C IOException.C EOFException.C SMTPException.C DataStream.C FileStream.C SockStream.C Properties.C Base64.C EmailWriter.C EmailReader.C Email.C POP3.C IMAP4.C Regex.C Fetch.C AudioPlayer.C WavFile.C Directory.C scp.C socketstream.cc Date.cc +-libj_la_LDFLAGS = -version-info $(LIBJ_SO_VERSION) -release $(JLIB_RELEASE) -no-undefined ++libj_la_LDFLAGS = -version-info $(LIBJ_SO_VERSION) -no-undefined + + include_HEADERS = jlib.h + pkginclude_HEADERS = POP3.h SUtil.h Blob.h Stream.h Exception.h IOException.h EOFException.h SMTPException.h DataStream.h FileStream.h SockStream.h Properties.h Base64.h EmailWriter.h EmailReader.h Email.h IMAP4.h Fetch.h Regex.h TmpFile.h MimeType.h QuotedPrintable.h AudioPlayer.h AudioFile.h WavFile.h Directory.h scp.h socketstream.hh Date.hh diff --git a/devel/jlib/patches/patch-ab b/devel/jlib/patches/patch-ab new file mode 100644 index 00000000000..ef094e0e340 --- /dev/null +++ b/devel/jlib/patches/patch-ab @@ -0,0 +1,37 @@ +$NetBSD: patch-ab,v 1.1.1.1 2000/10/15 17:16:05 rh Exp $ + +--- src/WavFile.C.orig Sat Aug 26 03:16:28 2000 ++++ src/WavFile.C +@@ -24,7 +24,11 @@ + #include "Blob.h" + #include "TmpFile.h" + ++#ifdef __NetBSD__ ++#include <soundcard.h> ++#else + #include <sys/soundcard.h> ++#endif + #include <sys/types.h> + #include <sys/stat.h> + #include <sys/ioctl.h> +@@ -33,7 +37,11 @@ + #include <string.h> + #include <unistd.h> + ++#ifdef __NetBSD__ ++const string DSP = "/dev/audio"; ++#else + const string DSP = "/dev/dsp"; ++#endif + const int WAV_FMT_PCM = 1; + const int WAV_FMT_OKI_ADPCM = 16; + const bool DEBUG = false; +@@ -203,7 +211,7 @@ + if(DEBUG) cout << "read " << data.length() << " bytes\n"; + if(DEBUG) cout.flush(); + +- if(DEBUG) cout << "Writing " << data.length() << " bytes to /dev/dsp... "; ++ if(DEBUG) cout << "Writing " << data.length() << " bytes to " << DSP << " ... "; + if(DEBUG) cout.flush(); + write(m_dsp, data.bstr(), data.length()); + if(DEBUG) cout << "done\n"; |