2014-09-03 8:15 GMT+04:00 Brad Smith <b...@comstyle.com>: > Here is an update to xvidcore 1.3.3. Just a few bug fixes. > > OK? > > > Index: Makefile > =================================================================== > RCS file: /home/cvs/ports/multimedia/xvidcore/Makefile,v > retrieving revision 1.17 > diff -u -p -u -p -r1.17 Makefile > --- Makefile 11 Mar 2013 11:35:45 -0000 1.17 > +++ Makefile 3 Sep 2014 04:02:59 -0000 > @@ -2,10 +2,10 @@ > > COMMENT= ISO MPEG-4 compliant video codec > > -DISTNAME= xvidcore-1.3.2 > -REVISION= 2 > +DISTNAME= xvidcore-1.3.3 > CATEGORIES= multimedia > MASTER_SITES= http://downloads.xvid.org/downloads/ > +EXTRACT_SUFX= .tar.bz2 > > SHARED_LIBS= xvidcore 4.3 > > Index: distinfo > =================================================================== > RCS file: /home/cvs/ports/multimedia/xvidcore/distinfo,v > retrieving revision 1.9 > diff -u -p -u -p -r1.9 distinfo > --- distinfo 30 Aug 2011 18:53:24 -0000 1.9 > +++ distinfo 2 Sep 2014 20:23:31 -0000 > @@ -1,5 +1,2 @@ > -MD5 (xvidcore-1.3.2.tar.gz) = h8jPe2nr7ZPC2C6lcJ0Jig== > -RMD160 (xvidcore-1.3.2.tar.gz) = nGhhPan1orKZiPXgvty1y1mVdDg= > -SHA1 (xvidcore-1.3.2.tar.gz) = VuBl0zFUWt4ExjyRFTuWJLUdbhs= > -SHA256 (xvidcore-1.3.2.tar.gz) = hFMnJMR/RS0RZ5YuZKfPNPwiwm9tO3r6cwSjdl6XaJo= > -SIZE (xvidcore-1.3.2.tar.gz) = 817743 > +SHA256 (xvidcore-1.3.3.tar.bz2) = > sOG6gFp3b3keRQQLmqoNfKbQyx5Imcf97SdftXE5r1Q= > +SIZE (xvidcore-1.3.3.tar.bz2) = 695279 > Index: patches/patch-build_generic_Makefile > =================================================================== > RCS file: > /home/cvs/ports/multimedia/xvidcore/patches/patch-build_generic_Makefile,v > retrieving revision 1.4 > diff -u -p -u -p -r1.4 patch-build_generic_Makefile > --- patches/patch-build_generic_Makefile 30 Aug 2011 18:53:24 -0000 > 1.4 > +++ patches/patch-build_generic_Makefile 2 Sep 2014 20:45:04 -0000 > @@ -1,6 +1,6 @@ > $OpenBSD: patch-build_generic_Makefile,v 1.4 2011/08/30 18:53:24 jasper Exp $ > ---- build/generic/Makefile.orig Thu May 19 04:27:26 2011 > -+++ build/generic/Makefile Wed Jun 15 14:46:05 2011 > +--- build/generic/Makefile.orig Tue Apr 8 16:41:05 2014 > ++++ build/generic/Makefile Tue Sep 2 16:44:15 2014 > @@ -46,6 +46,7 @@ include platform.inc > endif > > @@ -36,3 +36,12 @@ $OpenBSD: patch-build_generic_Makefile,v > > > #----------------------------------------------------------------------------- > # Shared Library > +@@ -134,7 +135,7 @@ $(SHARED_LIB): $(BUILD_DIR) $(OBJECTS) > + @echo " L: $(@F)" > + @$(INSTALL) -m 644 libxvidcore.def $(BUILD_DIR)/libxvidcore.def > + @$(INSTALL) -m 644 libxvidcore.ld $(BUILD_DIR)/libxvidcore.ld > +- @cd $(BUILD_DIR) && $(CC) $(LDFLAGS) $(OBJECTS) -o $(PRE_SHARED_LIB) > $(SPECIFIC_LDFLAGS) > ++ cd $(BUILD_DIR) && $(CC) $(LDFLAGS) $(OBJECTS) -o $(PRE_SHARED_LIB) > $(SPECIFIC_LDFLAGS) > + > + > #----------------------------------------------------------------------------- > + # Installation > Index: patches/patch-build_generic_configure > =================================================================== > RCS file: > /home/cvs/ports/multimedia/xvidcore/patches/patch-build_generic_configure,v > retrieving revision 1.8 > diff -u -p -u -p -r1.8 patch-build_generic_configure > --- patches/patch-build_generic_configure 27 Aug 2012 09:34:43 -0000 > 1.8 > +++ patches/patch-build_generic_configure 2 Sep 2014 20:41:54 -0000 > @@ -1,7 +1,7 @@ > $OpenBSD: patch-build_generic_configure,v 1.8 2012/08/27 09:34:43 jasper Exp > $ > ---- build/generic/configure.orig Mon May 23 06:22:01 2011 > -+++ build/generic/configure Thu Aug 16 20:29:44 2012 > -@@ -2243,8 +2243,6 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu > +--- build/generic/configure.orig Tue Apr 8 16:41:05 2014 > ++++ build/generic/configure Tue Sep 2 16:41:41 2014 > +@@ -2269,8 +2269,6 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu > > > > @@ -10,16 +10,16 @@ $OpenBSD: patch-build_generic_configure, > > minimum_yasm_major_version=1 > minimum_nasm_minor_version=0 > -@@ -4333,7 +4331,7 @@ $as_echo "ok" >&6; } > - $as_echo "ok" >&6; } > - STATIC_LIB="libxvidcore.\$(STATIC_EXTENSION)" > +@@ -4379,7 +4377,7 @@ $as_echo "ok" >&6; } > > SHARED_LIB="libxvidcore.\$(SHARED_EXTENSION).\$(API_MAJOR).\$(API_MINOR)" > + SO_API_MAJOR_LINK="libxvidcore.\$(SHARED_EXTENSION).\$(API_MAJOR)" > + SO_LINK="libxvidcore.\$(SHARED_EXTENSION)" > - > SPECIFIC_LDFLAGS="-Wl,-soname,libxvidcore.\$(SHARED_EXTENSION).\$(API_MAJOR) > -shared -lc -lm" > + SPECIFIC_LDFLAGS="-shared -fPIC -lm" > SPECIFIC_CFLAGS="-fPIC" > ;; > [cC][yY][gG][wW][iI][nN]*|mingw32*|mks*) > -@@ -4597,7 +4595,7 @@ $as_echo "macho32" >&6; } > +@@ -4651,7 +4649,7 @@ $as_echo "macho32" >&6; } > > AS="$chosen_asm_prog" > ASSEMBLY_EXTENSION="asm" > Index: patches/patch-src_global_h > =================================================================== > RCS file: patches/patch-src_global_h > diff -N patches/patch-src_global_h > --- patches/patch-src_global_h 20 Mar 2011 23:49:33 -0000 1.2 > +++ /dev/null 1 Jan 1970 00:00:00 -0000 > @@ -1,16 +0,0 @@ > -$OpenBSD: patch-src_global_h,v 1.2 2011/03/20 23:49:33 edd Exp $ > ---- src/global.h.orig Sun Nov 28 10:18:21 2010 > -+++ src/global.h Sat Mar 5 16:34:26 2011 > -@@ -251,8 +251,12 @@ get_dc_scaler(uint32_t quant, > - > - /* useful macros */ > - > -+#ifndef MIN > - #define MIN(X, Y) ((X)<(Y)?(X):(Y)) > -+#endif > -+#ifndef MAX > - #define MAX(X, Y) ((X)>(Y)?(X):(Y)) > -+#endif > - /* #define ABS(X) (((X)>0)?(X):-(X)) */ > - #define SIGN(X) (((X)>0)?1:-1) > - #define CLIP(X,AMIN,AMAX) (((X)<(AMIN)) ? (AMIN) : ((X)>(AMAX)) ? (AMAX) > : (X)) > Index: pkg/PFRAG.shared > =================================================================== > RCS file: pkg/PFRAG.shared > diff -N pkg/PFRAG.shared > --- pkg/PFRAG.shared 8 Jan 2006 22:12:38 -0000 1.2 > +++ /dev/null 1 Jan 1970 00:00:00 -0000 > @@ -1,2 +0,0 @@ > -@comment $OpenBSD: PFRAG.shared,v 1.2 2006/01/08 22:12:38 jakemsr Exp $ > -@lib lib/libxvidcore.so.${LIBxvidcore_VERSION} > Index: pkg/PLIST > =================================================================== > RCS file: /home/cvs/ports/multimedia/xvidcore/pkg/PLIST,v > retrieving revision 1.3 > diff -u -p -u -p -r1.3 PLIST > --- pkg/PLIST 30 Aug 2011 18:53:24 -0000 1.3 > +++ pkg/PLIST 2 Sep 2014 20:47:10 -0000 > @@ -1,4 +1,4 @@ > @comment $OpenBSD: PLIST,v 1.3 2011/08/30 18:53:24 jasper Exp $ > include/xvid.h > lib/libxvidcore.a > -%%SHARED%% > +@lib lib/libxvidcore.so.${LIBxvidcore_VERSION}
Okay. Actually, I don't see any OpenBSD-related except bump of bitstream format version... which likely deserve minor shlib bump. But I don't think it matters in reality. -- WBR, Vadim Zhukov