- fix build after new poppler import

- while here fix plist (should have been fixed long time ago :() [2]

Reported by:	pointyhat (pav)
This commit is contained in:
Baptiste Daroussin 2011-10-31 16:49:14 +00:00
parent 9465b43887
commit c0abc81978
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=284791
2 changed files with 10 additions and 1 deletions

View file

@ -395,7 +395,7 @@ post-install:
@cd ${LODESTDIR}/${PREFIX} && ${FIND} -H -s lib \( -type f -o -type l \) -print >> ${PLISTF}
@cd ${LODESTDIR}/${PREFIX} && ${FIND} -d lib/libreoffice -type d -exec ${ECHO_CMD} "@dirrm {}" \; >> ${PLISTD}
.for subdir in applications icons mime mime-info mimelnk
.for subdir in applications icons mime mimelnk
@cd ${LODESTDIR}/${PREFIX} && ${FIND} -H -s share/${subdir} \( -type f -o -type l \) -print >> ${PLISTF}
@cd ${LODESTDIR}/${PREFIX}/ && ${FIND} -d share/${subdir} -type d \
-exec ${ECHO_CMD} "@unexec ${RMDIR} %D/{} 2>/dev/null || ${TRUE}" \; >> ${PLISTD}

View file

@ -1,5 +1,14 @@
--- clone/extensions/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx.orig 2011-10-26 13:23:40.000000000 +0000
+++ clone/extensions/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx 2011-10-26 13:23:57.000000000 +0000
@@ -150,7 +150,7 @@
void writeJpeg_( OutputBuffer& o_rOutputBuf, Stream* str, bool bWithLinefeed )
{
// dump JPEG file as-is
- str = ((DCTStream *)str)->getRawStream();
+ str = str->getBaseStream();
str->reset();
int c;
@@ -489,7 +489,7 @@ void PDFOutDev::endPage()
printf("endPage\n");
}