--- libffi-3.3.orig/debian/changelog
+++ libffi-3.3/debian/changelog
@@ -0,0 +1,11 @@
+libffi (3.3-4) stable; urgency=low
+
+  * version number update by debtransform
+
+ -- debtransform <build@opensuse.org>  Thu, 02 Mar 2023 13:56:36 +0000
+
+libffi (3.3-0) stable; urgency=low
+
+  * Release 3.3
+
+ -- Esteban Lorenzano <estebanlm@netc.eu>  Mon, 15 Jun 2020 16:00:00 +0100
--- libffi-3.3.orig/debian/compat
+++ libffi-3.3/debian/compat
@@ -0,0 +1 @@
+10
--- libffi-3.3.orig/debian/control
+++ libffi-3.3/debian/control
@@ -0,0 +1,19 @@
+Source: libffi
+Section: libs
+Priority: optional
+Maintainer: Esteban Lorenzano <estebanlm@netc.eu>
+Build-Depends: debhelper (>= 8.0.0)
+Standards-Version: 3.9.4
+Homepage: https://github.com/libffi/libffi
+
+Package: libffi7
+Section: libs
+Architecture: amd64 arm64 armhf
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: A portable foreign-function interface library. http://sourceware.org/libffi
+
+Package: libffi7-dev
+Section: libs
+Architecture: amd64 arm64 armhf
+Depends: libffi7
+Description: A portable foreign-function interface library. http://sourceware.org/libffi (dev files)
--- libffi-3.3.orig/debian/libffi7-dev.install
+++ libffi-3.3/debian/libffi7-dev.install
@@ -0,0 +1,4 @@
+usr/include/*
+usr/lib/*/lib*.*a
+usr/lib/*/pkgconfig/libffi.pc
+usr/share/*
--- libffi-3.3.orig/debian/libffi7.install
+++ libffi-3.3/debian/libffi7.install
@@ -0,0 +1,3 @@
+usr/lib/*/libffi.so
+usr/lib/*/libffi.so.7
+usr/lib/*/libffi.so.7.1.0
--- libffi-3.3.orig/debian/rules
+++ libffi-3.3/debian/rules
@@ -0,0 +1,11 @@
+#! /usr/bin/make -f
+
+export DH_VERBOSE=1
+VERSION=3.3
+
+%:
+	dh $@ --with autoreconf
+
+override_dh_auto_configure:
+	dh_auto_configure -- \
+		--disable-multi-os-directory
