From 0a67458a9437b888e731d78750ea1d7afb2f18f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Tue, 6 Mar 2018 08:59:13 +0100 Subject: [PATCH] debian: add patch for Ubuntu Artful to use PHP 7.1 --- .../patches/weechat_ubuntu_artful.patch | 44 +++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 tools/debian/patches/weechat_ubuntu_artful.patch diff --git a/tools/debian/patches/weechat_ubuntu_artful.patch b/tools/debian/patches/weechat_ubuntu_artful.patch new file mode 100644 index 000000000..e07c9b2e5 --- /dev/null +++ b/tools/debian/patches/weechat_ubuntu_artful.patch @@ -0,0 +1,44 @@ +diff --git a/debian-devel/control b/debian-devel/control +index f8f027d8e..1161649fc 100644 +--- a/debian-devel/control ++++ b/debian-devel/control +@@ -16,7 +16,7 @@ Build-Depends: + tcl8.6-dev, + guile-2.0-dev, + libv8-dev [amd64 armel armhf hurd-i386 i386 kfreebsd-amd64 kfreebsd-i386 mips mipsel], +- php7.2-dev, libphp7.2-embed, libxml2-dev, libargon2-0-dev, libsodium-dev, ++ php7.1-dev, libphp7.1-embed, libxml2-dev, + libcurl4-gnutls-dev, + libgcrypt20-dev, + libgnutls28-dev, +@@ -181,7 +181,7 @@ Description: Fast, light and extensible chat client - javascript plugin + Package: weechat-devel-php + Architecture: any + Depends: ${misc:Depends}, ${shlibs:Depends}, weechat-devel-curses (= ${binary:Version}), +- libphp7.2-embed ++ libphp7.1-embed + Conflicts: weechat-php + Description: Fast, light and extensible chat client - php plugin + WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client +diff --git a/debian-stable/control b/debian-stable/control +index a68d181e8..656e2def3 100644 +--- a/debian-stable/control ++++ b/debian-stable/control +@@ -16,7 +16,7 @@ Build-Depends: + tcl8.6-dev, + guile-2.0-dev, + libv8-dev [amd64 armel armhf hurd-i386 i386 kfreebsd-amd64 kfreebsd-i386 mips mipsel], +- php7.2-dev, libphp7.2-embed, libxml2-dev, libargon2-0-dev, libsodium-dev, ++ php7.1-dev, libphp7.1-embed, libxml2-dev, + libcurl4-gnutls-dev, + libgcrypt20-dev, + libgnutls28-dev, +@@ -174,7 +174,7 @@ Description: Fast, light and extensible chat client - javascript plugin + Package: weechat-php + Architecture: any + Depends: ${misc:Depends}, ${shlibs:Depends}, weechat-curses (= ${binary:Version}), +- libphp7.2-embed ++ libphp7.1-embed + Description: Fast, light and extensible chat client - php plugin + WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client + for many operating systems. Everything can be done with a keyboard.