File nifticlib-1.1.0-ecode.patch of Package nifticlib

diff --git a/niftilib/nifti1_io.h b/niftilib/nifti1_io.h
index 5e5d735..2cd5b5d 100644
--- a/niftilib/nifti1_io.h
+++ b/niftilib/nifti1_io.h
@@ -450,7 +450,10 @@ int    valid_nifti_extensions(const nifti_image *nim);
 
 #define NIFTI_ECODE_FREESURFER      14  /* http://surfer.nmr.mgh.harvard.edu */
 
-#define NIFTI_MAX_ECODE             14  /******* maximum extension code *******/
+#define NIFTI_ECODE_PYPICKLE        16  /* Embedded Python objects
+                                           http://niftilib.sourceforge.net/pynifti */
+
+#define NIFTI_MAX_ECODE             16  /******* maximum extension code *******/
 
 /* nifti_type file codes */
 #define NIFTI_FTYPE_ANALYZE   0
openSUSE Build Service is sponsored by