From owner-svn-ports-head@freebsd.org Tue Nov 20 18:03:15 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E8C37113846C; Tue, 20 Nov 2018 18:03:14 +0000 (UTC) (envelope-from acm@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8BB147998E; Tue, 20 Nov 2018 18:03:14 +0000 (UTC) (envelope-from acm@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 69BD014CC2; Tue, 20 Nov 2018 18:03:14 +0000 (UTC) (envelope-from acm@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id wAKI3E7o033017; Tue, 20 Nov 2018 18:03:14 GMT (envelope-from acm@FreeBSD.org) Received: (from acm@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id wAKI3DE1033009; Tue, 20 Nov 2018 18:03:13 GMT (envelope-from acm@FreeBSD.org) Message-Id: <201811201803.wAKI3DE1033009@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: acm set sender to acm@FreeBSD.org using -f From: Jose Alonso Cardenas Marquez Date: Tue, 20 Nov 2018 18:03:13 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r485454 - in head/multimedia/smpeg: . files X-SVN-Group: ports-head X-SVN-Commit-Author: acm X-SVN-Commit-Paths: in head/multimedia/smpeg: . files X-SVN-Commit-Revision: 485454 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 8BB147998E X-Spamd-Result: default: False [0.55 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_SPAM_LONG(0.00)[0.001,0]; NEURAL_SPAM_MEDIUM(0.14)[0.143,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_SPAM_SHORT(0.40)[0.404,0] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Nov 2018 18:03:15 -0000 Author: acm Date: Tue Nov 20 18:03:12 2018 New Revision: 485454 URL: https://svnweb.freebsd.org/changeset/ports/485454 Log: - Fix LLD for i386 - Correct order variables, while here - Regenerate patches with makepatch - Bump PORTREVISION PR: 231524 Submitted by: Nathan Modified: head/multimedia/smpeg/Makefile head/multimedia/smpeg/files/patch-MPEGaudio.h head/multimedia/smpeg/files/patch-configure head/multimedia/smpeg/files/patch-gtv.c head/multimedia/smpeg/files/patch-smpeg.m4 head/multimedia/smpeg/files/patch-video__video.h Modified: head/multimedia/smpeg/Makefile ============================================================================== --- head/multimedia/smpeg/Makefile Tue Nov 20 17:53:53 2018 (r485453) +++ head/multimedia/smpeg/Makefile Tue Nov 20 18:03:12 2018 (r485454) @@ -3,7 +3,7 @@ PORTNAME= smpeg PORTVERSION= 0.4.4 -PORTREVISION= 14 +PORTREVISION= 15 CATEGORIES= multimedia MASTER_SITES= ftp://sunsite.auc.dk/pub/os/linux/loki/open-source/smpeg/ \ GENTOO @@ -14,23 +14,22 @@ COMMENT= Free MPEG1 video player library with sound su LICENSE= LGPL20 LICENSE_FILE= ${WRKSRC}/COPYING -GNU_CONFIGURE= yes -USES= compiler:features gmake libtool +USES= gmake libtool:build USE_SDL= sdl USE_LDCONFIG= yes + +GNU_CONFIGURE= yes CONFIGURE_ENV= GLBASE="${LOCALBASE}" \ CC="${CXX}" REAL_CC="${CC}" \ SDL_CONFIG="${SDL_CONFIG}" -CPPFLAGS+= -I${LOCALBASE}/include -CFLAGS+= ${COMPILER_FEATURES:Mc++11:C/.+/-Wno-error=narrowing/} - #If you want to try the opengl/gtk player (which doesn't seem to work) #comment out the following line. CONFIGURE_ARGS= --disable-opengl-player \ --disable-gtk-player \ --enable-mmx - -post-install: - ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libsmpeg.so +CFLAGS+= -Wno-error-narrowing +LDFLAGS_i386= -Wl,-znotext +MAKE_ARGS= LIBTOOL=${LOCALBASE}/bin/libtool +INSTALL_TARGET= install-strip .include Modified: head/multimedia/smpeg/files/patch-MPEGaudio.h ============================================================================== --- head/multimedia/smpeg/files/patch-MPEGaudio.h Tue Nov 20 17:53:53 2018 (r485453) +++ head/multimedia/smpeg/files/patch-MPEGaudio.h Tue Nov 20 18:03:12 2018 (r485454) @@ -1,6 +1,6 @@ ---- MPEGaudio.h Tue Mar 20 13:40:18 2007 -+++ MPEGaudio.h Tue Mar 20 13:43:04 2007 -@@ -148,6 +148,13 @@ +--- MPEGaudio.h.orig 2001-04-04 20:42:40 UTC ++++ MPEGaudio.h +@@ -148,6 +148,13 @@ class Mpegbitwindow (private) char buffer[2*WINDOWSIZE]; }; Modified: head/multimedia/smpeg/files/patch-configure ============================================================================== --- head/multimedia/smpeg/files/patch-configure Tue Nov 20 17:53:53 2018 (r485453) +++ head/multimedia/smpeg/files/patch-configure Tue Nov 20 18:03:12 2018 (r485454) @@ -1,6 +1,14 @@ ---- configure 2002/07/02 12:33:37 1.1 -+++ configure 2002/07/02 12:34:01 -@@ -1055,7 +1055,7 @@ +--- configure.orig 2001-04-24 19:25:46 UTC ++++ configure +@@ -58,7 +58,6 @@ ac_help="$ac_help + # The variables have the same names as the options, with + # dashes changed to underlines. + build=NONE +-cache_file=./config.cache + exec_prefix=NONE + host=NONE + no_create= +@@ -1055,7 +1054,7 @@ cat > conftest.$ac_ext << EOF #line 1056 "configure" #include "confdefs.h" @@ -9,7 +17,25 @@ EOF if { (eval echo configure:1061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then ac_cv_prog_cc_works=yes -@@ -2335,6 +2335,7 @@ +@@ -1850,7 +1849,7 @@ esac + + + # Save cache, so that ltconfig can load it +-cat > confcache <<\EOF ++<<\EOF + # This file is a shell script that caches the results of configure + # tests run on this system so they can be shared between configure + # scripts and configure runs. It is not useful on other systems. +@@ -1903,8 +1902,6 @@ CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \ + LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \ + LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" \ + DLLTOOL="$DLLTOOL" AS="$AS" OBJDUMP="$OBJDUMP" \ +-${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \ +-$libtool_flags --no-verify $ac_aux_dir/ltmain.sh $lt_target \ + || { echo "configure: error: libtool configure failed" 1>&2; exit 1; } + + # Reload cache, that may have been modified by ltconfig +@@ -2335,6 +2332,7 @@ rm -f conftest* CFLAGS="$CFLAGS $SDL_CFLAGS" LIBS="$LIBS $SDL_LIBS" Modified: head/multimedia/smpeg/files/patch-gtv.c ============================================================================== --- head/multimedia/smpeg/files/patch-gtv.c Tue Nov 20 17:53:53 2018 (r485453) +++ head/multimedia/smpeg/files/patch-gtv.c Tue Nov 20 18:03:12 2018 (r485454) @@ -1,10 +1,10 @@ ---- gtv.c.orig Sun Mar 26 00:18:54 2000 -+++ gtv.c Sun Mar 26 00:19:17 2000 -@@ -726,6 +726,7 @@ - memset( &info, 0, sizeof( info ) ); +--- gtv.c.orig 2001-04-16 19:08:54 UTC ++++ gtv.c +@@ -963,6 +963,7 @@ int main( int argc, char* argv[] ) memset( &filename_buffer, 0, sizeof( gchar ) * FILENAME_BUFFER_SIZE ); + gtk_set_locale(); gtk_init( &argc, &argv ); + gtk_set_locale (); window = create_gtv_window( ); - gtk_signal_connect( GTK_OBJECT( window ), "destroy", + gtk_drag_dest_set(window, GTK_DEST_DEFAULT_ALL, drop_types, 1, GDK_ACTION_COPY); Modified: head/multimedia/smpeg/files/patch-smpeg.m4 ============================================================================== --- head/multimedia/smpeg/files/patch-smpeg.m4 Tue Nov 20 17:53:53 2018 (r485453) +++ head/multimedia/smpeg/files/patch-smpeg.m4 Tue Nov 20 18:03:12 2018 (r485454) @@ -1,6 +1,6 @@ ---- smpeg.m4.orig 2001-04-05 00:28:14.000000000 +0400 -+++ smpeg.m4 2014-02-14 18:19:27.566113006 +0400 -@@ -10,7 +10,7 @@ +--- smpeg.m4.orig 2001-04-04 20:28:14 UTC ++++ smpeg.m4 +@@ -10,7 +10,7 @@ dnl AM_PATH_SMPEG([MINIMUM-VERSION, [ACTION-IF-FOUND [ ACTION-IF-NOT-FOUND]]]) dnl Test for SMPEG, and define SMPEG_CFLAGS and SMPEG_LIBS dnl Modified: head/multimedia/smpeg/files/patch-video__video.h ============================================================================== --- head/multimedia/smpeg/files/patch-video__video.h Tue Nov 20 17:53:53 2018 (r485453) +++ head/multimedia/smpeg/files/patch-video__video.h Tue Nov 20 18:03:12 2018 (r485454) @@ -1,6 +1,6 @@ ---- video/video.h.orig Sun Feb 8 23:39:25 2004 -+++ video/video.h Sun Feb 8 23:39:36 2004 -@@ -432,7 +432,7 @@ +--- video/video.h.orig 2001-02-10 07:36:42 UTC ++++ video/video.h +@@ -432,7 +432,7 @@ extern unsigned int cacheMiss[8][8]; #undef LITTLE_ENDIAN_ARCHITECTURE #define BIG_ENDIAN_ARCHITECTURE 1 #else