Ports: Update gnucobol's patches to use git patches

This commit is contained in:
Ali Mohammad Pur 2022-05-16 19:21:39 +04:30 committed by Ali Mohammad Pur
parent fd388bb239
commit 0bec82d6fe
3 changed files with 29 additions and 8 deletions

View file

@ -0,0 +1,22 @@
From 1cb46c1d7736ebbfe00194e675d29308beb94911 Mon Sep 17 00:00:00 2001
From: Brendan Coles <bcoles@gmail.com>
Date: Thu, 8 Apr 2021 12:14:24 +0000
Subject: [PATCH] Use /bin/bash instead of /bin/sh for shebang
---
bin/cob-config.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/cob-config.in b/bin/cob-config.in
index 6c07e7d..3086d8c 100644
--- a/bin/cob-config.in
+++ b/bin/cob-config.in
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#
# cob-config
#
--
2.36.1

View file

@ -0,0 +1,7 @@
# Patches for gnucobol on SerenityOS
## `0001-Use-bin-bash-instead-of-bin-sh-for-shebang.patch`
Use /bin/bash instead of /bin/sh for shebang

View file

@ -1,8 +0,0 @@
--- gnucobol-3.1.2/bin/cob-config.in 2020-12-23 02:51:16.000000000 -0800
+++ gnucobol-3.1.2/bin/cob-config.in 2021-04-08 03:05:22.989720870 -0700
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#
# cob-config
#