summaryrefslogtreecommitdiffhomepage
path: root/patches
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de>2018-05-21 16:56:44 +0000
committerLucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de>2018-05-21 16:56:44 +0000
commitcc52a9107fecc2763fda0b63cd269aa545ada4c1 (patch)
treebedfdd62fea9694275f1ada128a3d9ba1a862b09 /patches
parent3d4cfba3dccc11d0b6618042d9a425ff4a77d71e (diff)
downloadmidipix_build-cc52a9107fecc2763fda0b63cd269aa545ada4c1.tar.bz2
midipix_build-cc52a9107fecc2763fda0b63cd269aa545ada4c1.tar.xz
vars/build.vars:native_packages_cmdline: adds rc v1.7.4 (via Redfoxmoon.)
vars/rc.vars, patches/rc-1.7.4.local.patch: via Redfoxmoon.
Diffstat (limited to 'patches')
-rw-r--r--patches/rc-1.7.4.local.patch108
1 files changed, 108 insertions, 0 deletions
diff --git a/patches/rc-1.7.4.local.patch b/patches/rc-1.7.4.local.patch
new file mode 100644
index 00000000..ff0a5f65
--- /dev/null
+++ b/patches/rc-1.7.4.local.patch
@@ -0,0 +1,108 @@
+diff -Nru rc-1.7.4.orig/Makefile.in rc-1.7.4/Makefile.in
+--- rc-1.7.4.orig/Makefile.in 2015-05-13 23:26:18.000000000 +0200
++++ rc-1.7.4/Makefile.in 2018-05-21 14:01:54.782421179 +0200
+@@ -920,14 +920,14 @@
+
+
+ sigmsgs.c sigmsgs.h: mksignal
+- ./mksignal
++ echo sigmsgs.c
+
+ # Newer automake's buildtime dependency tracking can't seem to figure
+ # this one out.
+ status.o: statval.h
+
+ statval.h: mkstatval
+- ./mkstatval > statval.h
++ echo statval.h
+
+ # Of course, parse.c and parse.h depend on parse.y. However, unless
+ # you're hacking on rc's grammar, it's not useful to have this
+diff -Nru rc-1.7.4.orig/sigmsgs.c rc-1.7.4/sigmsgs.c
+--- rc-1.7.4.orig/sigmsgs.c 1970-01-01 01:00:00.000000000 +0100
++++ rc-1.7.4/sigmsgs.c 2018-05-21 13:56:36.000000000 +0200
+@@ -0,0 +1,69 @@
++#include "sigmsgs.h"
++
++Sigmsgs signals[] = {
++ {"", ""},
++ {"sighup", "hangup"},
++ {"sigint", ""},
++ {"sigquit", "quit"},
++ {"sigill", "illegal instruction"},
++ {"sigtrap", "trace trap"},
++ {"sigabrt", "abort"},
++ {"sigbus", "bus error"},
++ {"sigfpe", "floating point error"},
++ {"sigkill", "killed"},
++ {"sigusr1", "user defined signal 1"},
++ {"sigsegv", "segmentation violation"},
++ {"sigusr2", "user defined signal 2"},
++ {"sigpipe", ""},
++ {"sigalrm", "alarm clock"},
++ {"sigterm", "terminated"},
++ {"sigstkflt", "stack fault"},
++ {"sigchld", "child stop or exit"},
++ {"sigcont", "continue"},
++ {"sigstop", "stopped by program"},
++ {"sigtstp", "stopped"},
++ {"sigttin", "background tty read"},
++ {"sigttou", "background tty write"},
++ {"sigurg", "urgent condition on i/o channel"},
++ {"sigxcpu", "exceeded cpu time limit"},
++ {"sigxfsz", "exceeded file size limit"},
++ {"sigvtalrm", "virtual timer alarm"},
++ {"sigprof", "profiling timer alarm"},
++ {"sigwinch", "window size change"},
++ {"sigio", "socket i/o possible"},
++ {"sigpwr", "power-fail restart"},
++ {"sigsys", "invalid argument to system call"},
++ {"sigunknown32", "unknown signal 32"},
++ {"sigunknown33", "unknown signal 33"},
++ {"sigunknown34", "unknown signal 34"},
++ {"sigunknown35", "unknown signal 35"},
++ {"sigunknown36", "unknown signal 36"},
++ {"sigunknown37", "unknown signal 37"},
++ {"sigunknown38", "unknown signal 38"},
++ {"sigunknown39", "unknown signal 39"},
++ {"sigunknown40", "unknown signal 40"},
++ {"sigunknown41", "unknown signal 41"},
++ {"sigunknown42", "unknown signal 42"},
++ {"sigunknown43", "unknown signal 43"},
++ {"sigunknown44", "unknown signal 44"},
++ {"sigunknown45", "unknown signal 45"},
++ {"sigunknown46", "unknown signal 46"},
++ {"sigunknown47", "unknown signal 47"},
++ {"sigunknown48", "unknown signal 48"},
++ {"sigunknown49", "unknown signal 49"},
++ {"sigunknown50", "unknown signal 50"},
++ {"sigunknown51", "unknown signal 51"},
++ {"sigunknown52", "unknown signal 52"},
++ {"sigunknown53", "unknown signal 53"},
++ {"sigunknown54", "unknown signal 54"},
++ {"sigunknown55", "unknown signal 55"},
++ {"sigunknown56", "unknown signal 56"},
++ {"sigunknown57", "unknown signal 57"},
++ {"sigunknown58", "unknown signal 58"},
++ {"sigunknown59", "unknown signal 59"},
++ {"sigunknown60", "unknown signal 60"},
++ {"sigunknown61", "unknown signal 61"},
++ {"sigunknown62", "unknown signal 62"},
++ {"sigunknown63", "unknown signal 63"},
++ {"sigunknown64", "unknown signal 64"},
++};
+diff -Nru rc-1.7.4.orig/sigmsgs.h rc-1.7.4/sigmsgs.h
+--- rc-1.7.4.orig/sigmsgs.h 1970-01-01 01:00:00.000000000 +0100
++++ rc-1.7.4/sigmsgs.h 2018-05-21 13:56:36.000000000 +0200
+@@ -0,0 +1,5 @@
++typedef struct {
++ char *name, *msg;
++} Sigmsgs;
++extern Sigmsgs signals[];
++#define NUMOFSIGNALS 65
+diff -Nru rc-1.7.4.orig/statval.h rc-1.7.4/statval.h
+--- rc-1.7.4.orig/statval.h 1970-01-01 01:00:00.000000000 +0100
++++ rc-1.7.4/statval.h 2018-05-21 13:56:42.000000000 +0200
+@@ -0,0 +1,2 @@
++#define STATUS0 0
++#define STATUS1 256