summaryrefslogtreecommitdiff
path: root/net-irc/psybnc/files/psybnc-2.3.2.9-ldflags-fix.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-10-24 15:52:10 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-10-24 15:52:10 +0100
commit145ac95c683ecda55a9b2cafc84dced2e9c29e03 (patch)
tree3a7aac2c145afe328a1c610a9ee6d7f5b9fd271d /net-irc/psybnc/files/psybnc-2.3.2.9-ldflags-fix.patch
parentbb17db5f98333b3c74b4194d1c1136144f693add (diff)
gentoo auto-resync : 24:10:2022 - 15:52:09
Diffstat (limited to 'net-irc/psybnc/files/psybnc-2.3.2.9-ldflags-fix.patch')
-rw-r--r--net-irc/psybnc/files/psybnc-2.3.2.9-ldflags-fix.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/net-irc/psybnc/files/psybnc-2.3.2.9-ldflags-fix.patch b/net-irc/psybnc/files/psybnc-2.3.2.9-ldflags-fix.patch
new file mode 100644
index 000000000000..f5bc776b1e6b
--- /dev/null
+++ b/net-irc/psybnc/files/psybnc-2.3.2.9-ldflags-fix.patch
@@ -0,0 +1,12 @@
+diff -aurp a/tools/autoconf.c b/tools/autoconf.c
+--- a/tools/autoconf.c 2010-10-10 20:25:29.295001235 +0000
++++ b/tools/autoconf.c 2010-10-10 20:26:02.738999569 +0000
+@@ -449,7 +449,7 @@ int main()
+ fprintf(makefile,"TARGET = psybnc\n");
+ fprintf(makefile,"\n");
+ fprintf(makefile,"all: $(OBJS)\n");
+- fprintf(makefile," $(CC) -o $(TARGET) $(CFLAGS) $(OBJS) $(LIBS)\n");
++ fprintf(makefile," $(CC) -o $(TARGET) $(CFLAGS) $(LDFLAGS) $(OBJS) $(LIBS)\n");
+ fprintf(makefile," @strip $(TARGET)\n");
+ if(ssl==0)
+ {