diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-12-30 01:11:30 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-12-30 01:11:30 +0000 |
commit | 76dfef0cec9170000357d2f354e412daf48941fc (patch) | |
tree | 56647120c0ee20ab3494475c86722034cd194b02 /app-arch/pure-sfv | |
parent | ccf84bcd604130256d1377cd58f0a634ae6ee20f (diff) |
gentoo resync : 30.12.2017
Diffstat (limited to 'app-arch/pure-sfv')
-rw-r--r-- | app-arch/pure-sfv/Manifest | 4 | ||||
-rw-r--r-- | app-arch/pure-sfv/files/pure-sfv-0.3-asneeded.patch | 11 | ||||
-rw-r--r-- | app-arch/pure-sfv/files/pure-sfv-0.3-fix-build-system.patch | 22 | ||||
-rw-r--r-- | app-arch/pure-sfv/pure-sfv-0.3-r1.ebuild | 25 |
4 files changed, 34 insertions, 28 deletions
diff --git a/app-arch/pure-sfv/Manifest b/app-arch/pure-sfv/Manifest index 02d8d0696196..ddb4fb155873 100644 --- a/app-arch/pure-sfv/Manifest +++ b/app-arch/pure-sfv/Manifest @@ -1,4 +1,4 @@ -AUX pure-sfv-0.3-asneeded.patch 392 BLAKE2B 22d00d12d38456d9d547dc33c03477dda9b8f2e8f0a01f6643dfe04b39d8d33e7995287f731b17dff5a514db575dd858b7099d2bc2499a29860a162595ffd6c2 SHA512 74ce8a8628e2d0571556301ac8d0ec46ad7f9da50fe515197eb6ba81d9a7b41da1f4886e6d7b7fe6e411688bfec00296ce2f18c742d224e80bf1a8b614a0672a +AUX pure-sfv-0.3-fix-build-system.patch 517 BLAKE2B 87fddfd692c2d21ba5369ed57280d7b56568bae03396d9702e963285d6346a95693b049ef046c68a5116c7dd98e50444b1a50419c18fde99be0e67a142b775fa SHA512 317527bbf283ec603d06cf4705adf04915d57d7251301403dc43c359359f644728f61ba0997b04753f5c1c820341d5e0986ad0e3fb8c93a932d2000c9fc2c207 DIST pure-sfv_0.3_src.tar.gz 79069 BLAKE2B 77bfa8ccad35a9f3bde4a5710deceb9e0786e905cd0ff44903b08154043012849c7f5f797806429b9005aa6977e23c451cd1cfeee2870c35298248d0783a078c SHA512 defacdaa0b78f708c83198e911ad93a5c5456bf15e2b33df61c984241df8a82ff4d962b8c7994c6413b36a61df2cc6d91c467bf8994fa43e0ac01db2585a78a6 -EBUILD pure-sfv-0.3-r1.ebuild 681 BLAKE2B 404ab69d02c14a7d3f516a590dba16f3c4149748820b8b64f7a864bfdbaafa4a0d16d4f47100b663496682d0a8e927240ed15059956aaabf7333dc8a8a9bf6b1 SHA512 ffc5d677fe40682bf744968c1ec7b21633c888f470eb0efaeefc2888d398d102f332e80587254a77693d9e5ee27e1aa9fb8fd7ded63d64fb1e0453c8fc867e0e +EBUILD pure-sfv-0.3-r1.ebuild 618 BLAKE2B 2eb5441f25c272303a5135009948eba2123fa7c65db8f512ceca160a0163dbd538dea456aa1b3a59e61797ba20d069dfdfbbef3971924df2a57b981fec4dceb3 SHA512 085a72af3f963aa2a5e9a6eb53ab191e4fb055e851bbc758209a285ca48a5450b6979d4ff081e774e4649c69977b385f198b944da2d5ec098118145c1d05622c MISC metadata.xml 245 BLAKE2B 8b7fc4825aab5e4cfdb98dbb19741e82e1f550601f15430d7ef70ea99e7d589cac19abfb8e248252be008b25820fb6de7b23d80cba84301e823e313fbb848a25 SHA512 4423c18a453e8c9b251ccc387341ffa1e1f492c2b0408d05b3948b94fd8f135145740bb9a04862d5f567c931c50c113f685a08fb10667ed1fcd1a005cbbe46da diff --git a/app-arch/pure-sfv/files/pure-sfv-0.3-asneeded.patch b/app-arch/pure-sfv/files/pure-sfv-0.3-asneeded.patch deleted file mode 100644 index 926dd1318bdc..000000000000 --- a/app-arch/pure-sfv/files/pure-sfv-0.3-asneeded.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- Makefile.orig 2009-01-03 18:36:24.349399478 +0100 -+++ Makefile 2009-01-03 18:36:37.218398964 +0100 -@@ -65,7 +65,7 @@ - OBJ = ${SRCS:%.c=%.o} - - pure-sfv: $(OBJ) -- $(CC) -lm -DVERSION=\"$(VERSION)\" $(CFLAGS) -o $(PROG) $(OBJ) -+ $(CC) -DVERSION=\"$(VERSION)\" $(CFLAGS) $(LDFLAGS) -o $(PROG) $(OBJ) -lm - - PURIFY_OPTIONS=-follow-child-processes=yes -always-use-cache-dir=yes - PURIFY=purify diff --git a/app-arch/pure-sfv/files/pure-sfv-0.3-fix-build-system.patch b/app-arch/pure-sfv/files/pure-sfv-0.3-fix-build-system.patch new file mode 100644 index 000000000000..ca2143f1f956 --- /dev/null +++ b/app-arch/pure-sfv/files/pure-sfv-0.3-fix-build-system.patch @@ -0,0 +1,22 @@ +--- a/Makefile ++++ b/Makefile +@@ -54,18 +54,16 @@ + + VC_CRAP = pure-sfv.ncb pure-sfv.plg + +-CFLAGS += -Wall -Werror -O2 -g -Wno-unused + INSTALL_PREFIX = /usr/local + INSTALL_PROGRAM = /usr/bin/install -c + + all: pure-sfv + +-CC = gcc + + OBJ = ${SRCS:%.c=%.o} + + pure-sfv: $(OBJ) +- $(CC) -lm -DVERSION=\"$(VERSION)\" $(CFLAGS) -o $(PROG) $(OBJ) ++ $(CC) -DVERSION=\"$(VERSION)\" $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o $(PROG) $(OBJ) -lm + + PURIFY_OPTIONS=-follow-child-processes=yes -always-use-cache-dir=yes + PURIFY=purify diff --git a/app-arch/pure-sfv/pure-sfv-0.3-r1.ebuild b/app-arch/pure-sfv/pure-sfv-0.3-r1.ebuild index ca26b16fbcfb..f28c6df42ec4 100644 --- a/app-arch/pure-sfv/pure-sfv-0.3-r1.ebuild +++ b/app-arch/pure-sfv/pure-sfv-0.3-r1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI="2" +EAPI=6 -inherit eutils toolchain-funcs +inherit flag-o-matic toolchain-funcs DESCRIPTION="utility to test and create .sfv files and create .par files" HOMEPAGE="http://pure-sfv.sourceforge.net/" @@ -15,20 +15,15 @@ KEYWORDS="amd64 ~hppa ppc x86" IUSE="" RESTRICT="test" -DEPEND="" +S=${WORKDIR} +PATCHES=( "${FILESDIR}"/${PN}-0.3-fix-build-system.patch ) -S="${WORKDIR}" - -src_prepare() { - sed -i Makefile -e "s:-Werror -O2 -g::" - epatch "${FILESDIR}"/${P}-asneeded.patch -} - -src_compile() { - emake CC="$(tc-getCC)" || die "emake failed" +src_configure() { + append-cflags -Wall -Wno-unused + tc-export CC } src_install() { - dobin pure-sfv || die "dobin failed" - dodoc ReadMe.txt + dobin pure-sfv + newdoc ReadMe.txt README } |