Commit cb76361c authored by Pavel Vainerman's avatar Pavel Vainerman

compatibility.patch

parent 0ccfde94
Pipeline #1475 failed with stage
tar: shc name=@name@-@version@
spec: shc.spec
copy: *.patch
--- src/shc.c.orig 2018-04-13 00:03:10.026724829 +0300
+++ src/shc.c 2018-04-13 00:04:18.481083764 +0300
@@ -446,7 +446,7 @@ static const char * RTC[] = {
static int parse_an_arg(int argc, char * argv[])
{
extern char * optarg;
- const char * opts = "e:m:f:i:x:l:o:rvDUCABh";
+ const char * opts = "e:m:f:i:x:l:o:rvDUCABhT";
struct tm tmp[1];
time_t expdate;
int cnt, l;
@@ -542,6 +542,9 @@ static int parse_an_arg(int argc, char *
case 'B':
BUSYBOXON_flag = 1;
break;
+ case 'T':
+ // deprecated flag.
+ break;
case ':':
fprintf(stderr, "%s parse: Missing parameter\n", my_name);
return -1;
Name: shc
Version: 3.9.6
Release: alt1
Release: alt2
Summary: Shell Script Compiler
Group: System/Libraries
......@@ -9,6 +9,7 @@ URL: https://github.com/neurobin/shc
# Source0-url: https://github.com/neurobin/shc/archive/3.9.6.tar.gz
Source0: %name-%version.tar
Patch1: compatibility.patch
BuildRequires: gcc
......@@ -19,9 +20,10 @@ The generated source code is then compiled and linked to produce a stripped bina
%prep
%setup -q
%patch1 -p0
%build
# %%autoreconf
%autoreconf
%configure
%make_build
......@@ -34,6 +36,9 @@ The generated source code is then compiled and linked to produce a stripped bina
%_man1dir/*
%changelog
* Fri Apr 13 2018 Pavel Vainerman <pv@altlinux.ru> 3.9.6-alt2
- added compatibility.patch
* Fri Apr 06 2018 Pavel Vainerman <pv@altlinux.ru> 3.9.6-alt1
- new version (3.9.6) with rpmgs script
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment