On Thu, Oct 27, 2011 at 05:02:36PM -0500, Amit Kulkarni wrote: > needed for KDE 4.7.2 > > compile tested with multimedia/gstreamer-0.10/plugins-*
Here is a better diff. There were a few things that could use fixing up with what you provided. Index: Makefile =================================================================== RCS file: /home/cvs/ports/multimedia/libmms/Makefile,v retrieving revision 1.4 diff -u -p -r1.4 Makefile --- Makefile 16 Sep 2011 10:31:23 -0000 1.4 +++ Makefile 28 Oct 2011 00:36:15 -0000 @@ -2,26 +2,30 @@ COMMENT = library for parsing mms:// and mmsh:// type network streams -DISTNAME = libmms-0.4 -REVISION= 0 +DISTNAME = libmms-0.6.2 CATEGORIES = multimedia net -SHARED_LIBS = mms 0.0 #0.2 +MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=libmms/} -HOMEPAGE = https://launchpad.net/libmms +SHARED_LIBS = mms 1.0 #0.2 + +HOMEPAGE = http://libmms.sourceforge.net/ # LGPLv2.1 PERMIT_PACKAGE_CDROM = Yes PERMIT_PACKAGE_FTP = Yes -PERMIT_DISTFILES_CDROM = Yes +PERMIT_DISTFILES_CDROM =Yes PERMIT_DISTFILES_FTP = Yes -MASTER_SITES = http://launchpad.net/libmms/trunk/0.4/+download/ +WANTLIB = glib-2.0 pcre -CONFIGURE_STYLE=gnu MODULES = devel/gettext -USE_LIBTOOL = Yes LIB_DEPENDS = devel/glib2 -WANTLIB = glib-2.0 pcre + +SEPARATE_BUILD = simple +USE_LIBTOOL = Yes +CONFIGURE_STYLE = gnu +CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" .include <bsd.port.mk> Index: distinfo =================================================================== RCS file: /home/cvs/ports/multimedia/libmms/distinfo,v retrieving revision 1.1.1.1 diff -u -p -r1.1.1.1 distinfo --- distinfo 14 Oct 2009 13:46:48 -0000 1.1.1.1 +++ distinfo 28 Oct 2011 00:28:23 -0000 @@ -1,5 +1,5 @@ -MD5 (libmms-0.4.tar.gz) = SmgagVGG/ia7GwLM6lf7dQ== -RMD160 (libmms-0.4.tar.gz) = X8yc3dULgvDzfi8htvnNUew3Bvg= -SHA1 (libmms-0.4.tar.gz) = MB3/J9sXQu6raZ1vdhmgXNew2KQ= -SHA256 (libmms-0.4.tar.gz) = bQHQSuWCTrd8puigZ2r1U8xIa4fq6seS8TPqM2/m2H8= -SIZE (libmms-0.4.tar.gz) = 367690 +MD5 (libmms-0.6.2.tar.gz) = n2OqNj3rSHTgcqRYUBYb/w== +RMD160 (libmms-0.6.2.tar.gz) = wb+J90YOwgircYBRDbs2c9Z96lo= +SHA1 (libmms-0.6.2.tar.gz) = ze9i/RoOJYXdIRH8lLAy+EKQ41E= +SHA256 (libmms-0.6.2.tar.gz) = AZMbYhctfXBQ/J75sbZBYvO26fbMRBUXAZKjKgt+pDI= +SIZE (libmms-0.6.2.tar.gz) = 340230 Index: patches/patch-src_mms-common_h =================================================================== RCS file: patches/patch-src_mms-common_h diff -N patches/patch-src_mms-common_h --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ patches/patch-src_mms-common_h 28 Oct 2011 00:28:23 -0000 @@ -0,0 +1,26 @@ +$OpenBSD$ +--- src/mms-common.h.orig Fri Oct 28 01:40:30 2011 ++++ src/mms-common.h Fri Oct 28 01:41:45 2011 +@@ -38,16 +38,17 @@ + #ifndef EINPROGRESS + #define EINPROGRESS WSAEINPROGRESS + #endif ++#else ++#define set_errno(_err) errno = (_err) ++#define get_errno() errno ++#define closesocket(_s) close(_s) ++#endif ++ + #ifndef AI_ADDRCONFIG + #define AI_ADDRCONFIG 0 + #endif + #ifndef AI_NUMERICSERV + #define AI_NUMERICSERV 0 +-#endif +-#else +-#define set_errno(_err) errno = (_err) +-#define get_errno() errno +-#define closesocket(_s) close(_s) + #endif + + typedef struct mms_stream_s mms_stream_t; Index: pkg/DESCR =================================================================== RCS file: /home/cvs/ports/multimedia/libmms/pkg/DESCR,v retrieving revision 1.1.1.1 diff -u -p -r1.1.1.1 DESCR --- pkg/DESCR 14 Oct 2009 13:46:48 -0000 1.1.1.1 +++ pkg/DESCR 28 Oct 2011 00:42:59 -0000 @@ -3,4 +3,5 @@ streams. These are commonly used to stre over the web. LibMMS itself is only for receiving MMS stream, it doesn't handle sending at all. If you need streaming functionality, look for other protocol, such as RT(S)P. MMS is legacy thing, being -closed with no specs and abandoned even by its creator, the Microsoft Corp. +closed with no specs and abandoned even by its creator, the Microsoft +Corp. Index: pkg/PLIST =================================================================== RCS file: /home/cvs/ports/multimedia/libmms/pkg/PLIST,v retrieving revision 1.1.1.1 diff -u -p -r1.1.1.1 PLIST --- pkg/PLIST 14 Oct 2009 13:46:48 -0000 1.1.1.1 +++ pkg/PLIST 28 Oct 2011 00:28:23 -0000 @@ -1,7 +1,6 @@ @comment $OpenBSD: PLIST,v 1.1.1.1 2009/10/14 13:46:48 landry Exp $ %%SHARED%% include/libmms/ -include/libmms/bswap.h include/libmms/mms.h include/libmms/mms_config.h include/libmms/mmsh.h -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.