diff options
Diffstat (limited to 'graphics/libexif/patches')
-rw-r--r-- | graphics/libexif/patches/patch-aa | 21 | ||||
-rw-r--r-- | graphics/libexif/patches/patch-ab | 32 |
2 files changed, 0 insertions, 53 deletions
diff --git a/graphics/libexif/patches/patch-aa b/graphics/libexif/patches/patch-aa deleted file mode 100644 index a827de40cae..00000000000 --- a/graphics/libexif/patches/patch-aa +++ /dev/null @@ -1,21 +0,0 @@ -$NetBSD: patch-aa,v 1.1 2004/10/27 19:30:23 drochner Exp $ - ---- configure.orig 2004-10-27 15:07:12.000000000 +0200 -+++ configure -@@ -25641,7 +25641,7 @@ if test "x$GCC" = "xyes"; then - - fi - -- ac_config_files="$ac_config_files Makefile libexif.spec libexif/Makefile libexif/canon/Makefile libexif/olympus/Makefile libexif/pentax/Makefile libjpeg/Makefile test/Makefile m4/Makefile libexif/libexif.pc" -+ ac_config_files="$ac_config_files Makefile libexif.spec libexif/Makefile libexif/canon/Makefile libexif/olympus/Makefile libexif/pentax/Makefile libjpeg/Makefile po/Makefile.in test/Makefile m4/Makefile libexif/libexif.pc" - cat >confcache <<\_ACEOF - # This file is a shell script that caches the results of configure - # tests run on this system so they can be shared between configure -@@ -26219,6 +26219,7 @@ do - "libexif/olympus/Makefile" ) CONFIG_FILES="$CONFIG_FILES libexif/olympus/Makefile" ;; - "libexif/pentax/Makefile" ) CONFIG_FILES="$CONFIG_FILES libexif/pentax/Makefile" ;; - "libjpeg/Makefile" ) CONFIG_FILES="$CONFIG_FILES libjpeg/Makefile" ;; -+ "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; - "test/Makefile" ) CONFIG_FILES="$CONFIG_FILES test/Makefile" ;; - "m4/Makefile" ) CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;; - "libexif/libexif.pc" ) CONFIG_FILES="$CONFIG_FILES libexif/libexif.pc" ;; diff --git a/graphics/libexif/patches/patch-ab b/graphics/libexif/patches/patch-ab deleted file mode 100644 index 6f1806095c9..00000000000 --- a/graphics/libexif/patches/patch-ab +++ /dev/null @@ -1,32 +0,0 @@ -$NetBSD: patch-ab,v 1.1 2005/03/10 19:22:22 adam Exp $ - ---- libexif/exif-data.c.orig Tue Oct 5 21:10:04 2004 -+++ libexif/exif-data.c -@@ -628,7 +628,7 @@ exif_data_load_data (ExifData *data, con - "Found EXIF header."); - - /* Byte order (offset 6, length 2) */ -- if (ds < 12) -+ if (ds < 14) - return; - if (!memcmp (d + 6, "II", 2)) - data->priv->order = EXIF_BYTE_ORDER_INTEL; -@@ -646,12 +646,18 @@ exif_data_load_data (ExifData *data, con - exif_log (data->priv->log, EXIF_LOG_CODE_DEBUG, "ExifData", - "IFD 0 at %i.", (int) offset); - -+ if (ds < 6 + 4 + offset) -+ return; -+ - /* Parse the actual exif data (offset 14) */ - exif_data_load_data_content (data, data->ifd[EXIF_IFD_0], d + 6, - ds - 6, offset); - - /* IFD 1 offset */ - n = exif_get_short (d + 6 + offset, data->priv->order); -+ if (ds < 6 + offset + 2 + 12 * n + 4) -+ return; -+ - offset = exif_get_long (d + 6 + offset + 2 + 12 * n, data->priv->order); - if (offset) { - exif_log (data->priv->log, EXIF_LOG_CODE_DEBUG, "ExifData", |