diff options
author | Heinz Wiesinger <pprkut@liwjatan.at> | 2011-11-08 08:46:50 -0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-11-26 09:09:09 -0600 |
commit | ed6ac81f7e026040e19ea530017fdd204007de23 (patch) | |
tree | 30ea8cea43e33098ba4b90040b59c0ecfc515a64 /libraries/openjpeg/openjpeg.SlackBuild | |
parent | a8362d26b293fbf5ebb5c3c7c1da7c4c0a8e7ae2 (diff) | |
download | slackbuilds-ed6ac81f7e026040e19ea530017fdd204007de23.tar.gz |
libraries/openjpeg: Added patch from upstream.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'libraries/openjpeg/openjpeg.SlackBuild')
-rw-r--r-- | libraries/openjpeg/openjpeg.SlackBuild | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/libraries/openjpeg/openjpeg.SlackBuild b/libraries/openjpeg/openjpeg.SlackBuild index 64f60a1437..8c2ffc460c 100644 --- a/libraries/openjpeg/openjpeg.SlackBuild +++ b/libraries/openjpeg/openjpeg.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=openjpeg VERSION=1.4 -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -70,6 +70,9 @@ chmod -R u+w,go+r-w,a-s . # Fix header symlink paths (like upstream svn revision 725) patch -p1 -i $CWD/openjpeg_fix_header_symlinks.patch +# Fix unresolved symbols to libm (like upstream svn revision 729) +patch -p0 -d libopenjpeg -i $CWD/openjpeg_link_libm.patch + mkdir -p build cd build cmake \ @@ -85,7 +88,7 @@ cd build -DBUILD_MJ2:BOOL=ON \ -DBUILD_INDEXER_JPIP:BOOL=ON \ .. - make + make VERBOSE=1 make install DESTDIR=$PKG cd - |