summaryrefslogtreecommitdiff
path: root/sysutils/ucspi-unix/files
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/ucspi-unix/files')
-rw-r--r--sysutils/ucspi-unix/files/patch-Makefile11
-rw-r--r--sysutils/ucspi-unix/files/patch-conf-ld7
-rw-r--r--sysutils/ucspi-unix/files/patch-env.c11
-rw-r--r--sysutils/ucspi-unix/files/patch-insthier.c22
-rw-r--r--sysutils/ucspi-unix/files/patch-unixserver.c11
5 files changed, 62 insertions, 0 deletions
diff --git a/sysutils/ucspi-unix/files/patch-Makefile b/sysutils/ucspi-unix/files/patch-Makefile
new file mode 100644
index 000000000000..356f28f8bbab
--- /dev/null
+++ b/sysutils/ucspi-unix/files/patch-Makefile
@@ -0,0 +1,11 @@
+--- Makefile.orig Tue Sep 23 16:31:18 2003
++++ Makefile Tue Sep 23 16:31:37 2003
+@@ -55,7 +55,7 @@
+ load: conf-ld
+ ( echo '#!/bin/sh';\
+ echo 'main="$$1"; shift';\
+- echo exec `head -1 conf-ld` '-o "$$main" "$$main.o" $${1+"$$@"}' -lsysdeps;\
++ echo exec `head -1 conf-ld` '-L/usr/local/lib -o "$$main" "$$main.o" $${1+"$$@"}' -lsysdeps;\
+ ) >load
+ chmod 755 load
+
diff --git a/sysutils/ucspi-unix/files/patch-conf-ld b/sysutils/ucspi-unix/files/patch-conf-ld
new file mode 100644
index 000000000000..20083382926d
--- /dev/null
+++ b/sysutils/ucspi-unix/files/patch-conf-ld
@@ -0,0 +1,7 @@
+--- conf-ld.orig Mon Sep 29 09:52:59 2003
++++ conf-ld Mon Sep 29 09:53:12 2003
+@@ -1,3 +1,3 @@
+-gcc -s -L/usr/local/bglibs/lib
++gcc -s -L/usr/local/include/bglibs
+
+ This will be used to link .o and .a files into an executable.
diff --git a/sysutils/ucspi-unix/files/patch-env.c b/sysutils/ucspi-unix/files/patch-env.c
new file mode 100644
index 000000000000..abb41bc30686
--- /dev/null
+++ b/sysutils/ucspi-unix/files/patch-env.c
@@ -0,0 +1,11 @@
+--- env.c.orig Tue Sep 23 15:57:55 2003
++++ env.c Tue Sep 23 15:59:52 2003
+@@ -1,7 +1,7 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <unistd.h>
+-#include <sysdeps.h>
++#include </usr/local/include/bglibs/sysdeps.h>
+
+ extern const char* utoa(unsigned long);
+
diff --git a/sysutils/ucspi-unix/files/patch-insthier.c b/sysutils/ucspi-unix/files/patch-insthier.c
new file mode 100644
index 000000000000..ef4e95d48294
--- /dev/null
+++ b/sysutils/ucspi-unix/files/patch-insthier.c
@@ -0,0 +1,22 @@
+--- insthier.c.orig Mon Jun 10 21:12:06 2002
++++ insthier.c Mon Sep 29 09:33:34 2003
+@@ -1,18 +1,11 @@
+-#include <installer.h>
++#include </usr/local/include/bglibs/installer.h>
+ #include "conf_bin.c"
+-#include "conf_man.c"
+
+ void insthier(void)
+ {
+ int bin = opendir(conf_bin);
+- int man = opendir(conf_man);
+- int man1;
+
+ c(bin, "unixcat", -1, -1, 0755);
+ c(bin, "unixclient", -1, -1, 0755);
+ c(bin, "unixserver", -1, -1, 0755);
+-
+- man1 = d(man, "man1", -1, -1, 0755);
+- c(man1, "unixclient.1", -1, -1, 0644);
+- c(man1, "unixserver.1", -1, -1, 0644);
+ }
diff --git a/sysutils/ucspi-unix/files/patch-unixserver.c b/sysutils/ucspi-unix/files/patch-unixserver.c
new file mode 100644
index 000000000000..448bc87a3d9f
--- /dev/null
+++ b/sysutils/ucspi-unix/files/patch-unixserver.c
@@ -0,0 +1,11 @@
+--- unixserver.c.orig Tue Sep 23 16:32:51 2003
++++ unixserver.c Tue Sep 23 16:33:34 2003
+@@ -7,7 +7,7 @@
+ #include <sys/un.h>
+ #include <sys/wait.h>
+ #include <unistd.h>
+-#include <sysdeps.h>
++#include </usr/local/include/bglibs/sysdeps.h>
+
+ extern void setup_env(int, const char*);
+