pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

espeak: Adjust permission of the static library



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Sun May 27 13:47:49 2018 +0200
Changeset:	610ec343ca5727b123c0e9b46e2a191909f609af

Modified Files:
	espeak/distinfo
	espeak/patches/patch-ac

Log Message:
espeak: Adjust permission of the static library

static library does not need execute permissions, adjust accordingly and while
here also document patch-ac.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=610ec343ca5727b123c0e9b46e2a191909f609af

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 espeak/distinfo         |  2 +-
 espeak/patches/patch-ac | 12 ++++++++++++
 2 files changed, 13 insertions(+), 1 deletion(-)

diffs:
diff --git a/espeak/distinfo b/espeak/distinfo
index 7b8b80ec62..a3060f108f 100644
--- a/espeak/distinfo
+++ b/espeak/distinfo
@@ -5,7 +5,7 @@ RMD160 (espeak-1.48.04-source.zip) = 95f45d86c86756c3bd3b359aaba3c844f4a1c23c
 Size (espeak-1.48.04-source.zip) = 3019245 bytes
 SHA1 (patch-aa) = 9cd957a808e1d5b468f89e8b52e9950dd9295719
 SHA1 (patch-ab) = b95e08f1422bbf7d880e13d30572e1cdebde967a
-SHA1 (patch-ac) = 0e6283ea50d94f39d85f82ac19b654fa471937fc
+SHA1 (patch-ac) = 8881c9015ccced93a6b42a4fc3427ba1428d5618
 SHA1 (patch-numbers.cpp) = a611bbc7c5b8ef0abaa84949635ad2dad9a67411
 SHA1 (patch-tr__languages.cpp) = 7b3bf013fc1566f4f0a07f2d8af3e386d8954a0a
 SHA1 (patch-translate.h) = 7e5bfbf6a7fab6524b853ebedf08896f3a81d6d2
diff --git a/espeak/patches/patch-ac b/espeak/patches/patch-ac
index e77267fe23..5f67b3a2d9 100644
--- a/espeak/patches/patch-ac
+++ b/espeak/patches/patch-ac
@@ -1,5 +1,8 @@
 $NetBSD: patch-ac,v 1.2 2015/08/25 13:41:24 leot1990 Exp $
 
+- Adjust LIBS* flags
+- Install static library without execute permissions
+
 --- Makefile.orig	2014-02-02 10:58:11.000000000 +0000
 +++ Makefile
 @@ -81,17 +81,21 @@ libespeak_SOURCES = speak_lib.cpp compil
@@ -26,3 +29,12 @@ $NetBSD: patch-ac,v 1.2 2015/08/25 13:41:24 leot1990 Exp $
  
  CXXFLAGS=-O2
  
+@@ -143,7 +147,7 @@ install: all
+ 	# Install shared library
+ 	$(INSTALL) -m 755 $(LIB_NAME).$(LIBTAG) $(DESTDIR)$(LIBDIR)
+ 	# Install static library
+-	$(INSTALL) -m 755 $(STATIC_LIB_NAME) $(DESTDIR)$(LIBDIR)
++	$(INSTALL) -m 644 $(STATIC_LIB_NAME) $(DESTDIR)$(LIBDIR)
+ 	$(LN_SF) $(LIB_NAME).$(LIBTAG) $(DESTDIR)$(LIBDIR)/$(LIB_NAME).$(LIB_VERSION)
+ 	$(LN_SF) $(LIB_NAME).$(LIB_VERSION) $(DESTDIR)$(LIBDIR)/$(LIB_NAME)
+ 	# Install development headers


Home | Main Index | Thread Index | Old Index