diff options
author | tron <tron@pkgsrc.org> | 2003-09-22 09:30:03 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2003-09-22 09:30:03 +0000 |
commit | d59168b7beaf51cab1b0bdb80e5ad98e4fe7ad0f (patch) | |
tree | 89640cd9253370a48d845591b995995d4dacc392 /audio | |
parent | 5cca5752aa41a7e5e7b4d0de86b45da7af06db0d (diff) | |
download | pkgsrc-d59168b7beaf51cab1b0bdb80e5ad98e4fe7ad0f.tar.gz |
Fix build problem with GCC 3.3.1.
Diffstat (limited to 'audio')
-rw-r--r-- | audio/xmp/distinfo | 3 | ||||
-rw-r--r-- | audio/xmp/patches/patch-af | 27 |
2 files changed, 29 insertions, 1 deletions
diff --git a/audio/xmp/distinfo b/audio/xmp/distinfo index 9365016233f..f38a41f9858 100644 --- a/audio/xmp/distinfo +++ b/audio/xmp/distinfo @@ -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-ab) = 9d4732f57cf045a3904b8d9627ccb866d39e0fb0 SHA1 (patch-ac) = 0efcb2f094f149c56da96a6ba7ba9a59ed06dc4d SHA1 (patch-ad) = 7b2c1f5c10b4b8a766bcca7bc4d7d9f538e89db1 SHA1 (patch-ae) = 251bd77372088b1e72a581c0c39e722aacb40a0e +SHA1 (patch-af) = 96743b9d31adec688a0bcab05bd8b32a9e162a54 diff --git a/audio/xmp/patches/patch-af b/audio/xmp/patches/patch-af new file mode 100644 index 00000000000..664750fac33 --- /dev/null +++ b/audio/xmp/patches/patch-af @@ -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); \ |