pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/audio/gkrellm-volume Support RELRO



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b7606146e00e
branches:  trunk
changeset: 770239:b7606146e00e
user:      pho <pho%pkgsrc.org@localhost>
date:      Sun Nov 28 05:22:15 2021 +0000

description:
Support RELRO

diffstat:

 audio/gkrellm-volume/distinfo         |   4 ++--
 audio/gkrellm-volume/patches/patch-aa |  17 +++++++++++++++--
 2 files changed, 17 insertions(+), 4 deletions(-)

diffs (42 lines):

diff -r 51725d87ebf8 -r b7606146e00e audio/gkrellm-volume/distinfo
--- a/audio/gkrellm-volume/distinfo     Sun Nov 28 04:08:40 2021 +0000
+++ b/audio/gkrellm-volume/distinfo     Sun Nov 28 05:22:15 2021 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.9 2021/10/26 09:58:58 nia Exp $
+$NetBSD: distinfo,v 1.10 2021/11/28 05:22:15 pho Exp $
 
 BLAKE2s (gkrellm-volume-2.1.13.tar.gz) = 3e06f29260bb57e914c7939d1860bc476f0309656a74d9ab15228d7f2ced06c8
 SHA512 (gkrellm-volume-2.1.13.tar.gz) = 4f244978ea8b68994540b050244350c7c2389b227541822fde009408378ce0511c32956daea205465a4c4890c68e47f64dcd8b3eca8901963d38fd1852526eb5
 Size (gkrellm-volume-2.1.13.tar.gz) = 42087 bytes
-SHA1 (patch-aa) = 450cbad8d74cdbf3d6795bb81facd7ff4a080a5a
+SHA1 (patch-aa) = 346253261d63191122103529e566a683d08919e0
 SHA1 (patch-ab) = 5f71beea53f24f0c9649db0d855974eff0394352
diff -r 51725d87ebf8 -r b7606146e00e audio/gkrellm-volume/patches/patch-aa
--- a/audio/gkrellm-volume/patches/patch-aa     Sun Nov 28 04:08:40 2021 +0000
+++ b/audio/gkrellm-volume/patches/patch-aa     Sun Nov 28 05:22:15 2021 +0000
@@ -1,6 +1,10 @@
-$NetBSD: patch-aa,v 1.4 2005/03/22 14:58:55 cube Exp $
+$NetBSD: patch-aa,v 1.5 2021/11/28 05:22:15 pho Exp $
 
---- Makefile.orig      2004-05-16 19:21:50.000000000 +0200
+* Change the hard-coded plugin path.
+* NetBSD requires -lossaudio to use OSS.
+* Honor LDFLAGS to support RELRO.
+
+--- Makefile.orig      2004-08-19 20:07:27.000000000 +0000
 +++ Makefile
 @@ -8,14 +8,14 @@ export PACKAGE LOCALEDIR
  
@@ -19,3 +23,12 @@
  LFLAGS = -shared
  
  OBJS = volume.o mixer.o oss_mixer.o
+@@ -40,7 +40,7 @@ all: volume.so
+       (cd po && ${MAKE} all )
+ 
+ volume.so: $(OBJS)
+-      $(CC) $(OBJS) -o volume.so $(LIBS) $(LFLAGS)
++      $(CC) $(OBJS) -o volume.so $(LIBS) $(LFLAGS) $(LDFLAGS)
+ 
+ clean:
+       rm -f *.o core *.so* *.bak *~



Home | Main Index | Thread Index | Old Index