Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 45496 Details for
Bug 73753
Add toupper and tolower syntax to make
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
add toupper and tolower syntax to make
make-toupper.patch (text/plain), 4.05 KB, created by
Lee Thompson
on 2004-12-07 22:19:25 UTC
(
hide
)
Description:
add toupper and tolower syntax to make
Filename:
MIME Type:
Creator:
Lee Thompson
Created:
2004-12-07 22:19:25 UTC
Size:
4.05 KB
patch
obsolete
>diff -Nru make.orig/Manifest make/Manifest >--- make.orig/Manifest 2004-12-08 00:07:57.378766136 -0600 >+++ make/Manifest 2004-12-08 00:13:20.474648096 -0600 >@@ -1,15 +1,8 @@ >------BEGIN PGP SIGNED MESSAGE----- >-Hash: SHA1 >- >-MD5 76ab7837f60add252c5cdf7e3bbc211b ChangeLog 2738 > MD5 1c23d0b63aa4aa46d76cd61702d0a0c4 make-3.80-r1.ebuild 1081 >+MD5 76ab7837f60add252c5cdf7e3bbc211b ChangeLog 2738 >+MD5 759fa4ac1ccd8d5eeb1efb14fb29b458 make-3.80-r2.ebuild 1065 > MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164 >+MD5 59d0b14fa24ce51f1cf4b06534d5dc24 files/3.80-toupper.patch 1250 > MD5 3adc1d9cc832e98b435305f9f466279b files/3.80-memory.patch 2248 > MD5 6c9afd5ac674f6a9703fdab9e49846c4 files/digest-make-3.80-r1 62 >------BEGIN PGP SIGNATURE----- >-Version: GnuPG v1.9.10 (GNU/Linux) >- >-iD8DBQFBmP1uHTu7gpaalycRAisZAJ42XEgmJLTew/5hyX8SxvQCLBmCpwCfXlF0 >-GsSd/65qkeABaCoxngUPJYU= >-=Qrkw >------END PGP SIGNATURE----- >+MD5 6c9afd5ac674f6a9703fdab9e49846c4 files/digest-make-3.80-r2 62 >diff -Nru make.orig/files/3.80-toupper.patch make/files/3.80-toupper.patch >--- make.orig/files/3.80-toupper.patch 1969-12-31 18:00:00.000000000 -0600 >+++ make/files/3.80-toupper.patch 2004-12-08 00:10:17.226506048 -0600 >@@ -0,0 +1,55 @@ >+diff -Nru make-3.80.orig/function.c make-3.80/function.c >+--- make-3.80.orig/function.c 2004-12-07 11:10:23.181282216 -0600 >++++ make-3.80/function.c 2004-12-07 11:31:42.867740304 -0600 >+@@ -1099,6 +1099,42 @@ >+ return o; >+ } >+ >++static char * >++func_tolower (o, argv, funcname) >++ char *o; >++ char **argv; >++ const char *funcname; >++{ >++ char *p = argv[0]; >++ >++ while (*p != '\0') { >++ *p = tolower(*p); >++ p++; >++ } >++ >++ o = variable_buffer_output (o, argv[0], strlen(argv[0])); >++ >++ return o; >++} >++ >++static char * >++func_toupper (o, argv, funcname) >++ char *o; >++ char **argv; >++ const char *funcname; >++{ >++ char *p = argv[0]; >++ >++ while (*p != '\0') { >++ *p = toupper(*p); >++ p++; >++ } >++ >++ o = variable_buffer_output (o, argv[0], strlen(argv[0])); >++ >++ return o; >++} >++ >+ /* >+ Print a warning or fatal message. >+ */ >+@@ -1841,6 +1877,8 @@ >+ { STRING_SIZE_TUPLE("eq"), 2, 2, 1, func_eq}, >+ { STRING_SIZE_TUPLE("not"), 0, 1, 1, func_not}, >+ #endif >++ { STRING_SIZE_TUPLE("tolower"), 1, 1, 1, func_tolower}, >++ { STRING_SIZE_TUPLE("toupper"), 1, 1, 1, func_toupper}, >+ }; >+ >+ #define FUNCTION_TABLE_ENTRIES (sizeof (function_table_init) / sizeof (struct function_table_entry)) >diff -Nru make.orig/files/digest-make-3.80-r2 make/files/digest-make-3.80-r2 >--- make.orig/files/digest-make-3.80-r2 1969-12-31 18:00:00.000000000 -0600 >+++ make/files/digest-make-3.80-r2 2004-12-08 00:13:20.472648400 -0600 >@@ -0,0 +1 @@ >+MD5 0bbd1df101bc0294d440471e50feca71 make-3.80.tar.bz2 920645 >diff -Nru make.orig/make-3.80-r2.ebuild make/make-3.80-r2.ebuild >--- make.orig/make-3.80-r2.ebuild 1969-12-31 18:00:00.000000000 -0600 >+++ make/make-3.80-r2.ebuild 2004-12-08 00:12:46.538807128 -0600 >@@ -0,0 +1,48 @@ >+# Copyright 1999-2004 Gentoo Foundation >+# Distributed under the terms of the GNU General Public License v2 >+# $Header:$ >+ >+inherit gnuconfig eutils flag-o-matic >+ >+DESCRIPTION="Standard tool to compile source trees" >+HOMEPAGE="http://www.gnu.org/software/make/make.html" >+SRC_URI="ftp://ftp.gnu.org/gnu/make/${P}.tar.bz2" >+ >+LICENSE="GPL-2" >+SLOT="0" >+KEYWORDS="~amd64 ~x86" >+IUSE="nls static build uclibc" >+ >+DEPEND="virtual/libc >+ nls? ( sys-devel/gettext )" >+RDEPEND="virtual/libc" >+ >+src_unpack() { >+ unpack ${A} >+ cd ${S} >+ epatch ${FILESDIR}/${PV}-memory.patch >+ # useful little patch from http://savannah.gnu.org/patch/?func=detailitem&item_id=2823 >+ epatch ${FILESDIR}/${PV}-toupper.patch >+ # Detect mips and uclibc systems properly >+ gnuconfig_update >+} >+ >+src_compile() { >+ use static && append-ldflags -static >+ econf $(use_enable nls) || die >+ emake || die >+} >+ >+src_install() { >+ if use build >+ then >+ dobin make || die >+ else >+ make DESTDIR="${D}" install || die "make install failed" >+ >+ fperms 0755 /usr/bin/make >+ dosym make /usr/bin/gmake >+ >+ dodoc AUTHORS ChangeLog NEWS README* >+ fi >+}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 73753
: 45496