apply patches

This commit is contained in:
openKylinBot 2022-05-14 00:33:03 +08:00
commit 2adb4bfa2c
9 changed files with 14 additions and 1 deletions

View File

@ -1,6 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"> <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
<refentry id="ldb.3"> <refentry id="ldb.3">
<refentryinfo><date>2015-04-26</date></refentryinfo>
<refmeta> <refmeta>
<refentrytitle>ldb</refentrytitle> <refentrytitle>ldb</refentrytitle>

View File

@ -1,6 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"> <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
<refentry id="ldbadd.1"> <refentry id="ldbadd.1">
<refentryinfo><date>2015-04-26</date></refentryinfo>
<refmeta> <refmeta>
<refentrytitle>ldbadd</refentrytitle> <refentrytitle>ldbadd</refentrytitle>

View File

@ -1,6 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"> <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
<refentry id="ldbdel.1"> <refentry id="ldbdel.1">
<refentryinfo><date>2015-04-26</date></refentryinfo>
<refmeta> <refmeta>
<refentrytitle>ldbdel</refentrytitle> <refentrytitle>ldbdel</refentrytitle>

View File

@ -1,6 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"> <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
<refentry id="ldbedit.1"> <refentry id="ldbedit.1">
<refentryinfo><date>2015-04-26</date></refentryinfo>
<refmeta> <refmeta>
<refentrytitle>ldbedit</refentrytitle> <refentrytitle>ldbedit</refentrytitle>

View File

@ -1,6 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"> <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
<refentry id="ldbmodify.1"> <refentry id="ldbmodify.1">
<refentryinfo><date>2015-04-26</date></refentryinfo>
<refmeta> <refmeta>
<refentrytitle>ldbmodify</refentrytitle> <refentrytitle>ldbmodify</refentrytitle>

View File

@ -1,6 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"> <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
<refentry id="ldbrename.1"> <refentry id="ldbrename.1">
<refentryinfo><date>2015-04-26</date></refentryinfo>
<refmeta> <refmeta>
<refentrytitle>ldbrename</refentrytitle> <refentrytitle>ldbrename</refentrytitle>

View File

@ -1,6 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?> <?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"> <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
<refentry id="ldbsearch.1"> <refentry id="ldbsearch.1">
<refentryinfo><date>2015-04-26</date></refentryinfo>
<refmeta> <refmeta>
<refentrytitle>ldbsearch</refentrytitle> <refentrytitle>ldbsearch</refentrytitle>

View File

@ -1,5 +1,5 @@
import os import os
from unittest import TestCase from unittest import TestCase, skipIf
import shutil import shutil
from subprocess import check_output from subprocess import check_output
import ldb import ldb
@ -176,6 +176,8 @@ class GUIDIndexAndPackFormatTests(TestCase):
# Check a database with V1 format with GUID indexing enabled is repacked # Check a database with V1 format with GUID indexing enabled is repacked
# with version 2 format. # with version 2 format.
@skipIf(os.environ.get('DEB_HOST_ARCH', 'unknown') in ['mips64el', 'ppc64el', 'ia64', 'ppc64'],
"Premade v1 unreadable on arch %s" % os.environ.get('DEB_HOST_ARCH', 'unknown'))
def test_guid_indexed_v1_db(self): def test_guid_indexed_v1_db(self):
self.setup_premade_v1_db() self.setup_premade_v1_db()

View File

@ -188,6 +188,10 @@ def configure(conf):
conf.env.HAVE_LMDB = True conf.env.HAVE_LMDB = True
# Work around pthread bug on the hurd (#578432)
if sys.platform.startswith("gnu"):
conf.ADD_LDFLAGS('-pthread', testflags=True)
conf.DEFINE('HAVE_CONFIG_H', 1, add_to_cflags=True) conf.DEFINE('HAVE_CONFIG_H', 1, add_to_cflags=True)
conf.SAMBA_CONFIG_H() conf.SAMBA_CONFIG_H()