]> git.pld-linux.org Git - packages/enscript.git/commitdiff
- updated to 1.6.6 auto/th/enscript-1.6.6-1 auto/ti/enscript-1.6.6-1
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 1 Oct 2012 17:04:56 +0000 (19:04 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Mon, 1 Oct 2012 17:04:56 +0000 (19:04 +0200)
- updated mail patch
- added ac patch (adjust for dropped AM_C_PROTOTYPES support)

enscript-ac.patch [new file with mode: 0644]
enscript-mail.patch
enscript.spec

diff --git a/enscript-ac.patch b/enscript-ac.patch
new file mode 100644 (file)
index 0000000..438c34e
--- /dev/null
@@ -0,0 +1,11 @@
+--- enscript-1.6.6/configure.ac.orig   2012-09-30 21:24:45.567496718 +0200
++++ enscript-1.6.6/configure.ac        2012-09-30 21:41:38.907475597 +0200
+@@ -11,7 +11,7 @@
+ AC_PROG_CC
+ AC_USE_SYSTEM_EXTENSIONS
+-AM_C_PROTOTYPES
++CPPFLAGS="$CPPFLAGS -DPROTOTYPES"
+ AC_C_CONST
+ AC_FUNC_ALLOCA
index 11105ae0deb86708f580c904b79ce214ab068fa9..048882e9080eeab3ae61cd9206357ae26d588c09 100644 (file)
@@ -1,6 +1,6 @@
---- enscript-1.6.1/src/main.c.mail     Thu Jun 25 04:26:00 1998
-+++ enscript-1.6.1/src/main.c  Tue Jun 26 01:05:49 2001
-@@ -338,6 +338,8 @@
+--- enscript-1.6.6/src/main.c.orig     2011-10-30 17:48:42.000000000 +0100
++++ enscript-1.6.6/src/main.c  2012-09-30 21:24:10.177497456 +0200
+@@ -329,6 +329,8 @@
   * Send mail notification to user after print job has been completed.
   */
  int mail = 0;
@@ -9,7 +9,7 @@
  
  /*
   * -M, --media
-@@ -785,7 +787,7 @@
+@@ -848,7 +850,7 @@
    {"no-page-prefeed",         no_argument,            0, 'K'},
    {"lineprinter",             no_argument,            0, 'l'},
    {"lines-per-page",          required_argument,      0, 'L'},
@@ -18,7 +18,7 @@
    {"media",                   required_argument,      0, 'M'},
    {"copies",                  required_argument,      0, 'n'},
    {"newline",                 required_argument,      0, 'N'},
-@@ -1637,7 +1639,11 @@
+@@ -1843,7 +1845,11 @@
        /* Format spooler options. */
        spooler_options[0] = '\0';
        if (mail)
        if (no_job_header)
        {
          strcat (spooler_options, no_job_header_switch);
-@@ -1797,7 +1803,7 @@
+@@ -2006,7 +2012,7 @@
        int i;
  
        c = getopt_long (argc, argv,
--                     "#:123456789a:A:b:BcC::d:D:e::E::f:F:gGhH::i:I:jJ:kKlL:mM:n:N:o:Op:P:qrRs:S:t:T:u::U:vVW:X:zZ",
-+                     "#:123456789a:A:b:BcC::d:D:e::E::f:F:gGhH::i:I:jJ:kKlL:m::M:n:N:o:Op:P:qrRs:S:t:T:u::U:vVW:X:zZ",
+-                     "#:123456789a:A:b:BcC::d:D:e::E::f:F:gGhH::i:I:jJ:kKlL:mM:n:N:o:Op:P:qrRs:S:t:T:u::U:vVw:W:X:zZ",
++                     "#:123456789a:A:b:BcC::d:D:e::E::f:F:gGhH::i:I:jJ:kKlL:m::M:n:N:o:Op:P:qrRs:S:t:T:u::U:vVw:W:X:zZ",
                       long_options, &option_index);
  
        if (c == -1)
-@@ -1985,6 +1991,10 @@
+@@ -2207,6 +2213,10 @@
  
        case 'm':               /* send mail upon completion */
          mail = 1;
index e7520e350a6d5d20b20a77a206e9c5ed16f9ac7c..61c2511ad8a5eb242b8c61f2162445b2e6b129ee 100644 (file)
@@ -6,16 +6,17 @@ Summary(es.UTF-8):    Convierte texto ASCII a postscript
 Summary(pl.UTF-8):     Konwertuje czyste ASCII do PostScriptu
 Summary(pt_BR.UTF-8):  Converte texto ASCII para postscript
 Name:          enscript
-Version:       1.6.5.2
+Version:       1.6.6
 Release:       1
 License:       GPL v3+
 Group:         Applications/Publishing
 Source0:       http://ftp.gnu.org/gnu/enscript/%{name}-%{version}.tar.gz
-# Source0-md5: c1d2a0d4b44ca30634742b299881b0e2
+# Source0-md5: 3acc242b829adacabcaf28533f049afd
 Patch0:                %{name}-mail.patch
 Patch1:                %{name}-debian.patch
 Patch2:                %{name}-info.patch
 Patch3:                %{name}-php.patch
+Patch4:                %{name}-ac.patch
 URL:           http://www.gnu.org/software/enscript/
 BuildRequires: autoconf >= 2.61
 BuildRequires: automake
@@ -52,6 +53,7 @@ página física (lado a lado) ou modificar as fontes do texto.
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
 
 %build
 %{__gettextize}
This page took 0.05907 seconds and 4 git commands to generate.