Bas Couwenberg pushed to branch master at Debian GIS Project / ruby-hdfeos5


Commits:
55461f5f by Bas Couwenberg at 2024-03-18T18:50:56+01:00
Add patch to fix FTBFS with GCC 14. (closes: #1067059)

- - - - -


3 changed files:

- debian/changelog
- + debian/patches/gcc-14.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -7,6 +7,8 @@ ruby-hdfeos5 (1.2-12) UNRELEASED; urgency=medium
   * Bump debhelper compat to 13.
   * Remove generated files in clean target.
   * Switch to dh-sequence-*.
+  * Add patch to fix FTBFS with GCC 14.
+    (closes: #1067059)
 
  -- Bas Couwenberg <[email protected]>  Tue, 02 Nov 2021 12:26:59 +0100
 


=====================================
debian/patches/gcc-14.patch
=====================================
@@ -0,0 +1,17 @@
+Description: Fix FTBFS with GCC 14 [-Werror=implicit-function-declaration].
+Author: Bas Couwenberg <[email protected]>
+Bug-Debian: https://bugs.debian.org/1067059
+
+--- a/hdfeos5pt_wrap.c
++++ b/hdfeos5pt_wrap.c
+@@ -15,6 +15,10 @@
+ 
+ extern int   check_numbertype(char *);
+ extern int   change_numbertype(char *);
++extern int   HE5_PTdeflevelF(hid_t  pointID, const char *levelname, int 
rank[], char *fieldlist, long *dim_sizes, int dtype[], int array[]);
++extern int   HE5_PTreadlevelF(hid_t pointID, int level, char *fieldname, int 
ntype, void *datbuf);
++extern int   HE5_PTupdatelevelF(hid_t pointID, int level, char *fieldlist, 
long nrec,  long recs[], int ntype, void *data);
++extern int   HE5_PTwritelevelF(hid_t pointID, int level, long count[], char 
*fieldname, int ntype, void *data);
+ extern void  HE5Wrap_make_NArray1D_or_str(int, size_t, VALUE *, void **);
+ extern void  HE5Wrap_store_NArray1D_or_str(int, VALUE , void **);
+ extern void  change_chartype(hid_t, char *);


=====================================
debian/patches/series
=====================================
@@ -6,3 +6,4 @@
 0006-hid_t.patch
 0007-Drop-obsolete-rb_secure-rb_safe_level.patch
 0008-Change-Encoding-Shift_JIS-to-UTF-8.patch
+gcc-14.patch



View it on GitLab: 
https://salsa.debian.org/debian-gis-team/ruby-hdfeos5/-/commit/55461f5f40bf5ba56c897b57beb34a92ab43f252

-- 
View it on GitLab: 
https://salsa.debian.org/debian-gis-team/ruby-hdfeos5/-/commit/55461f5f40bf5ba56c897b57beb34a92ab43f252
You're receiving this email because of your account on salsa.debian.org.


_______________________________________________
Pkg-grass-devel mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to