Skip to content
Snippets Groups Projects
Commit 2c1eed6f authored by Ariadne Conill's avatar Ariadne Conill :rabbit:
Browse files

community/jgmenu: fix FTBFS with current libxfce4panel

parent d666cd86
No related branches found
No related tags found
No related merge requests found
......@@ -22,7 +22,8 @@ makedepends="
"
checkdepends="perl xvfb-run"
subpackages="$pkgname-doc $pkgname-xfce4"
source="$pkgname-$pkgver.tar.gz::https://github.com/johanmalm/jgmenu/archive/v$pkgver.tar.gz"
source="$pkgname-$pkgver.tar.gz::https://github.com/johanmalm/jgmenu/archive/v$pkgver.tar.gz
libxfce4panel.patch"
build() {
export CFLAGS="$CFLAGS -flto=auto"
......@@ -53,4 +54,5 @@ xfce4() {
sha512sums="
e09ff357e99e58ba63f0a9e8c9c8d1164bcc588bfda565139a8d9b35bb76683e284952feb12680830bec8188957c5b7aec6c89817962fb368381b80046d43ae0 jgmenu-4.4.1.tar.gz
4f6a8aa42e4b2c36b5e7379170fbab9bb33d38a38d6564be92a0eec6c038dfe7ae75ddc70d4826eb5dbe5228201cc4b99bda5dbfc58d713740dac5db31e70dc2 libxfce4panel.patch
"
--- jgmenu-4.4.1.orig/contrib/xfce4-panel/jgmenu-applet.c
+++ jgmenu-4.4.1/contrib/xfce4-panel/jgmenu-applet.c
@@ -5,7 +5,7 @@
*/
#include <libxfce4util/libxfce4util.h>
-#include <libxfce4panel/xfce-panel-plugin.h>
+#include <libxfce4panel/libxfce4panel.h>
#define DEFAULT_ICON_NAME "jgmenu"
#define DEFAULT_TOOLTIP_MESSAGE "Applications Menu"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment