Updated patch to fix install.

Dave

--
John David Anglin  dave.ang...@bell.net
--- control.save        2024-04-21 15:25:15.368645225 +0000
+++ control     2024-04-21 15:14:58.183856344 +0000
@@ -18,7 +18,7 @@
                libdw-dev [i386 amd64 armel armhf arm64 powerpc ppc64 ppc64el 
mipsel mips64el riscv64],
                bison,
                flex,
-               rustc,
+               rustc [!hppa],
                libgirepository1.0-dev,
                gir1.2-glib-2.0,
                gir1.2-freedesktop,
--- libgstreamer1.0-0.install.save      2024-04-21 16:38:07.810032050 +0000
+++ libgstreamer1.0-0.install   2024-04-21 16:38:17.922110631 +0000
@@ -1,5 +1,4 @@
 usr/lib/*/gstreamer-1.0/*.so
 usr/lib/*/gstreamer1.0/gstreamer-1.0/gst-plugin-scanner
-usr/lib/*/gstreamer1.0/gstreamer-1.0/gst-ptp-helper
 usr/lib/*/*.so.*
 usr/share/locale
--- rules.save  2024-04-21 15:25:23.968711117 +0000
+++ rules       2024-04-21 16:40:18.347048541 +0000
@@ -44,6 +44,10 @@
 conf_flags += -Dlibunwind=disabled -Dlibdw=disabled
 endif
 
+ifneq (,$(filter $(DEB_HOST_ARCH),hppa))
+conf_flags += -Dptp-helper=disabled
+endif
+
 infiles := \
        libgstreamer1.0-0.postinst
 
--- libgstreamer1.0-0.postinst.in.save  2024-04-21 19:15:04.053817208 +0000
+++ libgstreamer1.0-0.postinst.in       2024-04-21 19:15:41.034100581 +0000
@@ -2,7 +2,7 @@
 
 set -e
 
-if [ "$1" = configure ]; then
+if [ "$1" = configure && test -f 
/usr/lib/@MULTIARCH@/gstreamer1.0/gstreamer-1.0/gst-ptp-helper ]; then
     # If we have setcap is installed, try setting 
cap_net_bind_service,cap_net_admin+ep,
     # which allows us to install our helper binary without the setuid bit.
     if command -v setcap > /dev/null; then

Reply via email to