Skip to content

Commit

Permalink
new file: files/parcellite-1.0.2-glib.patch
Browse files Browse the repository at this point in the history
	modified:   parcellite-1.0.2_rc5.ebuild
  • Loading branch information
amielke committed Apr 23, 2012
1 parent cec61fc commit a74c5aa
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
12 changes: 12 additions & 0 deletions x11-misc/parcellite/files/parcellite-1.0.2-glib.patch
@@ -0,0 +1,12 @@
Index: src/keybinder.h
===================================================================
--- src/keybinder.h (revision 244)
+++ src/keybinder.h (working copy)
@@ -20,7 +20,7 @@
#ifndef __KEY_BINDER_H__
#define __KEY_BINDER_H__

-#include <glib/gtypes.h>
+#include <glib.h>

G_BEGIN_DECLS
7 changes: 4 additions & 3 deletions x11-misc/parcellite/parcellite-1.0.2_rc5.ebuild
Expand Up @@ -29,9 +29,10 @@ S="${WORKDIR}"/${MY_P}
src_prepare() {
# Doh! Tarballs contains compiled target
emake clean
cd src || die
sed -i 's/glib\/gtypes.h/glib.h/g' keybinder.h || die
cd ../
epatch "${FILESDIR}"/${P}-glib.patch
# cd src || die
# sed -i 's/glib\/gtypes.h/glib.h/g' keybinder.h || die
# cd ../
eautoreconf
}

Expand Down

0 comments on commit a74c5aa

Please sign in to comment.