From 2c453f9710914835849e070c5f888a7fbe61180b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Wed, 27 Sep 2017 16:21:58 +0200 Subject: [PATCH] build: add patch for Debian Stretch, Raspbian Stretch and Ubuntu Zesty/Yakkety/Xenial to use PHP 7.0 instead of 7.1 --- .../patches/weechat_debian_stretch.patch | 26 +++++++++++++++++++ .../patches/weechat_raspbian_stretch.patch | 1 + .../patches/weechat_ubuntu_xenial.patch | 1 + .../patches/weechat_ubuntu_yakkety.patch | 1 + .../debian/patches/weechat_ubuntu_zesty.patch | 1 + 5 files changed, 30 insertions(+) create mode 100644 tools/debian/patches/weechat_debian_stretch.patch create mode 120000 tools/debian/patches/weechat_raspbian_stretch.patch create mode 120000 tools/debian/patches/weechat_ubuntu_xenial.patch create mode 120000 tools/debian/patches/weechat_ubuntu_yakkety.patch create mode 120000 tools/debian/patches/weechat_ubuntu_zesty.patch diff --git a/tools/debian/patches/weechat_debian_stretch.patch b/tools/debian/patches/weechat_debian_stretch.patch new file mode 100644 index 000000000..a1230e465 --- /dev/null +++ b/tools/debian/patches/weechat_debian_stretch.patch @@ -0,0 +1,26 @@ +diff --git a/debian-devel/control b/debian-devel/control +index 04fc76a41..d776aea16 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.1-dev, libphp7.1-embed, ++ php7.0-dev, libphp7.0-embed, + libcurl4-gnutls-dev, + libgcrypt20-dev, + libgnutls28-dev, +diff --git a/debian-stable/control b/debian-stable/control +index 68a501262..cfc285fe6 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.1-dev, libphp7.1-embed, ++ php7.0-dev, libphp7.0-embed, + libcurl4-gnutls-dev, + libgcrypt20-dev, + libgnutls28-dev, diff --git a/tools/debian/patches/weechat_raspbian_stretch.patch b/tools/debian/patches/weechat_raspbian_stretch.patch new file mode 120000 index 000000000..ab23b0230 --- /dev/null +++ b/tools/debian/patches/weechat_raspbian_stretch.patch @@ -0,0 +1 @@ +weechat_debian_stretch.patch \ No newline at end of file diff --git a/tools/debian/patches/weechat_ubuntu_xenial.patch b/tools/debian/patches/weechat_ubuntu_xenial.patch new file mode 120000 index 000000000..ab23b0230 --- /dev/null +++ b/tools/debian/patches/weechat_ubuntu_xenial.patch @@ -0,0 +1 @@ +weechat_debian_stretch.patch \ No newline at end of file diff --git a/tools/debian/patches/weechat_ubuntu_yakkety.patch b/tools/debian/patches/weechat_ubuntu_yakkety.patch new file mode 120000 index 000000000..ab23b0230 --- /dev/null +++ b/tools/debian/patches/weechat_ubuntu_yakkety.patch @@ -0,0 +1 @@ +weechat_debian_stretch.patch \ No newline at end of file diff --git a/tools/debian/patches/weechat_ubuntu_zesty.patch b/tools/debian/patches/weechat_ubuntu_zesty.patch new file mode 120000 index 000000000..ab23b0230 --- /dev/null +++ b/tools/debian/patches/weechat_ubuntu_zesty.patch @@ -0,0 +1 @@ +weechat_debian_stretch.patch \ No newline at end of file