View | Details | Raw Unified | Return to bug 231524 | Differences between
and this patch

Collapse All | Expand All

(-)multimedia/smpeg/Makefile (-2 / +7 lines)
Lines 15-21 Link Here
15
LICENSE_FILE=	${WRKSRC}/COPYING
15
LICENSE_FILE=	${WRKSRC}/COPYING
16
16
17
GNU_CONFIGURE=	yes
17
GNU_CONFIGURE=	yes
18
USES=		compiler:features gmake libtool
18
USES=		compiler:features gmake libtool:build
19
USE_SDL=	sdl
19
USE_SDL=	sdl
20
USE_LDCONFIG=	yes
20
USE_LDCONFIG=	yes
21
CONFIGURE_ENV=	GLBASE="${LOCALBASE}" \
21
CONFIGURE_ENV=	GLBASE="${LOCALBASE}" \
Lines 23-29 Link Here
23
		SDL_CONFIG="${SDL_CONFIG}"
23
		SDL_CONFIG="${SDL_CONFIG}"
24
CPPFLAGS+=	-I${LOCALBASE}/include
24
CPPFLAGS+=	-I${LOCALBASE}/include
25
CFLAGS+=	${COMPILER_FEATURES:Mc++11:C/.+/-Wno-error=narrowing/}
25
CFLAGS+=	${COMPILER_FEATURES:Mc++11:C/.+/-Wno-error=narrowing/}
26
27
#If you want to try the opengl/gtk player (which doesn't seem to work)
26
#If you want to try the opengl/gtk player (which doesn't seem to work)
28
#comment out the following line.
27
#comment out the following line.
29
CONFIGURE_ARGS=	--disable-opengl-player \
28
CONFIGURE_ARGS=	--disable-opengl-player \
Lines 30-35 Link Here
30
		--disable-gtk-player \
29
		--disable-gtk-player \
31
		--enable-mmx
30
		--enable-mmx
32
31
32
MAKE_ARGS=	LDFLAGS=-Wl,-znotext LIBTOOL=${LOCALBASE}/bin/libtool
33
34
post-extract:
35
	${RM} ${WRKSRC}/libtool ${WRKSRC}/ltconfig
36
	${TOUCH} ${WRKSRC}/ltconfig
37
33
post-install:
38
post-install:
34
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libsmpeg.so
39
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libsmpeg.so
35
40
(-)multimedia/smpeg/files/patch-MPEGaudio.h (-3 / +3 lines)
Lines 1-6 Link Here
1
--- MPEGaudio.h	Tue Mar 20 13:40:18 2007
1
--- MPEGaudio.h.orig	2001-04-04 20:42:40 UTC
2
+++ MPEGaudio.h	Tue Mar 20 13:43:04 2007
2
+++ MPEGaudio.h
3
@@ -148,6 +148,13 @@
3
@@ -148,6 +148,13 @@ class Mpegbitwindow (private)
4
   char buffer[2*WINDOWSIZE];
4
   char buffer[2*WINDOWSIZE];
5
 };
5
 };
6
 
6
 
(-)multimedia/smpeg/files/patch-configure (-4 / +4 lines)
Lines 1-6 Link Here
1
--- configure	2002/07/02 12:33:37	1.1
1
--- configure.orig	2001-04-24 19:25:46 UTC
2
+++ configure	2002/07/02 12:34:01
2
+++ configure
3
@@ -1055,7 +1055,7 @@
3
@@ -1055,7 +1055,7 @@ cat > conftest.$ac_ext << EOF
4
 #line 1056 "configure"
4
 #line 1056 "configure"
5
 #include "confdefs.h"
5
 #include "confdefs.h"
6
 
6
 
Lines 9-15 Link Here
9
 EOF
9
 EOF
10
 if { (eval echo configure:1061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10
 if { (eval echo configure:1061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11
   ac_cv_prog_cc_works=yes
11
   ac_cv_prog_cc_works=yes
12
@@ -2335,6 +2335,7 @@
12
@@ -2335,6 +2335,7 @@ rm -f conftest*
13
 
13
 
14
 CFLAGS="$CFLAGS $SDL_CFLAGS"
14
 CFLAGS="$CFLAGS $SDL_CFLAGS"
15
 LIBS="$LIBS $SDL_LIBS"
15
 LIBS="$LIBS $SDL_LIBS"
(-)multimedia/smpeg/files/patch-gtv.c (-5 / +5 lines)
Lines 1-10 Link Here
1
--- gtv.c.orig	Sun Mar 26 00:18:54 2000
1
--- gtv.c.orig	2001-04-16 19:08:54 UTC
2
+++ gtv.c	Sun Mar 26 00:19:17 2000
2
+++ gtv.c
3
@@ -726,6 +726,7 @@
3
@@ -963,6 +963,7 @@ int main( int argc, char* argv[] )
4
     memset( &info, 0, sizeof( info ) );
5
     memset( &filename_buffer, 0, sizeof( gchar ) * FILENAME_BUFFER_SIZE );
4
     memset( &filename_buffer, 0, sizeof( gchar ) * FILENAME_BUFFER_SIZE );
5
     gtk_set_locale();
6
     gtk_init( &argc, &argv );
6
     gtk_init( &argc, &argv );
7
+    gtk_set_locale ();
7
+    gtk_set_locale ();
8
 
8
 
9
     window = create_gtv_window( );
9
     window = create_gtv_window( );
10
     gtk_signal_connect( GTK_OBJECT( window ), "destroy",
10
     gtk_drag_dest_set(window, GTK_DEST_DEFAULT_ALL, drop_types, 1, GDK_ACTION_COPY);
(-)multimedia/smpeg/files/patch-smpeg.m4 (-3 / +3 lines)
Lines 1-6 Link Here
1
--- smpeg.m4.orig	2001-04-05 00:28:14.000000000 +0400
1
--- smpeg.m4.orig	2001-04-04 20:28:14 UTC
2
+++ smpeg.m4	2014-02-14 18:19:27.566113006 +0400
2
+++ smpeg.m4
3
@@ -10,7 +10,7 @@
3
@@ -10,7 +10,7 @@ dnl AM_PATH_SMPEG([MINIMUM-VERSION, [ACTION-IF-FOUND [
4
 ACTION-IF-NOT-FOUND]]])
4
 ACTION-IF-NOT-FOUND]]])
5
 dnl Test for SMPEG, and define SMPEG_CFLAGS and SMPEG_LIBS
5
 dnl Test for SMPEG, and define SMPEG_CFLAGS and SMPEG_LIBS
6
 dnl
6
 dnl
(-)multimedia/smpeg/files/patch-video__video.h (-3 / +3 lines)
Lines 1-6 Link Here
1
--- video/video.h.orig	Sun Feb  8 23:39:25 2004
1
--- video/video.h.orig	2001-02-10 07:36:42 UTC
2
+++ video/video.h	Sun Feb  8 23:39:36 2004
2
+++ video/video.h
3
@@ -432,7 +432,7 @@
3
@@ -432,7 +432,7 @@ extern unsigned int cacheMiss[8][8];
4
 #undef  LITTLE_ENDIAN_ARCHITECTURE
4
 #undef  LITTLE_ENDIAN_ARCHITECTURE
5
 #define BIG_ENDIAN_ARCHITECTURE 1
5
 #define BIG_ENDIAN_ARCHITECTURE 1
6
 #else
6
 #else

Return to bug 231524