librevenge: pulled patches from libreoffice

This commit is contained in:
Tim Biermann 2023-01-28 14:55:17 +01:00
parent f61538656c
commit 5efe55eb3f
Signed by: tb
GPG Key ID: 42F8B4E30B673606
5 changed files with 38 additions and 8 deletions

View File

@ -36,10 +36,10 @@ drwxr-xr-x root/root usr/include/librevenge-0.0/librevenge/
-rw-r--r-- root/root usr/include/librevenge-0.0/librevenge/librevenge-api.h
-rw-r--r-- root/root usr/include/librevenge-0.0/librevenge/librevenge.h
drwxr-xr-x root/root usr/lib/
lrwxrwxrwx root/root usr/lib/librevenge-0.0-lo.so.0 -> librevenge-0.0-lo.so.0.0.5
-rwxr-xr-x root/root usr/lib/librevenge-0.0-lo.so.0.0.5
-rwxr-xr-x root/root usr/lib/librevenge-0.0.la
lrwxrwxrwx root/root usr/lib/librevenge-0.0.so -> librevenge-0.0.so.0.0.5
lrwxrwxrwx root/root usr/lib/librevenge-0.0.so.0 -> librevenge-0.0.so.0.0.5
-rwxr-xr-x root/root usr/lib/librevenge-0.0.so.0.0.5
lrwxrwxrwx root/root usr/lib/librevenge-0.0.so -> librevenge-0.0-lo.so.0.0.5
-rwxr-xr-x root/root usr/lib/librevenge-generators-0.0.la
lrwxrwxrwx root/root usr/lib/librevenge-generators-0.0.so -> librevenge-generators-0.0.so.0.0.5
lrwxrwxrwx root/root usr/lib/librevenge-generators-0.0.so.0 -> librevenge-generators-0.0.so.0.0.5

View File

@ -1,5 +1,7 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF39AF7yZfx6liW5hLVFxnQ+Giuz8rc1GeA3EzJniZYbp5XQwt1LjP+vlUGuf26JmhSHRweUD8XMqLd2nRoHwlLwM=
SHA256 (Pkgfile) = 84bd69a5c94fa4e4f10649c4fb775cf68562572203ef43f3b9ae1c76d41e6416
SHA256 (.footprint) = b120627ab72bb11b1d1ded1680c0a57ba80bb3dfc650662c4cc9e4e268b87b9c
RWSagIOpLGJF3xVDtNK3MLykrh9uYxheN87ikXik3C9Vay+tRo8ofXQCc8u1R2juyz2ldwjFCze4RcVjVW2rZvQbR/tVELvMYgE=
SHA256 (Pkgfile) = 21a158426cb7d10501dc670482236833c8b905f8e45349c08770123c0f2d3d5e
SHA256 (.footprint) = 0fa56bbfe9eb2fb0927003ff137826452deff632e517a5c59c823cdd02fff8d4
SHA256 (librevenge-0.0.5.tar.gz) = 04fd10d3eea39644c0d7231be9c6c174f3955c51a710266935e8c147e7045d9e
SHA256 (librevenge-bundled-soname.patch.0) = 0241ac930ebda70d845a89a4097de27d3821000e71df2f2d376f31e564750aa0
SHA256 (rpath.patch) = d1493f120d14afcd6957491c01c97e1b381892ff77a523ac415bd2bdf2d10914

View File

@ -5,11 +5,17 @@
name=librevenge
version=0.0.5
release=1
source=(https://sourceforge.net/projects/libwpd/files/librevenge/$name-$version/$name-$version.tar.gz)
release=2
source=(https://sourceforge.net/projects/libwpd/files/librevenge/$name-$version/$name-$version.tar.gz
librevenge-bundled-soname.patch.0
rpath.patch)
build() {
cd $name-$version
patch -Np0 -i $SRC/librevenge-bundled-soname.patch.0
patch -Np0 -i $SRC/rpath.patch
./configure --prefix=/usr \
--disable-werror \
--without-docs

View File

@ -0,0 +1,11 @@
--- src/lib/Makefile.in.orig 2015-08-07 11:57:42.256742305 +0200
+++ src/lib/Makefile.in 2015-08-07 11:58:11.818741799 +0200
@@ -470,7 +470,7 @@
$(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)
+librevenge_@RVNG_MAJOR_VERSION@_@RVNG_MINOR_VERSION@_la_LDFLAGS = $(version_info) -export-dynamic $(no_undefined) -release lo
librevenge_@RVNG_MAJOR_VERSION@_@RVNG_MINOR_VERSION@_la_SOURCES = \
RVNGBinaryData.cpp \
RVNGMemoryStream.cpp \

11
librevenge/rpath.patch Normal file
View File

@ -0,0 +1,11 @@
--- configure
+++ configure
@@ -14983,6 +14983,8 @@
esac
;;
esac
+hardcode_libdir_flag_spec_CXX=
+runpath_var=
;;
lynxos*)