summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-09-04 12:40:30 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-09-04 12:40:30 +0000
commit62c7739aaa2c141316072b00b8767836de71dce1 (patch)
treea77879cec6209cc1b41314a5bce250a7d8f61eb2 /media-gfx
parentAdd hungarian template pack, bug #272159 (diff)
downloadhistorical-62c7739aaa2c141316072b00b8767836de71dce1.tar.gz
historical-62c7739aaa2c141316072b00b8767836de71dce1.tar.bz2
historical-62c7739aaa2c141316072b00b8767836de71dce1.zip
Include stdlib.h for exit(3) and respect LDFLAGS when building uufilter binary.
Package-Manager: portage-2.2_rc40/cvs/Linux x86_64
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/xloadimage/ChangeLog7
-rw-r--r--media-gfx/xloadimage/Manifest5
-rw-r--r--media-gfx/xloadimage/files/xloadimage-4.1-ldflags_and_exit.patch23
-rw-r--r--media-gfx/xloadimage/xloadimage-4.1-r10.ebuild3
4 files changed, 34 insertions, 4 deletions
diff --git a/media-gfx/xloadimage/ChangeLog b/media-gfx/xloadimage/ChangeLog
index 82112081b1f5..5933f41fc741 100644
--- a/media-gfx/xloadimage/ChangeLog
+++ b/media-gfx/xloadimage/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-gfx/xloadimage
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/xloadimage/ChangeLog,v 1.43 2009/09/04 11:14:38 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/xloadimage/ChangeLog,v 1.44 2009/09/04 12:40:30 ssuominen Exp $
+
+ 04 Sep 2009; Samuli Suominen <ssuominen@gentoo.org>
+ xloadimage-4.1-r10.ebuild, +files/xloadimage-4.1-ldflags_and_exit.patch:
+ Include stdlib.h for exit(3) and respect LDFLAGS when building uufilter
+ binary.
*xloadimage-4.1-r10 (04 Sep 2009)
diff --git a/media-gfx/xloadimage/Manifest b/media-gfx/xloadimage/Manifest
index de7c6b600922..65cdca43986b 100644
--- a/media-gfx/xloadimage/Manifest
+++ b/media-gfx/xloadimage/Manifest
@@ -1,11 +1,12 @@
AUX xloadimage-4.1-endif.patch 321 RMD160 9d65994d8a2090bcf321bc48eaa4028263fe013f SHA1 4b3ed8fedb88c9ec9276a6bf2b48f372193f415c SHA256 a621ead90d893fd5d07d3034adf674d39235484f205198d47092e8e51bd71204
AUX xloadimage-4.1-include-errno_h.patch 303 RMD160 a6125c8e94db89d348a4e358610bd195db044720 SHA1 94568ec6e2679c236b675754a49559f979e772e7 SHA256 705ea25d75585bd763b4330757266ac412ee30562e65b937722dad3e3141c56a
+AUX xloadimage-4.1-ldflags_and_exit.patch 775 RMD160 d7b44f8658d2e58aedf26c25c4075683ea9ad1b0 SHA1 3f9bf0f027e793454a02fcd8df3cecf5c74e0912 SHA256 f2b80e39246e495a5118f27e815cb8100b9619184580d35696c512a0d81b55fb
AUX xloadimage-4.1-unaligned-access.patch 1730 RMD160 31d77d46308db7e1a44e391922db385217227281 SHA1 0fd44ef9e54c59884575f589a97c20cec7ec7657 SHA256 35548e5242d32f66e7175c090af4b2df5ee6f20f51d7e7f83a9f430af568f6c9
AUX xloadimage-4.1-zio-shell-meta-char.diff 1372 RMD160 bdff2a42743659179ff9faaf7d2451d3d2c94678 SHA1 4ac943a7b4eb78d65577838b910628fa14fb84e6 SHA256 253064f5eebcd6c1c318b9637f1010657927b5f65be59581ef37523a50f3601e
AUX xloadimage-gentoo.patch 8956 RMD160 f60ed7543ae72a598d37d665d2fd1b3e000a69c2 SHA1 4fa12fa375187f04f5f71dafe7b02b858273b050 SHA256 e03f0584b32a0be68f7baeb13df2ad29277ecdbb54baed0b5f878301122e0c30
DIST xloadimage-4.1-gentoo.diff.bz2 41390 RMD160 63b160b968937d8c580c7876137263bdbaaa575d SHA1 6436b03b74429470b5491870706885dd7fe69f63 SHA256 dae93c4bd2955810252ff4dd5650386c34f82db8a7a1502c653bf965dad1632a
DIST xloadimage.4.1.tar.gz 596021 RMD160 000271b40f58601cd1057b4e99c31a30da6e10af SHA1 0a8ee9b185702750706f68e4a34e086873f17690 SHA256 400bc7d84dcfb3265a7a1ce51819679dc3adaeda231514bd89b0f932b78ff5c4
-EBUILD xloadimage-4.1-r10.ebuild 2012 RMD160 e1556042beb281ecc608516ded1a3e9cb8f39023 SHA1 1a6f0ca7c7f1f8b5a45f991796ff8f1581bba21d SHA256 d8f18d3057b0b20d07fdbeede8e684cd6ae195bdfc625e1f22e8c3f8b49eb54a
+EBUILD xloadimage-4.1-r10.ebuild 2062 RMD160 328efe9999d132ad3e4d787e8e944b440e374e1e SHA1 8497bca76b8573272e6df05f2e76957a38fd1ea3 SHA256 9c6bc820da63497df61519e7f89519934e6d0a032bcb2ca086ac8794b6a9035d
EBUILD xloadimage-4.1-r4.ebuild 2217 RMD160 578d9e9b5d4eb1d24e5bceac91b8ca0af3c2301c SHA1 9a1d4eef6740b729679102e337085c104e0b4d5c SHA256 0effd77c9a4239964154be429060b3fd7a4224e4e4308a57f73a7755db9396aa
-MISC ChangeLog 7316 RMD160 f9729132dbf59ff37c1720003b20d6ad9f2b4945 SHA1 f99411c99c3dd45c4607c8acf8385e2ed8ea29ea SHA256 ab4b945316c26e335bbe80e9c66d390b75453ee7cba7d26a07b3d100bc9b4d8a
+MISC ChangeLog 7530 RMD160 56c02b47ca7b3233dc9c21a1367b1decbf1ff36c SHA1 20f8bb2616e5d94178e8dc2c497eee0e87e1ed7f SHA256 3dea9223070cdd9bd3c05e7461d77ecd6e9e9d0d7d7be4aad82b1e8bd0290601
MISC metadata.xml 163 RMD160 9cdda004bed83a887f4a756cb1550fab6ce563ce SHA1 bfc4f31690e338a159152dcd46d56ff7fd6b6e1b SHA256 212655100c50c4193072996553f15984b9788fb20fb4175efd2418b80d428564
diff --git a/media-gfx/xloadimage/files/xloadimage-4.1-ldflags_and_exit.patch b/media-gfx/xloadimage/files/xloadimage-4.1-ldflags_and_exit.patch
new file mode 100644
index 000000000000..afdea768aa47
--- /dev/null
+++ b/media-gfx/xloadimage/files/xloadimage-4.1-ldflags_and_exit.patch
@@ -0,0 +1,23 @@
+diff -ur xloadimage.4.1.orig/Makefile.in xloadimage.4.1/Makefile.in
+--- xloadimage.4.1.orig/Makefile.in 2009-09-04 15:37:09.000000000 +0300
++++ xloadimage.4.1/Makefile.in 2009-09-04 15:38:50.000000000 +0300
+@@ -27,7 +27,7 @@
+ $(CC) -o $@ $(OBJS) build.o $(LDFLAGS) $(XLIB) $(LIBS)
+
+ uufilter: uufilter.c
+- $(CC) $(CFLAGS) $(DEFS) uufilter.c -o $@
++ $(CC) $(LDFLAGS) $(CFLAGS) $(DEFS) uufilter.c -o $@
+
+ .c.o: config.h image.h
+ $(CC) $(CFLAGS) -c $(DEFS) $<
+diff -ur xloadimage.4.1.orig/uufilter.c xloadimage.4.1/uufilter.c
+--- xloadimage.4.1.orig/uufilter.c 2009-09-04 15:37:09.000000000 +0300
++++ xloadimage.4.1/uufilter.c 2009-09-04 15:37:59.000000000 +0300
+@@ -11,6 +11,7 @@
+ */
+
+ #include <stdio.h>
++#include <stdlib.h>
+ #include <string.h>
+
+ int main(argc, argv)
diff --git a/media-gfx/xloadimage/xloadimage-4.1-r10.ebuild b/media-gfx/xloadimage/xloadimage-4.1-r10.ebuild
index d630faf68870..667b114d57d7 100644
--- a/media-gfx/xloadimage/xloadimage-4.1-r10.ebuild
+++ b/media-gfx/xloadimage/xloadimage-4.1-r10.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/xloadimage/xloadimage-4.1-r10.ebuild,v 1.2 2009/09/04 11:36:08 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/xloadimage/xloadimage-4.1-r10.ebuild,v 1.3 2009/09/04 12:40:30 ssuominen Exp $
EAPI=2
inherit eutils toolchain-funcs
@@ -45,6 +45,7 @@ src_prepare() {
sed -i -e 's,<malloc.h>,<stdlib.h>,' vicar.c || die
epatch "${FILESDIR}"/${P}-unaligned-access.patch
+ epatch "${FILESDIR}"/${P}-ldflags_and_exit.patch
chmod +x configure
}