You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
56 lines
1.5 KiB
56 lines
1.5 KiB
|
18 years ago
|
Index: Makefile
|
||
|
|
--- Makefile.orig 2007-12-07 16:16:47 +0100
|
||
|
|
+++ Makefile 2007-12-08 09:42:13 +0100
|
||
|
|
@@ -83,15 +83,15 @@
|
||
|
|
|
||
|
|
linestack-cmd$(EXEEXT): src/linestack-cmd.o $(objs) $(LIBIRC)
|
||
|
|
@echo Linking $@
|
||
|
|
- @$(LD) $(LIBS) -lreadline -rdynamic -o $@ $^
|
||
|
|
+ @$(LD) $(LDFLAGS) -o $@ $^ $(LIBS)
|
||
|
|
|
||
|
|
ctrlproxy$(EXEEXT): src/main.o $(objs) $(LIBIRC)
|
||
|
|
@echo Linking $@
|
||
|
|
- @$(LD) $(LDFLAGS) -rdynamic -o $@ $^ $(LIBS)
|
||
|
|
+ @$(LD) $(LDFLAGS) -o $@ $^ $(LIBS)
|
||
|
|
|
||
|
|
ctrlproxy-admin$(EXEEXT): src/admin-cmd.o
|
||
|
|
@echo Linking $@
|
||
|
|
- @$(LD) $(LDFLAGS) -rdynamic -o $@ $^ $(LIBS)
|
||
|
|
+ @$(LD) $(LDFLAGS) -o $@ $^ $(LIBS)
|
||
|
|
|
||
|
|
%.o: %.c
|
||
|
|
@echo Compiling $<
|
||
|
|
Index: Makefile.settings.in
|
||
|
|
--- Makefile.settings.in.orig 2007-12-07 16:16:47 +0100
|
||
|
|
+++ Makefile.settings.in 2007-12-08 09:43:25 +0100
|
||
|
|
@@ -9,12 +9,12 @@
|
||
|
|
localedir = @datadir@/locale
|
||
|
|
INSTALL = @INSTALL@
|
||
|
|
bindir = @bindir@
|
||
|
|
-docdir = @prefix@/share/doc/ctrlproxy
|
||
|
|
+docdir = @prefix@/share/ctrlproxy
|
||
|
|
modulesdir = @libdir@/ctrlproxy
|
||
|
|
libdir = @libdir@
|
||
|
|
includedir = @includedir@
|
||
|
|
mandir = @mandir@
|
||
|
|
-destincludedir = $(includedir)/ctrlproxy-3.0
|
||
|
|
+destincludedir = $(includedir)/ctrlproxy
|
||
|
|
cdatadir = @datadir@/ctrlproxy
|
||
|
|
EXEEXT = @EXEEXT@
|
||
|
|
OBJEXT = @OBJEXT@
|
||
|
|
Index: src/internals.h
|
||
|
|
--- src/internals.h.orig 2007-12-07 16:16:47 +0100
|
||
|
|
+++ src/internals.h 2007-12-08 09:42:13 +0100
|
||
|
|
@@ -28,9 +28,10 @@
|
||
|
|
#ifdef HAVE_UNISTD_H
|
||
|
|
# include <unistd.h>
|
||
|
|
#endif
|
||
|
|
+#include <sys/types.h>
|
||
|
|
#include <netdb.h>
|
||
|
|
+#include <netinet/in.h>
|
||
|
|
#include <sys/socket.h>
|
||
|
|
-#include <sys/types.h>
|
||
|
|
#include <errno.h>
|
||
|
|
#include <stdio.h>
|
||
|
|
#include <stdlib.h>
|