diff options
Diffstat (limited to 'app-forensics/galleta/files')
-rw-r--r-- | app-forensics/galleta/files/galleta-20040505_p1-Wimplicit-function-declaration.patch | 11 | ||||
-rw-r--r-- | app-forensics/galleta/files/galleta-20040505_p1-fix-build-system.patch | 12 |
2 files changed, 23 insertions, 0 deletions
diff --git a/app-forensics/galleta/files/galleta-20040505_p1-Wimplicit-function-declaration.patch b/app-forensics/galleta/files/galleta-20040505_p1-Wimplicit-function-declaration.patch new file mode 100644 index 000000000000..396739d358fc --- /dev/null +++ b/app-forensics/galleta/files/galleta-20040505_p1-Wimplicit-function-declaration.patch @@ -0,0 +1,11 @@ +--- a/galleta.c ++++ b/galleta.c +@@ -35,6 +35,8 @@ + #include <stdio.h> + #include <time.h> + #include <math.h> ++#include <stdlib.h> ++#include <string.h> + + #define STRSIZE 1000 + diff --git a/app-forensics/galleta/files/galleta-20040505_p1-fix-build-system.patch b/app-forensics/galleta/files/galleta-20040505_p1-fix-build-system.patch new file mode 100644 index 000000000000..125643c894df --- /dev/null +++ b/app-forensics/galleta/files/galleta-20040505_p1-fix-build-system.patch @@ -0,0 +1,12 @@ +--- a/Makefile ++++ b/Makefile +@@ -1,7 +1,6 @@ +-all: install ++LDLIBS += -lm + +-install: galleta.c +- gcc -o galleta galleta.c -lm -lc;cp galleta ../bin ++all: galleta + + installwin: galleta.c + gcc -DCYGWIN -o galleta.exe galleta.c -lm -lc;cp galleta.exe ../bin |