ucspi-unix/ucspi-unix-0.36-fixbuild.patch

21 lines
699 B
Diff
Raw Normal View History

diff -ru ucspi-unix-0.36.orig/conf-cc ucspi-unix-0.36/conf-cc
--- ucspi-unix-0.36.orig/conf-cc 2002-06-10 23:12:06.000000000 +0200
+++ ucspi-unix-0.36/conf-cc 2009-09-22 17:17:50.297617079 +0200
@@ -1,3 +1,3 @@
-gcc -W -Wall -O -g -I/usr/local/bglibs/include
+gcc -W -Wall -O -g -I/usr/include/bglibs
This will be used to compile .c files.
diff -ru ucspi-unix-0.36.orig/env.c ucspi-unix-0.36/env.c
--- ucspi-unix-0.36.orig/env.c 2002-06-10 23:12:06.000000000 +0200
+++ ucspi-unix-0.36/env.c 2009-09-22 17:21:05.605372209 +0200
@@ -1,7 +1,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
-#include <sysdeps.h>
+//#include <sysdeps.h>
extern const char* utoa(unsigned long);