aboutsummaryrefslogtreecommitdiff
path: root/graphics/libfpx
diff options
context:
space:
mode:
authorMikhail Teterin <mi@FreeBSD.org>2012-02-08 17:20:14 +0000
committerMikhail Teterin <mi@FreeBSD.org>2012-02-08 17:20:14 +0000
commit60100449d8429fcc23555d6357d78ecb4ef85c56 (patch)
tree4feb8204a0528b3ae03c1fcd2a2d24c3fb8131db /graphics/libfpx
parent1c08b00624732c0270a7d0657b9686d11c88a55a (diff)
downloadports-60100449d8429fcc23555d6357d78ecb4ef85c56.tar.gz
ports-60100449d8429fcc23555d6357d78ecb4ef85c56.zip
Notes
Diffstat (limited to 'graphics/libfpx')
-rw-r--r--graphics/libfpx/Makefile6
-rw-r--r--graphics/libfpx/files/patch-aa10
-rw-r--r--graphics/libfpx/pkg-plist4
3 files changed, 14 insertions, 6 deletions
diff --git a/graphics/libfpx/Makefile b/graphics/libfpx/Makefile
index 7d66fda56838..6ebbf37a6a2b 100644
--- a/graphics/libfpx/Makefile
+++ b/graphics/libfpx/Makefile
@@ -7,24 +7,26 @@
PORTNAME= libfpx
PORTVERSION= 1.2.0.12
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= ehaupt
+
PATCHFILES= fpx.mega-patch.2007-11-01.bz2
PATCH_SITES= http://aldan.algebra.com/~mi/
MAINTAINER= mi@aldan.algebra.com
COMMENT= Library routines for working with Flashpix images
-MAKE_ARGS+= -j`${SYSCTL} -n hw.ncpu`
USE_BZIP2= yes
post-patch:
${RM} ${WRKSRC}/ri_image/wchar.c ${WRKSRC}/fpx/fpxlib.h
+PLIST_FILES=lib/libfpx.so.2 lib/libfpx.so lib/libfpx.a include/fpxlib.h
USE_LDCONFIG= yes
MAKEFILE= ${FILESDIR}/Makefile.bsd
+MAKE_JOBS_SAFE= yes
.include <bsd.port.mk>
diff --git a/graphics/libfpx/files/patch-aa b/graphics/libfpx/files/patch-aa
new file mode 100644
index 000000000000..31144317e51d
--- /dev/null
+++ b/graphics/libfpx/files/patch-aa
@@ -0,0 +1,10 @@
+--- fpx/f_fpxvw.cpp 2005-02-25 21:23:05.000000000 -0500
++++ fpx/f_fpxvw.cpp 2012-01-19 19:44:34.425688599 +0200
+@@ -613,6 +613,7 @@ HRESULT OleRegGetUserType(REFCLSID clsid
+ const OLECHAR *src=OLESTR("Flashpix Toolkit Application");
+ OLECHAR *dest=*pszUserType;
+ while(*src) *dest++=*src++;
++ *dest=(OLECHAR)0;
+
+ return S_OK;
+ }
diff --git a/graphics/libfpx/pkg-plist b/graphics/libfpx/pkg-plist
deleted file mode 100644
index a45459828f33..000000000000
--- a/graphics/libfpx/pkg-plist
+++ /dev/null
@@ -1,4 +0,0 @@
-lib/libfpx.so.2
-lib/libfpx.so
-lib/libfpx.a
-include/fpxlib.h