Subject: Re: mpeg_encode not building
To: Thomas Klausner <wiz@NetBSD.org>
From: Louis Guillaume <lguillaume@berklee.edu>
List: tech-pkg
Date: 04/06/2005 11:37:09
This is a cryptographically signed message in MIME format.
--------------ms010808010507000206020704
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Thomas Klausner wrote:
> opts.c includes opts.h which includes general.h, which defines:
> #define abs(a) ((a) >= 0 ? (a) : -(a))
>
> You could try putting the "opts.h" include at the bottom in
Ok - I made this patch, made makepatchsum and now the package builds
normally...
$ cat patches/patch-af
--- opts.c.orig 2005-04-06 11:24:41.000000000 -0400
+++ opts.c 2005-04-06 11:24:53.000000000 -0400
@@ -37,9 +37,9 @@
#include <stdio.h>
#include <string.h>
-#include "opts.h"
#include <malloc.h>
#include <math.h>
+#include "opts.h"
/*==============*
* EXTERNALS *
--------------ms010808010507000206020704
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature
MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIII/TCC
AtkwggJCoAMCAQICAw5BgDANBgkqhkiG9w0BAQQFADBiMQswCQYDVQQGEwJaQTElMCMGA1UE
ChMcVGhhd3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNv
bmFsIEZyZWVtYWlsIElzc3VpbmcgQ0EwHhcNMDUwMzEzMDQxNDUwWhcNMDYwMzEzMDQxNDUw
WjBIMR8wHQYDVQQDExZUaGF3dGUgRnJlZW1haWwgTWVtYmVyMSUwIwYJKoZIhvcNAQkBFhZs
Z3VpbGxhdW1lQGJlcmtsZWUuZWR1MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA
7oKaqOBxvzmsqFBmyM/OW13GZwrHIWZsChw3Bg8pqCqFKoJZ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