mirror of
git://git.savannah.gnu.org/guix.git
synced 2023-12-14 03:33:07 +01:00
b81245ccb3
* gnu/packages/image.scm (libjxr): New variable. * gnu/packages/patches/libjxr-fix-function-signature.patch: New file. * gnu/packages/patches/libjxr-fix-typos.patch: New file. * gnu/local.mk (dist_patch_DATA): Register patches.
29 lines
1.2 KiB
Diff
29 lines
1.2 KiB
Diff
Description: Fix typos and remove some warnings
|
|
Author: Mathieu Malaterre <malat@debian.org>
|
|
|
|
Index: jxrlib-1.1/jxrencoderdecoder/JxrEncApp.c
|
|
===================================================================
|
|
--- jxrlib-1.1.orig/jxrencoderdecoder/JxrEncApp.c
|
|
+++ jxrlib-1.1/jxrencoderdecoder/JxrEncApp.c
|
|
@@ -578,7 +578,7 @@ main(int argc, char* argv[])
|
|
|
|
//================================
|
|
Call(PKCreateCodecFactory(&pCodecFactory, WMP_SDK_VERSION));
|
|
- Call(pCodecFactory->CreateCodec(&IID_PKImageWmpEncode, &pEncoder));
|
|
+ Call(pCodecFactory->CreateCodec(&IID_PKImageWmpEncode, (void**)&pEncoder));
|
|
|
|
//----------------------------------------------------------------
|
|
Call(PKCreateTestFactory(&pTestFactory, WMP_SDK_VERSION));
|
|
Index: jxrlib-1.1/jxrgluelib/JXRMeta.h
|
|
===================================================================
|
|
--- jxrlib-1.1.orig/jxrgluelib/JXRMeta.h
|
|
+++ jxrlib-1.1/jxrgluelib/JXRMeta.h
|
|
@@ -34,7 +34,7 @@
|
|
|
|
#ifndef UNREFERENCED_PARAMETER
|
|
#define UNREFERENCED_PARAMETER(P) { (P) = (P); }
|
|
-#endif UNREFERENCED_PARAMETER
|
|
+#endif /*UNREFERENCED_PARAMETER*/
|
|
|
|
//================================================================
|
|
// Container
|