Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
shc
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
rx-etersoft
shc
Commits
cb76361c
Commit
cb76361c
authored
Apr 13, 2018
by
Pavel Vainerman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
compatibility.patch
parent
0ccfde94
Pipeline
#1475
failed with stage
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
2 deletions
+29
-2
rules
.gear/rules
+1
-0
compatibility.patch
compatibility.patch
+21
-0
shc.spec
shc.spec
+7
-2
No files found.
.gear/rules
View file @
cb76361c
tar: shc name=@name@-@version@
spec: shc.spec
copy: *.patch
compatibility.patch
0 → 100644
View file @
cb76361c
--- 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;
shc.spec
View file @
cb76361c
Name: shc
Version: 3.9.6
Release: alt
1
Release: alt
2
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment