diff options
Diffstat (limited to 'x11-plugins/wmpop3')
-rw-r--r-- | x11-plugins/wmpop3/files/wmpop3-0.5.6a-fno-common.patch | 23 | ||||
-rw-r--r-- | x11-plugins/wmpop3/wmpop3-0.5.6a-r1.ebuild | 4 |
2 files changed, 26 insertions, 1 deletions
diff --git a/x11-plugins/wmpop3/files/wmpop3-0.5.6a-fno-common.patch b/x11-plugins/wmpop3/files/wmpop3-0.5.6a-fno-common.patch new file mode 100644 index 000000000000..6e6c3e604146 --- /dev/null +++ b/x11-plugins/wmpop3/files/wmpop3-0.5.6a-fno-common.patch @@ -0,0 +1,23 @@ +diff -Naur wmpop3-0.5.6a.orig/wmgeneral/wmgeneral.c wmpop3-0.5.6a/wmgeneral/wmgeneral.c +--- wmpop3-0.5.6a.orig/wmgeneral/wmgeneral.c 1999-08-13 17:56:19.000000000 +0200 ++++ wmpop3-0.5.6a/wmgeneral/wmgeneral.c 2020-06-13 11:00:02.036999257 +0200 +@@ -67,6 +67,7 @@ + GC NormalGC; + XpmIcon wmgen; + Pixmap pixmask; ++Display *display; + + /*****************/ + /* Mouse Regions */ +diff -Naur wmpop3-0.5.6a.orig/wmgeneral/wmgeneral.h wmpop3-0.5.6a/wmgeneral/wmgeneral.h +--- wmpop3-0.5.6a.orig/wmgeneral/wmgeneral.h 1999-08-13 17:56:19.000000000 +0200 ++++ wmpop3-0.5.6a/wmgeneral/wmgeneral.h 2020-06-13 10:59:57.263995472 +0200 +@@ -36,7 +36,7 @@ + /* Global variable */ + /*******************/ + +-Display *display; ++extern Display *display; + + /***********************/ + /* Function Prototypes */ diff --git a/x11-plugins/wmpop3/wmpop3-0.5.6a-r1.ebuild b/x11-plugins/wmpop3/wmpop3-0.5.6a-r1.ebuild index 88f9dc571200..7a3f6094bc11 100644 --- a/x11-plugins/wmpop3/wmpop3-0.5.6a-r1.ebuild +++ b/x11-plugins/wmpop3/wmpop3-0.5.6a-r1.ebuild @@ -17,7 +17,9 @@ DEPEND="x11-wm/windowmaker x11-libs/libXpm" RDEPEND="${DEPEND}" -PATCHES=( ${FILESDIR}/${P}-list.patch ) +PATCHES=( "${FILESDIR}"/${P}-list.patch + "${FILESDIR}"/${P}-fno-common.patch + ) src_prepare() { sed -e "s|cc |$(tc-getCC) |" \ |