librevenge 0.0.3

Closes Homebrew/homebrew#47391.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
This commit is contained in:
luzpaz 2015-12-26 06:58:31 -06:00 committed by Dominyk Tiller
parent b46086dd0d
commit 8e684c0300

View file

@ -1,13 +1,12 @@
class Librevenge < Formula
desc "Base library for writing document import filters"
homepage "https://sourceforge.net/p/libwpd/wiki/librevenge/"
url "http://dev-www.libreoffice.org/src/librevenge-0.0.2.tar.bz2"
mirror "https://downloads.sourceforge.net/project/libwpd/librevenge/librevenge-0.0.2/librevenge-0.0.2.tar.bz2"
sha256 "dedd6fe1f643fc2f254f2ad3719547084bd86bcc482104b995caf3b828368b18"
url "http://dev-www.libreoffice.org/src/librevenge-0.0.3.tar.bz2"
mirror "https://downloads.sourceforge.net/project/libwpd/librevenge/librevenge-0.0.3/librevenge-0.0.3.tar.bz2"
sha256 "8cac287a4f3f37833a7b98304e2d3631d01cf577cb99b9311d5d5cd70680df55"
bottle do
cellar :any
revision 2
sha256 "3918ba5cde28067e9afd41881efd7948b79355751179cd01d4b34efa319bfbd1" => :el_capitan
sha256 "b4b7a9049414395115d58fc95c48dfb2eb79fd0255e8ca85e1b076db891eeccb" => :yosemite
sha256 "3b5bced358dc205d7a848854a9460bb5a49abaec97ada3d284ef2ad9262aa882" => :mavericks
@ -16,10 +15,6 @@ class Librevenge < Formula
depends_on "pkg-config" => :build
depends_on "boost"
# Fix build with Boost 1.59
# https://sourceforge.net/p/libwpd/tickets/6/
# https://sourceforge.net/p/libwpd/librevenge/ci/0beee70d1bf52f0d81b60ee8c373e477991fe546/
patch :DATA
def install
system "./configure", "--without-docs",
@ -43,17 +38,3 @@ class Librevenge < Formula
"-I#{include}/librevenge-0.0", "-L#{lib}"
end
end
__END__
diff --git a/src/lib/Makefile.in b/src/lib/Makefile.in
index d05d38f..692fcd0 100644
--- a/src/lib/Makefile.in
+++ b/src/lib/Makefile.in
@@ -467,7 +467,7 @@ librevenge_@RVNG_MAJOR_VERSION@_@RVNG_MINOR_VERSION@_include_HEADERS = \
AM_CXXFLAGS = -I$(top_srcdir)/inc $(DEBUG_CXXFLAGS) $(ZLIB_CFLAGS) \
$(am__append_1)
librevenge_@RVNG_MAJOR_VERSION@_@RVNG_MINOR_VERSION@_la_CPPFLAGS = \
- -DLIBREVENGE_BUILD $(am__append_2)
+ -DLIBREVENGE_BUILD -DBOOST_ERROR_CODE_HEADER_ONLY $(am__append_2)
librevenge_@RVNG_MAJOR_VERSION@_@RVNG_MINOR_VERSION@_la_LIBADD = @LIBREVENGE_WIN32_RESOURCE@
librevenge_@RVNG_MAJOR_VERSION@_@RVNG_MINOR_VERSION@_la_DEPENDENCIES = @LIBREVENGE_WIN32_RESOURCE@
librevenge_@RVNG_MAJOR_VERSION@_@RVNG_MINOR_VERSION@_la_LDFLAGS = $(version_info) -export-dynamic $(no_undefined)