2009-06-19 22:33:34 +00:00
|
|
|
Index: m4/ax_cflags_no_writable_strings.m4
|
|
|
|
===================================================================
|
|
|
|
--- m4/ax_cflags_no_writable_strings.m4.orig
|
2008-10-25 02:54:35 +00:00
|
|
|
+++ m4/ax_cflags_no_writable_strings.m4
|
2009-06-19 22:33:34 +00:00
|
|
|
@@ -40,6 +40,7 @@ VAR,[VAR="no, unknown"
|
2008-10-25 02:54:35 +00:00
|
|
|
for ac_arg dnl
|
|
|
|
in "-pedantic % -fno-writable-strings -Wwrite-strings" dnl GCC
|
|
|
|
"-pedantic % -fconst-strings -Wwrite-strings" dnl newer GCC
|
|
|
|
+ "-Wall % -Wwrite-strings" dnl GCC4.1+
|
|
|
|
"-v -Xc % -xstrconst" dnl Solaris C - strings go into readonly segment
|
|
|
|
"+w1 -Aa % +ESlit" dnl HP-UX C - strings go into readonly segment
|
|
|
|
"-w0 -std1 % -readonly_strings" dnl Digital Unix - again readonly segment
|
2009-06-19 22:33:34 +00:00
|
|
|
Index: zzip/Makefile.am
|
|
|
|
===================================================================
|
|
|
|
--- zzip/Makefile.am.orig
|
|
|
|
+++ zzip/Makefile.am
|
|
|
|
@@ -45,13 +45,13 @@ libzzip_la_LDFLAGS= @ZZIPLIB_LDFLAGS@ $(
|
|
|
|
libzzip_la_LIBADD= -lz @RESOLVES@
|
|
|
|
|
|
|
|
libzzipmmapped_la_SOURCES = mmapped.c memdisk.c fetch.c
|
|
|
|
-libzzipmmapped_la_headers = mmapped.h memdisk.h fetch.h
|
|
|
|
+libzzipmmapped_la_headers = mmapped.h memdisk.h
|
|
|
|
libzzipmmapped_la_LDFLAGS= @ZZIPLIB_LDFLAGS@ $(RELEASE_INFO) $(VERSION_INFO) \
|
|
|
|
$(THREAD_SAFE)
|
|
|
|
libzzipmmapped_la_LIBADD= -lz @RESOLVES@
|
|
|
|
|
|
|
|
libzzipfseeko_la_SOURCES = fseeko.c fetch.c
|
|
|
|
-libzzipfseeko_la_headers = fseeko.h fetch.h
|
|
|
|
+libzzipfseeko_la_headers = fseeko.h
|
|
|
|
libzzipfseeko_la_LDFLAGS= @ZZIPLIB_LDFLAGS@ $(RELEASE_INFO) $(VERSION_INFO) \
|
|
|
|
$(THREAD_SAFE)
|
|
|
|
libzzipfseeko_la_LIBADD= -lz @RESOLVES@
|