pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio/xmix xmix: Failed to build with RELRO option
details: https://anonhg.NetBSD.org/pkgsrc/rev/892f64856721
branches: trunk
changeset: 398313:892f64856721
user: micha <micha%pkgsrc.org@localhost>
date: Tue Jul 16 10:46:45 2019 +0000
description:
xmix: Failed to build with RELRO option
- Honor LDFLAGS
- Bump PKGREVISION
diffstat:
audio/xmix/Makefile | 4 +-
audio/xmix/PLIST | 4 +-
audio/xmix/distinfo | 14 ++++++------
audio/xmix/patches/patch-Imakefile | 31 +++++++++++++++++++++++++++
audio/xmix/patches/patch-aa | 24 ---------------------
audio/xmix/patches/patch-ab | 43 --------------------------------------
audio/xmix/patches/patch-xmix.c | 43 ++++++++++++++++++++++++++++++++++++++
7 files changed, 85 insertions(+), 78 deletions(-)
diffs (203 lines):
diff -r 3b7dcb9cd1a5 -r 892f64856721 audio/xmix/Makefile
--- a/audio/xmix/Makefile Tue Jul 16 10:06:21 2019 +0000
+++ b/audio/xmix/Makefile Tue Jul 16 10:46:45 2019 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.28 2016/04/20 12:10:34 nros Exp $
+# $NetBSD: Makefile,v 1.29 2019/07/16 10:46:45 micha Exp $
DISTNAME= xmix-2.1
-PKGREVISION= 3
+PKGREVISION= 4
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SUNSITE:=apps/sound/mixers/}
diff -r 3b7dcb9cd1a5 -r 892f64856721 audio/xmix/PLIST
--- a/audio/xmix/PLIST Tue Jul 16 10:06:21 2019 +0000
+++ b/audio/xmix/PLIST Tue Jul 16 10:46:45 2019 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2005/11/06 23:58:05 joerg Exp $
+@comment $NetBSD: PLIST,v 1.3 2019/07/16 10:46:45 micha Exp $
bin/xmix
lib/X11/app-defaults/XMix
-${IMAKE_MAN_DIR}/xmix.${IMAKE_MANNEWSUFFIX}
+${IMAKE_MAN_DIR}/xmix.1
diff -r 3b7dcb9cd1a5 -r 892f64856721 audio/xmix/distinfo
--- a/audio/xmix/distinfo Tue Jul 16 10:06:21 2019 +0000
+++ b/audio/xmix/distinfo Tue Jul 16 10:46:45 2019 +0000
@@ -1,12 +1,12 @@
-$NetBSD: distinfo,v 1.9 2015/11/03 01:12:55 agc Exp $
+$NetBSD: distinfo,v 1.10 2019/07/16 10:46:45 micha Exp $
+SHA1 (xmix-2.1.mixers.patch) = 86b423774a6afcd56a8f8931108823d702db1ea5
+RMD160 (xmix-2.1.mixers.patch) = bbbc4b44ed603e54044fc1c71fa20f4373cae81a
+SHA512 (xmix-2.1.mixers.patch) = c5f72de9d0f28208269fcf6a2e2db6ed6b5c40c94c82effeef1b9c2d5ffc086c92c0a55f28d674ae9be9d592f7969046701f664325338d9f45506326d0aa9a7a
+Size (xmix-2.1.mixers.patch) = 1684 bytes
SHA1 (xmix-2.1.tar.gz) = 390096a541a41ffb47c9b57ee6029211d31393d3
RMD160 (xmix-2.1.tar.gz) = 0f1bc15b89bfc657ade9b12cb9decb248d780925
SHA512 (xmix-2.1.tar.gz) = 1acdb835ed5791b7642910909ea932c9750935d795e14dcc88da011ece8e303e20610945f8f7382b4e141311de42c16df2626d8b313bf187ee08f7bfcfa1b988
Size (xmix-2.1.tar.gz) = 34835 bytes
-SHA1 (xmix-2.1.mixers.patch) = 86b423774a6afcd56a8f8931108823d702db1ea5
-RMD160 (xmix-2.1.mixers.patch) = bbbc4b44ed603e54044fc1c71fa20f4373cae81a
-SHA512 (xmix-2.1.mixers.patch) = c5f72de9d0f28208269fcf6a2e2db6ed6b5c40c94c82effeef1b9c2d5ffc086c92c0a55f28d674ae9be9d592f7969046701f664325338d9f45506326d0aa9a7a
-Size (xmix-2.1.mixers.patch) = 1684 bytes
-SHA1 (patch-aa) = a60baf409d6f9182f185fbd41676d85c31971363
-SHA1 (patch-ab) = ad1c8f86668fc0a56e1df875f42896097718e7c9
+SHA1 (patch-Imakefile) = ddaa95bd48632bff826d1da484d0360a6b3e720e
+SHA1 (patch-xmix.c) = 449734b8de82dda37c61d8703ecafcf1d8921607
diff -r 3b7dcb9cd1a5 -r 892f64856721 audio/xmix/patches/patch-Imakefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/xmix/patches/patch-Imakefile Tue Jul 16 10:46:45 2019 +0000
@@ -0,0 +1,31 @@
+$NetBSD: patch-Imakefile,v 1.1 2019/07/16 10:46:45 micha Exp $
+
+Remove CDEBUGFLAGS.
+Honor LDFLAGS from environment.
+Add local libraries.
+
+--- Imakefile.orig 1994-02-02 04:54:35.000000000 +0000
++++ Imakefile
+@@ -2,7 +2,7 @@
+ # xmix Imakefile.
+ #
+ #CDEBUGFLAGS=-gstabs
+-CDEBUGFLAGS=-O
++#CDEBUGFLAGS=-O
+ #define PassCDebugFlags 'CDEBUGFLAGS=$(CDEBUGFLAGS)'
+
+ SRCS1= xmix.c
+@@ -12,6 +12,11 @@ PROGRAMS = xmix
+
+ all:: $(PROGRAMS)
+
+-LOCAL_LIBRARIES = $(XAWLIB) $(XMULIB) $(XTOOLLIB) $(XLIB)
++# Honor LDFLAGS from environment
++LOCAL_LDFLAGS = $(LDFLAGS)
+
+-NormalProgramTarget(xmix,$(OBJS1),,$(LOCAL_LIBRARIES),)
++LOCAL_LIBRARIES = $(XAWLIB) $(XMULIB) $(XTOOLLIB) $(XLIB) $(LIBOSSAUDIO)
++
++PROGRAM = $(PROGRAMS)
++
++ComplexProgramTarget_1($(PROGRAM),$(LOCAL_LIBRARIES),)
diff -r 3b7dcb9cd1a5 -r 892f64856721 audio/xmix/patches/patch-aa
--- a/audio/xmix/patches/patch-aa Tue Jul 16 10:06:21 2019 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,24 +0,0 @@
-$NetBSD: patch-aa,v 1.5 2005/11/06 23:49:03 joerg Exp $
-
---- Imakefile.orig Tue Feb 1 23:54:35 1994
-+++ Imakefile
-@@ -2,7 +2,7 @@
- # xmix Imakefile.
- #
- #CDEBUGFLAGS=-gstabs
--CDEBUGFLAGS=-O
-+#CDEBUGFLAGS=-O
- #define PassCDebugFlags 'CDEBUGFLAGS=$(CDEBUGFLAGS)'
-
- SRCS1= xmix.c
-@@ -12,6 +12,8 @@
-
- all:: $(PROGRAMS)
-
--LOCAL_LIBRARIES = $(XAWLIB) $(XMULIB) $(XTOOLLIB) $(XLIB)
-+LOCAL_LIBRARIES = $(XAWLIB) $(XMULIB) $(XTOOLLIB) $(XLIB) $(LIBOSSAUDIO)
-
--NormalProgramTarget(xmix,$(OBJS1),,$(LOCAL_LIBRARIES),)
-+PROGRAM = $(PROGRAMS)
-+
-+ComplexProgramTarget_1($(PROGRAM),$(LOCAL_LIBRARIES),)
diff -r 3b7dcb9cd1a5 -r 892f64856721 audio/xmix/patches/patch-ab
--- a/audio/xmix/patches/patch-ab Tue Jul 16 10:06:21 2019 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,43 +0,0 @@
-$NetBSD: patch-ab,v 1.7 2012/02/06 03:16:15 sbd Exp $
-
-- support more OSes (is the first hunk actually correct?)
-- fix void main
-- remove debug printout
-
---- xmix.c.orig 2012-02-06 03:11:54.306900057 +0000
-+++ xmix.c
-@@ -77,7 +77,16 @@ to Rick! I'll call this version V2.1
- #include "square_empty.bit"
- #include "square_with_x.bit"
-
-+#if defined(__linux__)
- #include <linux/soundcard.h>
-+#elif defined(__NetBSD__)
-+#include <sys/ioctl.h>
-+#include <soundcard.h>
-+#elif defined(__sun)
-+#include <sys/soundcard.h>
-+#else
-+#include <machine/soundcard.h>
-+#endif
-
- #define SOUND_FULL_SCALE 100.0
- #define MAX_SOUND_VOL 95
-@@ -450,7 +459,7 @@ static void set_supported(VolumeControl
- }
-
-
--void main (int argc, char **argv)
-+int main (int argc, char **argv)
- {
- XtAppContext app_context;
- int scroll_sep, longway;
-@@ -742,7 +751,7 @@ void main (int argc, char **argv)
- mic.locked = 0;
- reclvl.locked = 0;
-
-- printf("supported = 0x%x\n",supported);
-+ /*printf("supported = 0x%x\n",supported);*/
- set_supported(&master,(supported & SOUND_MASK_VOLUME) != 0);
- set_supported(&bass,(supported & SOUND_MASK_BASS) != 0);
- set_supported(&treble,(supported & SOUND_MASK_TREBLE) != 0);
diff -r 3b7dcb9cd1a5 -r 892f64856721 audio/xmix/patches/patch-xmix.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/xmix/patches/patch-xmix.c Tue Jul 16 10:46:45 2019 +0000
@@ -0,0 +1,43 @@
+$NetBSD: patch-xmix.c,v 1.1 2019/07/16 10:46:45 micha Exp $
+
+- support more OSes (is the first hunk actually correct?)
+- fix void main
+- remove debug printout
+
+--- xmix.c.orig 2019-07-03 12:47:36.000000000 +0000
++++ xmix.c
+@@ -77,7 +77,16 @@ to Rick! I'll call this version V2.1
+ #include "square_empty.bit"
+ #include "square_with_x.bit"
+
++#if defined(__linux__)
+ #include <linux/soundcard.h>
++#elif defined(__NetBSD__)
++#include <sys/ioctl.h>
++#include <soundcard.h>
++#elif defined(__sun)
++#include <sys/soundcard.h>
++#else
++#include <machine/soundcard.h>
++#endif
+
+ #define SOUND_FULL_SCALE 100.0
+ #define MAX_SOUND_VOL 95
+@@ -450,7 +459,7 @@ static void set_supported(VolumeControl
+ }
+
+
+-void main (int argc, char **argv)
++int main (int argc, char **argv)
+ {
+ XtAppContext app_context;
+ int scroll_sep, longway;
+@@ -742,7 +751,7 @@ void main (int argc, char **argv)
+ mic.locked = 0;
+ reclvl.locked = 0;
+
+- printf("supported = 0x%x\n",supported);
++ /*printf("supported = 0x%x\n",supported);*/
+ set_supported(&master,(supported & SOUND_MASK_VOLUME) != 0);
+ set_supported(&bass,(supported & SOUND_MASK_BASS) != 0);
+ set_supported(&treble,(supported & SOUND_MASK_TREBLE) != 0);
Home |
Main Index |
Thread Index |
Old Index