slang-users mailing list

[2015 Date Index] [2015 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: [slang-users] slang 2.3.0 released


On 9/20/2014 7:38 PM, Marco Atzeri wrote:
On 18/09/2014 05:45, John E. Davis wrote:
Hi,

Version 2.3.0 of the slang library has been released.  Although more
than 3 years have passed since the previous release (2.2.4), the
library is backwards binary-compatible with previous versions in the
2.x series.


attached patch to allow compilation on cygwin.
For module compilation the libraries must be the last.

Regards
Marco


Hi John,
attached patch for 2.3.1 pre17

3 modules need the libraries as last.

The change in png-module.c will solve a warning for
the missing definition of memset

Regards
Marco
--- origsrc/slang-2.3.1pre17/modules/Makefile.in	2015-02-02 16:22:43.000000000 +0100
+++ src/slang-2.3.1pre17/modules/Makefile.in	2015-02-14 20:05:00.720077200 +0100
@@ -137,7 +137,7 @@ json-module.so: $(SRCDIR)/json-module.c
 	$(COMPILE_CMD) $(SRCDIR)/json-module.c -o json-module.so $(LIBS)
 #
 chksum-module.so: $(CHKSUM_OBJS)
-	$(COMPILE_CMD) $(CHKSUM_OBJS) -o chksum-module.so
+	$(COMPILE_CMD) $(CHKSUM_OBJS) -o chksum-module.so $(LIBS)
 chksum-module.o: $(SRCDIR)/chksum-module.c $(SRCDIR)/chksum.h
 	$(COMPILE_CMD) -c $(SRCDIR)/chksum-module.c
 chksum_md5.o: $(SRCDIR)/chksum_md5.c $(SRCDIR)/chksum.h
@@ -146,9 +146,9 @@ chksum_sha1.o: $(SRCDIR)/chksum_sha1.c $
 	$(COMPILE_CMD) -c $(SRCDIR)/chksum_sha1.c
 #
 histogram-module.so: $(SRCDIR)/histogram-module.c $(SRCDIR)/histogram-module.inc
-	$(COMPILE_CMD) $(SRCDIR)/histogram-module.c -o histogram-module.so
+	$(COMPILE_CMD) $(SRCDIR)/histogram-module.c -o histogram-module.so $(LIBS)
 stats-module.so: $(SRCDIR)/stats-module.c $(SRCDIR)/stats-module.inc
-	$(COMPILE_CMD) $(SRCDIR)/stats-module.c -o stats-module.so
+	$(COMPILE_CMD) $(SRCDIR)/stats-module.c -o stats-module.so $(LIBS)
 #
 # </targets to be built in $(OBJDIR)>
 #
--- origsrc/slang-2.3.1pre17/modules/png-module.c	2015-02-02 16:22:43.000000000 +0100
+++ src/slang-2.3.1pre17/modules/png-module.c	2015-02-14 20:05:00.730077300 +0100
@@ -23,6 +23,7 @@ USA.
 #include "config.h"
 
 #include <stdio.h>
+#include <string.h>
 #include <errno.h>
 #include <slang.h>
 

[2015 date index] [2015 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]