forgotten patches.

This commit is contained in:
espie 2004-02-01 23:59:17 +00:00
parent b47f75d650
commit 0dce7b7015
12 changed files with 163 additions and 0 deletions

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-kscd_libwm_include_wm_cdda_h,v 1.1 2004/02/01 23:59:17 espie Exp $
--- kscd/libwm/include/wm_cdda.h.orig 2004-02-01 00:03:07.000000000 +0100
+++ kscd/libwm/include/wm_cdda.h 2004-02-01 00:03:20.000000000 +0100
@@ -80,6 +80,7 @@ struct cdda_device {
*/
#ifdef HAVE_MACHINE_ENDIAN_H
+ #include <sys/types.h>
#include <machine/endian.h>
#if BYTE_ORDER == LITTLE_ENDIAN
#define WM_LITTLE_ENDIAN 1

View File

@ -0,0 +1,25 @@
$OpenBSD: patch-kscd_libwm_plat_openbsd_c,v 1.3 2004/02/01 23:59:17 espie Exp $
--- kscd/libwm/plat_openbsd.c.orig 2004-02-01 00:05:09.000000000 +0100
+++ kscd/libwm/plat_openbsd.c 2004-02-01 00:08:59.000000000 +0100
@@ -129,10 +129,9 @@ wmcd_open(struct wm_drive *d)
find_drive_struct(vendor, model, rev);
- (d->init)(d);
-
d->fd = fd;
-
+ if (d->proto->gen_init)
+ return (d->proto->gen_init)(d);
return (0);
} /* wmcd_open() */
@@ -316,7 +315,7 @@ gen_get_cdlen(struct wm_drive *d, int *f
* Play the CD from one position to another (both in frames.)
*/
int
-gen_play(struct wm_drive *d, int start, int end)
+gen_play(struct wm_drive *d, int start, int end, int realstart)
{
struct ioc_play_msf msf;

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-mpeglib_example_cddaplay_Makefile_in,v 1.8 2004/02/01 23:59:17 espie Exp $
--- mpeglib/example/cddaplay/Makefile.in.orig 2004-01-31 23:19:37.000000000 +0100
+++ mpeglib/example/cddaplay/Makefile.in 2004-01-31 23:19:45.000000000 +0100
@@ -387,7 +387,7 @@ cddaplay_SOURCES = cddaplay.cpp
noinst_HEADERS =
-cddaplay_LDFLAGS = $(all_libraries)
+cddaplay_LDFLAGS = $(all_libraries) -pthread
cddaplay_LDADD = ../../lib/libmpeg.la \
$(THIS_LIB_LIBS)

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-mpeglib_example_mpgplay_Makefile_in,v 1.8 2004/02/01 23:59:17 espie Exp $
--- mpeglib/example/mpgplay/Makefile.in.orig 2004-01-31 23:12:46.000000000 +0100
+++ mpeglib/example/mpgplay/Makefile.in 2004-01-31 23:13:03.000000000 +0100
@@ -387,7 +387,7 @@ mpgplay_SOURCES = mpgplay.cpp
noinst_HEADERS =
-mpgplay_LDFLAGS = $(all_libraries)
+mpgplay_LDFLAGS = $(all_libraries) -pthread
mpgplay_LDADD = ../../lib/libmpeg.la \
$(THIS_LIB_LIBS)

View File

@ -0,0 +1,19 @@
$OpenBSD: patch-mpeglib_example_splay_Makefile_in,v 1.8 2004/02/01 23:59:17 espie Exp $
--- mpeglib/example/splay/Makefile.in.orig 2004-01-31 23:13:08.000000000 +0100
+++ mpeglib/example/splay/Makefile.in 2004-01-31 23:14:47.000000000 +0100
@@ -389,13 +389,13 @@ mp3framing_SOURCES = mp3framing.cpp
noinst_HEADERS =
-splay_LDFLAGS = $(all_libraries)
+splay_LDFLAGS = $(all_libraries) -pthread
splay_LDADD = ../../lib/libmpeg.la \
$(THIS_LIB_LIBS)
-mp3framing_LDFLAGS = $(all_libraries)
+mp3framing_LDFLAGS = $(all_libraries) -pthread
mp3framing_LDADD = ../../lib/libmpeg.la \
$(THIS_LIB_LIBS)

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-mpeglib_example_tplay_Makefile_in,v 1.8 2004/02/01 23:59:17 espie Exp $
--- mpeglib/example/tplay/Makefile.in.orig 2004-01-31 23:15:32.000000000 +0100
+++ mpeglib/example/tplay/Makefile.in 2004-01-31 23:15:44.000000000 +0100
@@ -387,7 +387,7 @@ tplay_SOURCES = tplay.cpp
noinst_HEADERS =
-tplay_LDFLAGS = $(all_libraries)
+tplay_LDFLAGS = $(all_libraries) -pthread
tplay_LDADD = ../../lib/libmpeg.la \
$(THIS_LIB_LIBS)

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-mpeglib_example_yaf_yafcdda_Makefile_in,v 1.8 2004/02/01 23:59:17 espie Exp $
--- mpeglib/example/yaf/yafcdda/Makefile.in.orig 2004-01-31 23:25:12.000000000 +0100
+++ mpeglib/example/yaf/yafcdda/Makefile.in 2004-01-31 23:25:20.000000000 +0100
@@ -385,7 +385,7 @@ yaf_cdda_SOURCES = cdda_control.cpp
noinst_HEADERS =
-yaf_cdda_LDFLAGS = $(all_libraries)
+yaf_cdda_LDFLAGS = $(all_libraries) -pthread
yaf_cdda_LDADD = ../yafxplayer/libyafxplayer.la \
../yafcore/libyafcore.la \

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-mpeglib_example_yaf_yafmpgplay_Makefile_in,v 1.8 2004/02/01 23:59:17 espie Exp $
--- mpeglib/example/yaf/yafmpgplay/Makefile.in.orig 2004-01-31 23:25:12.000000000 +0100
+++ mpeglib/example/yaf/yafmpgplay/Makefile.in 2004-01-31 23:25:26.000000000 +0100
@@ -387,7 +387,7 @@ yaf_mpgplay_SOURCES = mpg_control.cpp
noinst_HEADERS =
-yaf_mpgplay_LDFLAGS = $(all_libraries)
+yaf_mpgplay_LDFLAGS = $(all_libraries) -pthread
yaf_mpgplay_LDADD = ../yafcore/libyafcore.la \
../yafxplayer/libyafxplayer.la \

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-mpeglib_example_yaf_yafsplay_Makefile_in,v 1.8 2004/02/01 23:59:17 espie Exp $
--- mpeglib/example/yaf/yafsplay/Makefile.in.orig 2004-01-31 23:25:12.000000000 +0100
+++ mpeglib/example/yaf/yafsplay/Makefile.in 2004-01-31 23:25:31.000000000 +0100
@@ -387,7 +387,7 @@ yaf_splay_SOURCES = splay_control.cpp
noinst_HEADERS =
-yaf_splay_LDFLAGS = $(all_libraries)
+yaf_splay_LDFLAGS = $(all_libraries) -pthread
yaf_splay_LDADD = ../yafxplayer/libyafxplayer.la \
../yafcore/libyafcore.la \

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-mpeglib_example_yaf_yaftplay_Makefile_in,v 1.8 2004/02/01 23:59:17 espie Exp $
--- mpeglib/example/yaf/yaftplay/Makefile.in.orig 2004-01-31 23:25:12.000000000 +0100
+++ mpeglib/example/yaf/yaftplay/Makefile.in 2004-01-31 23:25:37.000000000 +0100
@@ -385,7 +385,7 @@ yaf_tplay_SOURCES = tplay_control.cpp
noinst_HEADERS =
-yaf_tplay_LDFLAGS = $(all_libraries)
+yaf_tplay_LDFLAGS = $(all_libraries) -pthread
yaf_tplay_LDADD = ../yafcore/libyafcore.la \
../yafxplayer/libyafxplayer.la \

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-mpeglib_example_yaf_yafvorbis_Makefile_in,v 1.8 2004/02/01 23:59:17 espie Exp $
--- mpeglib/example/yaf/yafvorbis/Makefile.in.orig 2004-01-31 23:25:12.000000000 +0100
+++ mpeglib/example/yaf/yafvorbis/Makefile.in 2004-01-31 23:25:42.000000000 +0100
@@ -387,7 +387,7 @@ yaf_vorbis_SOURCES = vorbis_control.cpp
noinst_HEADERS =
-yaf_vorbis_LDFLAGS = $(all_libraries)
+yaf_vorbis_LDFLAGS = $(all_libraries) -pthread
yaf_vorbis_LDADD = \
../yafcore/libyafcore.la \

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-mpeglib_example_yaf_yafyuv_Makefile_in,v 1.8 2004/02/01 23:59:17 espie Exp $
--- mpeglib/example/yaf/yafyuv/Makefile.in.orig 2004-01-31 23:25:12.000000000 +0100
+++ mpeglib/example/yaf/yafyuv/Makefile.in 2004-01-31 23:25:49.000000000 +0100
@@ -387,7 +387,7 @@ yaf_yuv_SOURCES = yuv_control.cpp
noinst_HEADERS =
-yaf_yuv_LDFLAGS = $(all_libraries)
+yaf_yuv_LDFLAGS = $(all_libraries) -pthread
yaf_yuv_LDADD = ../yafxplayer/libyafxplayer.la \
../yafcore/libyafcore.la \