diff options
author | 2009-12-31 12:41:06 -0500 | |
---|---|---|
committer | 2009-12-31 12:41:06 -0500 | |
commit | 6b18e7781abd59f91f18b29419aad191d89771fe (patch) | |
tree | 0847f38e4a5fe1141a0dbd4a130016301bae70cd /x11-misc | |
parent | Fix build failure (diff) | |
download | eatnumber1-6b18e7781abd59f91f18b29419aad191d89771fe.tar.gz eatnumber1-6b18e7781abd59f91f18b29419aad191d89771fe.tar.bz2 eatnumber1-6b18e7781abd59f91f18b29419aad191d89771fe.zip |
Fix building keynav with --as-needed
Diffstat (limited to 'x11-misc')
-rw-r--r-- | x11-misc/keynav/Manifest | 3 | ||||
-rw-r--r-- | x11-misc/keynav/files/keynav-20091231.01_as-needed.patch | 29 | ||||
-rw-r--r-- | x11-misc/keynav/keynav-20091231.01.ebuild | 3 |
3 files changed, 33 insertions, 2 deletions
diff --git a/x11-misc/keynav/Manifest b/x11-misc/keynav/Manifest index 3e7d084..b474d1d 100644 --- a/x11-misc/keynav/Manifest +++ b/x11-misc/keynav/Manifest @@ -1,5 +1,6 @@ +AUX keynav-20091231.01_as-needed.patch 704 RMD160 ea8714da689989e1e8202b2e5eae5e262d44e1f3 SHA1 8c77d0f1293c8db3fc8d2ac3f36309eebf24b4cd SHA256 1205427518f7176d7df325904c2b36b72b1694646d1d2e0c3d81ab4255470aac AUX keynav-20091231.01_etc-config.patch 1684 RMD160 c9329ca5c8bf063cc8cdbed9713bcfaee097031c SHA1 df6818fb894b2252b0435249b1cea3df541e1612 SHA256 757146ab8dc6f23ee552d30470d481d4ef7c524cb3d28d651501b532f157ec5d AUX keynav-20091231.01_fix-makefile.patch 1600 RMD160 56329b1bf1dc5565bf6a36f3c66db60818deb3d7 SHA1 f08a267e5daff0ffbdc3238fa0959adc0a0174f7 SHA256 98d54ec1f7b35f10d25bd84d7518ee6bfa6672ab99a1712b75d011d4e60bc2a8 AUX keynav-20091231.01_fix-memleaks.patch 707 RMD160 2064784df6f232fe0dc43cc773e76282aa03735c SHA1 fdbd10c281093ace59bdfb2a21a8033da74e4450 SHA256 6c613718ac520f9b5a7fa302237ee528420a58461fdf29942024eb17d3615e7b -EBUILD keynav-20091231.01.ebuild 992 RMD160 f69720948c3b491e9184b007439bc18c772a8302 SHA1 c36dc205286ecec940d92a5f973689a0838c3511 SHA256 1c2101c455614267b17d6a76cd20ed585bc83eef3fe8243958bea153f08798cb +EBUILD keynav-20091231.01.ebuild 1031 RMD160 fff7fe43fb5b1e458b8f6d1f6eeec96f4d57ba07 SHA1 b0cbf150d81e83ef76888aae30193fcfccf0aaa2 SHA256 2e6a9da7621ae1ec9b0437b6f4e2e2832e2d00f15550d4daeb8ef102de47b23d DIST keynav-20091231.01.tar.gz 37277 RMD160 ff84ea62a3e8d6bfea19bb191b4a5430ed2e1416 SHA1 ae11cadee8d4ea932f4bd1bb3fc165751c115ea8 SHA256 cdb3865fb844d22abd8cb14110c134e2ae82bba57799b64636229fe9e2987006 diff --git a/x11-misc/keynav/files/keynav-20091231.01_as-needed.patch b/x11-misc/keynav/files/keynav-20091231.01_as-needed.patch new file mode 100644 index 0000000..3290760 --- /dev/null +++ b/x11-misc/keynav/files/keynav-20091231.01_as-needed.patch @@ -0,0 +1,29 @@ +From 18568a4913378fc9f9bfe4087eac637d19a03fd3 Mon Sep 17 00:00:00 2001 +From: Russell Harmon <russ@eatnumber1.com> +Date: Thu, 31 Dec 2009 12:19:13 -0500 +Subject: [PATCH] Fix building with --as-needed + +--- + Makefile | 4 ++-- + 1 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/Makefile b/Makefile +index f168e82..9b8f406 100644 +--- a/Makefile ++++ b/Makefile +@@ -21,10 +21,10 @@ clean: + keynav: keynav.o + @set -x; \ + if $(LD) -lxdo > /dev/null 2>&1 ; then \ +- $(CC) $(LDFLAGS) -lxdo keynav.o -o $@; \ ++ $(CC) keynav.o -o $@ $(LDFLAGS) -lxdo; \ + else \ + $(MAKE) xdo.o; \ +- $(CC) $(LDFLAGS) xdo.o keynav.o -o $@; \ ++ $(CC) xdo.o keynav.o -o $@ $(LDFLAGS); \ + fi + + xdo.o: +-- +1.6.4.4 + diff --git a/x11-misc/keynav/keynav-20091231.01.ebuild b/x11-misc/keynav/keynav-20091231.01.ebuild index add6911..51abebc 100644 --- a/x11-misc/keynav/keynav-20091231.01.ebuild +++ b/x11-misc/keynav/keynav-20091231.01.ebuild @@ -25,7 +25,8 @@ DEPEND="x11-proto/xproto src_prepare() { epatch "${FILESDIR}/${P}_etc-config.patch" \ "${FILESDIR}/${P}_fix-makefile.patch" \ - "${FILESDIR}/${P}_fix-memleaks.patch" + "${FILESDIR}/${P}_fix-memleaks.patch" \ + "${FILESDIR}/${P}_as-needed.patch" } src_compile() { |