diff --git a/haiku-misc/pdfwriter/patches/pdfwriter-1.0.patchset b/haiku-misc/pdfwriter/patches/pdfwriter-1.0.patchset new file mode 100644 index 000000000..a39f2594c --- /dev/null +++ b/haiku-misc/pdfwriter/patches/pdfwriter-1.0.patchset @@ -0,0 +1,22 @@ +From 5095f62a7e316697d2147743e7b111930da1064f Mon Sep 17 00:00:00 2001 +From: Jerome Duval +Date: Mon, 10 Jul 2017 22:49:17 +0200 +Subject: link against libstdc++. + + +diff --git a/Makefile b/Makefile +index 6cb354c..882a012 100644 +--- a/Makefile ++++ b/Makefile +@@ -83,7 +83,7 @@ RSRCS = + # - if your library does not follow the standard library naming scheme, + # you need to specify the path to the library and it's name. + # (e.g. for mylib.a, specify "mylib.a" or "path/mylib.a") +-LIBS = be pdf textencoding translation print printutils ++LIBS = be pdf textencoding translation print printutils $(STDCPPLIBS) + + # Specify additional paths to directories following the standard libXXX.so + # or libXXX.a naming scheme. You can specify full paths or paths relative +-- +2.12.2 + diff --git a/haiku-misc/pdfwriter/pdfwriter-1.0.recipe b/haiku-misc/pdfwriter/pdfwriter-1.0.recipe index a9e05f1d1..774b98d5e 100644 --- a/haiku-misc/pdfwriter/pdfwriter-1.0.recipe +++ b/haiku-misc/pdfwriter/pdfwriter-1.0.recipe @@ -9,8 +9,9 @@ srcGitRev="7267aff12ce96a381c8a817b04e4e8f1fd3036a0" SOURCE_URI="$HOMEPAGE/archive/$srcGitRev.tar.gz" CHECKSUM_SHA256="8eaecc3980dffd37e7c0a01d106eded735670bcd0def9c8dfedfca583d277e9e" SOURCE_DIR="PDFWriter-$srcGitRev" +PATCHES="pdfwriter-$portVersion.patchset" -ARCHITECTURES="x86_gcc2 ?x86 ?x86_64" +ARCHITECTURES="x86_gcc2 ?x86 x86_64" PROVIDES=" PDFWriter = $portVersion