pkgsrc-Changes archive

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

CVS commit: pkgsrc/audio/nas



Module Name:    pkgsrc
Committed By:   spz
Date:           Sat Mar 24 11:09:41 UTC 2018

Modified Files:
        pkgsrc/audio/nas: distinfo
        pkgsrc/audio/nas/patches: patch-ag
Added Files:
        pkgsrc/audio/nas/patches: patch-clients_audio_auconvert_Imakefile

Log Message:
build fixes for NetBSD


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 pkgsrc/audio/nas/distinfo
cvs rdiff -u -r1.8 -r1.9 pkgsrc/audio/nas/patches/patch-ag
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/audio/nas/patches/patch-clients_audio_auconvert_Imakefile

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

Modified files:

Index: pkgsrc/audio/nas/distinfo
diff -u pkgsrc/audio/nas/distinfo:1.35 pkgsrc/audio/nas/distinfo:1.36
--- pkgsrc/audio/nas/distinfo:1.35      Wed Jan  4 10:34:10 2017
+++ pkgsrc/audio/nas/distinfo   Sat Mar 24 11:09:41 2018
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.35 2017/01/04 10:34:10 jperkin Exp $
+$NetBSD: distinfo,v 1.36 2018/03/24 11:09:41 spz Exp $
 
 SHA1 (nas-1.9.4.src.tar.gz) = a251c5b771f9d7fa98f65e5830a039b28f8a6995
 RMD160 (nas-1.9.4.src.tar.gz) = 9622263075b1d24fb27dd06c9edecc91ac3157ae
@@ -10,6 +10,7 @@ SHA1 (patch-ac) = 02bc1eb18f8cc7155fed86
 SHA1 (patch-ad) = bef3e9fe82487766240931bbbed0213e3fe1c2c3
 SHA1 (patch-ae) = 2e88c42f849ec2e3eb942f79d05065ec8ddd1a9e
 SHA1 (patch-af) = 9e387f88504d6ef18ad4210af24702de61efbf1a
-SHA1 (patch-ag) = c43bab8c87efa5c770dd084d67ffa9897350810f
+SHA1 (patch-ag) = bd7d41acba8c38f133318380155dff30a7d32994
+SHA1 (patch-clients_audio_auconvert_Imakefile) = 423e6123111fdc1c10943b2d73b0214ca037fdaa
 SHA1 (patch-server_dia_auservertype.h) = 8ee2d064797837a1fcfd6c1389e09879f015cc9b
 SHA1 (patch-server_dia_lex.l) = dbfbf4adcad53034d633d59959d08a7464774b85

Index: pkgsrc/audio/nas/patches/patch-ag
diff -u pkgsrc/audio/nas/patches/patch-ag:1.8 pkgsrc/audio/nas/patches/patch-ag:1.9
--- pkgsrc/audio/nas/patches/patch-ag:1.8       Sat Jan  5 12:57:22 2013
+++ pkgsrc/audio/nas/patches/patch-ag   Sat Mar 24 11:09:41 2018
@@ -1,4 +1,4 @@
-$NetBSD: patch-ag,v 1.8 2013/01/05 12:57:22 mef Exp $
+$NetBSD: patch-ag,v 1.9 2018/03/24 11:09:41 spz Exp $
 
 (from cvs log for 1.4)
 date: 2006/01/11 11:32:38;  author: markd;  state: Exp;  lines: +12 -14
@@ -7,9 +7,30 @@ symlink, so create the actual release.h 
 the depends stage is too late (server/os is before lib/audio).
 Fixes PR pkg/32098 from Gilles Dauphin.
 
---- config/NetAudio.tmpl.orig  2007-06-16 12:03:20.000000000 -0700
-+++ config/NetAudio.tmpl       2009-02-03 00:57:54.000000000 -0800
-@@ -287,6 +290,8 @@ AuComplexProgramTarget(program)
+-L$(AUSRC): make sure -laudio gets found when building clients before
+the package has been installed
+
+--- ./config/NetAudio.tmpl.orig        2013-04-27 00:41:00.000000000 +0000
++++ ./config/NetAudio.tmpl
+@@ -178,7 +178,7 @@ EXTRA_LOAD_FLAGS=/link /nodefaultlib:lib
+ /* place #ifdef's for other architectures around these lines */
+  LOCAL_LDFLAGS = _AuUse(-L$(USRLIBDIR), -L$(AUSRC) -L$(USRLIBDIR))
+       DEPAULIB =
+-         AULIB = -laudio
++         AULIB = -L$(AUSRC) -laudio
+ 
+ #endif /* SunArchitecture */
+ 
+@@ -186,7 +186,7 @@ EXTRA_LOAD_FLAGS=/link /nodefaultlib:lib
+ #else /* SharedLibAudio */
+  LOCAL_LDFLAGS =
+       DEPAULIB = _AuUseCat($(USRLIBDIR),$(AUSRC),/Lib(audio))
+-         AULIB = LoaderLibPrefix _AuUse(-laudio,$(DEPAULIB))
++         AULIB = -L$(AUSRC) LoaderLibPrefix _AuUse(-laudio,$(DEPAULIB))
+ #endif /* SharedLibAudio */
+ 
+   AUDIODEPLIBS = $(DEPAULIB) $(DEPXTOOLLIB) $(DEPXLIB)
+@@ -316,6 +316,8 @@ AuComplexProgramTarget(program)
  release.h: $(TOP)/RELEASE                                                 @@\
        @echo "static const char *release = \"`cat $(TOP)/RELEASE`\";" > $@   @@\
                                                                            @@\

Added files:

Index: pkgsrc/audio/nas/patches/patch-clients_audio_auconvert_Imakefile
diff -u /dev/null pkgsrc/audio/nas/patches/patch-clients_audio_auconvert_Imakefile:1.1
--- /dev/null   Sat Mar 24 11:09:41 2018
+++ pkgsrc/audio/nas/patches/patch-clients_audio_auconvert_Imakefile    Sat Mar 24 11:09:41 2018
@@ -0,0 +1,15 @@
+$NetBSD: patch-clients_audio_auconvert_Imakefile,v 1.1 2018/03/24 11:09:41 spz Exp $
+
+build fix for NetBSD (and probably the other added systems too)
+
+--- clients/audio/auconvert/Imakefile.orig     2013-04-27 00:41:00.000000000 +0000
++++ clients/audio/auconvert/Imakefile
+@@ -24,7 +24,7 @@
+ 
+ #include "../../../config/NetAudio.tmpl"
+ 
+-#if defined(LinuxArchitecture) || defined(FreeBSDArchitecture) || defined(GNUArchitecture)
++#if defined(LinuxArchitecture) || defined(FreeBSDArchitecture) || defined(__DragonFly__) || defined(GNUArchitecture) || defined(NetBSDArchitecture) || defined(OpenBSDArchitecture)
+  EXTRA_DEFINES = -DHAS_MKSTEMP
+ #endif
+ 



Home | Main Index | Thread Index | Old Index