pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio/xmp Fix build problem with GCC 3.3.1.
details: https://anonhg.NetBSD.org/pkgsrc/rev/4adaeeb5271b
branches: trunk
changeset: 461821:4adaeeb5271b
user: tron <tron%pkgsrc.org@localhost>
date: Mon Sep 22 09:30:03 2003 +0000
description:
Fix build problem with GCC 3.3.1.
diffstat:
audio/xmp/distinfo | 3 ++-
audio/xmp/patches/patch-af | 27 +++++++++++++++++++++++++++
2 files changed, 29 insertions(+), 1 deletions(-)
diffs (45 lines):
diff -r 59359f672db7 -r 4adaeeb5271b audio/xmp/distinfo
--- a/audio/xmp/distinfo Mon Sep 22 09:12:02 2003 +0000
+++ b/audio/xmp/distinfo Mon Sep 22 09:30:03 2003 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.4 2002/12/22 17:05:51 jmmv Exp $
+$NetBSD: distinfo,v 1.5 2003/09/22 09:30:03 tron Exp $
SHA1 (xmp-2.0.4.tar.bz2) = 35c1578f2f6728aa2ec92f34ada050e328694167
Size (xmp-2.0.4.tar.bz2) = 314820 bytes
@@ -7,3 +7,4 @@
SHA1 (patch-ac) = 0efcb2f094f149c56da96a6ba7ba9a59ed06dc4d
SHA1 (patch-ad) = 7b2c1f5c10b4b8a766bcca7bc4d7d9f538e89db1
SHA1 (patch-ae) = 251bd77372088b1e72a581c0c39e722aacb40a0e
+SHA1 (patch-af) = 96743b9d31adec688a0bcab05bd8b32a9e162a54
diff -r 59359f672db7 -r 4adaeeb5271b audio/xmp/patches/patch-af
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/xmp/patches/patch-af Mon Sep 22 09:30:03 2003 +0000
@@ -0,0 +1,27 @@
+$NetBSD: patch-af,v 1.1 2003/09/22 09:30:05 tron Exp $
+
+--- src/loaders/it_load.c.orig 2000-12-29 19:08:28.000000000 +0100
++++ src/loaders/it_load.c 2003-09-22 11:27:16.000000000 +0200
+@@ -327,14 +327,14 @@
+
+ #define BUILD_ENV(X) { \
+ fread (&env, 1, sizeof (env), f); \
+- xxih[i].##X##ei.flg = env.flg & IT_ENV_ON ? XXM_ENV_ON : 0; \
+- xxih[i].##X##ei.flg |= env.flg & IT_ENV_LOOP ? XXM_ENV_LOOP : 0; \
+- xxih[i].##X##ei.flg |= env.flg & IT_ENV_SLOOP ? XXM_ENV_SUS : 0; \
+- xxih[i].##X##ei.npt = env.num; \
+- xxih[i].##X##ei.sus = env.slb; \
+- xxih[i].##X##ei.sue = env.sle; \
+- xxih[i].##X##ei.lps = env.lpb; \
+- xxih[i].##X##ei.lpe = env.lpe; \
++ xxih[i].X##ei.flg = env.flg & IT_ENV_ON ? XXM_ENV_ON : 0; \
++ xxih[i].X##ei.flg |= env.flg & IT_ENV_LOOP ? XXM_ENV_LOOP : 0; \
++ xxih[i].X##ei.flg |= env.flg & IT_ENV_SLOOP ? XXM_ENV_SUS : 0; \
++ xxih[i].X##ei.npt = env.num; \
++ xxih[i].X##ei.sus = env.slb; \
++ xxih[i].X##ei.sue = env.sle; \
++ xxih[i].X##ei.lps = env.lpb; \
++ xxih[i].X##ei.lpe = env.lpe; \
+ if (env.num) xx##X##e[i] = calloc (4, env.num); \
+ for (j = 0; j < env.num; j++) { \
+ L_ENDIAN16 (env.node[j].x); \
Home |
Main Index |
Thread Index |
Old Index