| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=-2.0 required=5.0 tests=AWL,BAYES_00 |
| X-Spam-Check-By: | sourceware.org |
| Message-ID: | <495634C1.4070201@x-ray.at> |
| Date: | Sat, 27 Dec 2008 14:59:29 +0100 |
| From: | Reini Urban <rurban AT x-ray DOT at> |
| User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.8.1.19) Gecko/20081204 SeaMonkey/1.1.14 |
| MIME-Version: | 1.0 |
| To: | Cygwin List <cygwin AT cygwin DOT com>, quilt-dev AT nongnu DOT org |
| Subject: | quilt Prototype mismatch patch |
| X-IsSubscribed: | yes |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| Note-from-DJ: | This may be spam |
--------------040909010101030303020503
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
I needed the following patch with perl-5.10, to workaround a prototype
mismatch warning, like
$ quilt refresh
Prototype mismatch: sub main::LC_ALL: none vs () at
/usr/share/quilt/scripts/remove-trailing-ws line 21
Also: The scripts should go to /usr/lib/quilt btw. and not to share
$ quilt --version
0.46
$ uname -a
CYGWIN_NT-5.1 reini 1.5.25(0.156/4/2) 2008-06-12 19:34 i686 Cygwin
$ perl -v
This is perl, v5.10.0 built for cygwin-thread-multi-64int
(with 6 registered patches, see perl -V for more detail)
...
diff -bu /usr/share/quilt/scripts/remove-trailing-ws~
/usr/share/quilt/scripts/remove-trailing-ws
--- /usr/share/quilt/scripts/remove-trailing-ws~ 2008-12-27
13:53:09.209125000 +0000
+++ /usr/share/quilt/scripts/remove-trailing-ws 2008-12-27
13:53:09.209125000 +0000
@@ -18,7 +18,7 @@
if (eval { require Locale::gettext }) {
import Locale::gettext;
require POSIX;
- import POSIX, qw(setlocale);
+ POSIX->import('setlocale');
} else {
eval '
use constant LC_MESSAGES => 0;
--
Reini Urban
http://phpwiki.org/ http://murbreak.at/
--------------040909010101030303020503
Content-Type: text/x-patch;
name="quilt-remove-trailing-ws.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="quilt-remove-trailing-ws.patch"
diff -bu /usr/share/quilt/scripts/remove-trailing-ws~ /usr/share/quilt/scripts/remove-trailing-ws
--- /usr/share/quilt/scripts/remove-trailing-ws~ 2008-12-27 13:53:09.209125000 +0000
+++ /usr/share/quilt/scripts/remove-trailing-ws 2008-12-27 13:53:09.209125000 +0000
@@ -18,7 +18,7 @@
if (eval { require Locale::gettext }) {
import Locale::gettext;
require POSIX;
- import POSIX, qw(setlocale);
+ POSIX->import('setlocale');
} else {
eval '
use constant LC_MESSAGES => 0;
--------------040909010101030303020503
Content-Type: text/plain; charset=us-ascii
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
--------------040909010101030303020503--
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |