~ubuntu-branches/ubuntu/vivid/yagiuda/vivid

« back to all changes in this revision

Viewing changes to debian/patches/optopt-declaration

  • Committer: Bazaar Package Importer
  • Author(s): Ralf Treinen
  • Date: 2010-08-25 22:19:13 UTC
  • Revision ID: james.westby@ubuntu.com-20100825221913-lgc7yuj3f7nqugpm
Tags: 1.19-7
* QA upload
* Source format 3.0 (quilt)
* patch optopt-declaration: fix declaration of optopt (closes: 593486).
  Thanks a lot to Jakub Wilk <jwilk@debian.org> for the patch!

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Author: Jakub Wilk <jwilk@debian.org>
 
2
Description: Fix FTBFS on mips/mipsel
 
3
Integrated-by: Ralf Treinen <treinen@debian.org>
 
4
Debian-bug: 593486
 
5
 
 
6
Index: yagiuda-1.19/src/getopt.c
 
7
===================================================================
 
8
--- yagiuda-1.19.orig/src/getopt.c      2010-08-25 22:15:18.000000000 +0200
 
9
+++ yagiuda-1.19/src/getopt.c   2010-08-25 22:15:57.000000000 +0200
 
10
@@ -35,7 +35,7 @@
 
11
 
 
12
 int     opterr = 1;
 
13
 int     optind = 1;
 
14
-int     optopt;
 
15
+static int optopt;
 
16
 char    *optarg;
 
17
 
 
18
 void ERR(char *s, char c, char **argv)