summaryrefslogtreecommitdiff
path: root/media-gfx/hp2xx/files/hp2xx-3.4.4-clang16-build.patch
diff options
context:
space:
mode:
Diffstat (limited to 'media-gfx/hp2xx/files/hp2xx-3.4.4-clang16-build.patch')
-rw-r--r--media-gfx/hp2xx/files/hp2xx-3.4.4-clang16-build.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/media-gfx/hp2xx/files/hp2xx-3.4.4-clang16-build.patch b/media-gfx/hp2xx/files/hp2xx-3.4.4-clang16-build.patch
new file mode 100644
index 000000000000..20c8a143a6e3
--- /dev/null
+++ b/media-gfx/hp2xx/files/hp2xx-3.4.4-clang16-build.patch
@@ -0,0 +1,13 @@
+Bug: https://bugs.gentoo.org/896218
+--- a/sources/getopt.c
++++ b/sources/getopt.c
+@@ -22,6 +22,9 @@
+ along with this program; if not, write to the Free Software
+ Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
++
++#include <string.h>
++
+
+ /**
+ ** Additions / fixes for hp2xx