diff options
author | stas <stas@FreeBSD.org> | 2006-09-24 00:21:23 +0800 |
---|---|---|
committer | stas <stas@FreeBSD.org> | 2006-09-24 00:21:23 +0800 |
commit | e3b2e478d3c0adba1ad7b84e73d06a5e739f99f5 (patch) | |
tree | 15d8f9215a17fb69a4b4cf0346f054bd4f174deb /multimedia/avifile | |
parent | a365100f9121f1ddca632c2bdddeaeeac2210e74 (diff) | |
download | freebsd-ports-gnome-e3b2e478d3c0adba1ad7b84e73d06a5e739f99f5.tar.gz freebsd-ports-gnome-e3b2e478d3c0adba1ad7b84e73d06a5e739f99f5.tar.zst freebsd-ports-gnome-e3b2e478d3c0adba1ad7b84e73d06a5e739f99f5.zip |
- Fix building with recent version of gcc (3.4.6) [1]
- Test for pcvt_ioctl.h existence as it was removed recently.
Include iokb.h instead if its'nt exists. [1]
- Replace deprecated variable. [2]
Submitted by: [1] Rainer Alves <rainer.alves@gmail.com>, [2] me (stas)
Approved by: sem (mentor)
Diffstat (limited to 'multimedia/avifile')
-rw-r--r-- | multimedia/avifile/Makefile | 9 | ||||
-rw-r--r-- | multimedia/avifile/files/patch-lib_aviread_ReadFile.cpp | 20 |
2 files changed, 27 insertions, 2 deletions
diff --git a/multimedia/avifile/Makefile b/multimedia/avifile/Makefile index b453ad136ce6..be8e6b4ed219 100644 --- a/multimedia/avifile/Makefile +++ b/multimedia/avifile/Makefile @@ -7,7 +7,7 @@ PORTNAME= avifile PORTVERSION= 0.7.43 -PORTREVISION= 2 +PORTREVISION= 3 PORTEPOCH= 2 CATEGORIES= multimedia MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} @@ -25,7 +25,7 @@ USE_XLIB= yes USE_GMAKE= yes USE_AUTOTOOLS= libtool:15 USE_ICONV= yes -INSTALLS_SHLIB= yes +USE_LDCONFIG= yes LIBTOOLFILES= acinclude.m4 CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include -L${LOCALBASE}/lib" \ @@ -222,6 +222,11 @@ post-patch: # linux/ioctl.h -> sys/ioctl.h @${REINPLACE_CMD} -e 's|linux/ioctl.h|sys/ioctl.h|' \ ${WRKSRC}/drivers/libdha/kernelhelper/dhahelper.h +# pcvt_ioctl.h was removed recently +.if !exists(/usr/include/machine/pcvt_ioctl.h) + @${REINPLACE_CMD} -e 's,machine/pcvt_ioctl.h,sys/kbio.h,' \ + ${WRKSRC}/drivers/libdha/sysdep/pci_freebsd.c +.endif # FreeBSD does not support Video4Linux or equivalent # therefore, do not build qtvidcap @${REINPLACE_CMD} -E -e 's|^(SUBDIRS.+)qtvidcap|\1|' \ diff --git a/multimedia/avifile/files/patch-lib_aviread_ReadFile.cpp b/multimedia/avifile/files/patch-lib_aviread_ReadFile.cpp new file mode 100644 index 000000000000..c7313942d245 --- /dev/null +++ b/multimedia/avifile/files/patch-lib_aviread_ReadFile.cpp @@ -0,0 +1,20 @@ +--- lib/aviread/ReadFile.cpp.orig Sat Sep 23 14:17:45 2006 ++++ lib/aviread/ReadFile.cpp Sat Sep 23 14:23:49 2006 +@@ -8,7 +8,7 @@ + + AVM_BEGIN_NAMESPACE; + +-avm::IReadFile::~IReadFile() {} ++IReadFile::~IReadFile() {} + + class ReadFile: public IReadFile + { +@@ -125,7 +125,7 @@ + }; + + +-avm::IReadFile* avm::CreateReadFile(const char* name, unsigned int flags) ++IReadFile* CreateReadFile(const char* name, unsigned int flags) + { + ReadFile* r = new ReadFile(name, flags); + return r; |