glibc >= 2.27 has removed SVID support, and the HUGE constant as part of
it. Replace it with INFINITY, which is more suitable in that case.

--- gimp-texturize-2.1.orig/src/offset.c
+++ gimp-texturize-2.1/src/offset.c
@@ -63,7 +63,7 @@ offset_optimal (gint    *resultat,
                 gint     channels, guchar **rempli,
                 gboolean tileable) {
   gint x_i, y_i;
-  float best_difference = HUGE, tmp_difference;
+  float best_difference = INFINITY, tmp_difference;
 
   for (x_i = x_patch_posn_min; x_i < x_patch_posn_max; x_i++) {
     for (y_i = y_patch_posn_min; y_i < y_patch_posn_max; y_i++) {
