mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
album: patch build.
This commit is contained in:
@@ -9,11 +9,12 @@ file attributes."
|
||||
HOMEPAGE="https://github.com/HaikuArchives/Album/"
|
||||
COPYRIGHT="2006-2015 by Matjaž Kovač"
|
||||
LICENSE="MIT"
|
||||
REVISION="5"
|
||||
REVISION="6"
|
||||
srcGitRev="19d7f4d658f09800a05f4d3d9c7260d87ece47ef"
|
||||
SOURCE_URI="https://github.com/HaikuArchives/Album/archive/$srcGitRev.tar.gz"
|
||||
CHECKSUM_SHA256="b0f256a72cf248637ce0cb2952c144d58dd4cff365bd8635ac962ab2d5c8398d"
|
||||
SOURCE_DIR="Album-$srcGitRev"
|
||||
PATCHES="album-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 ?x86 x86_64"
|
||||
|
||||
|
||||
34
haiku-apps/album/patches/album-0.9.4.patchset
Normal file
34
haiku-apps/album/patches/album-0.9.4.patchset
Normal file
@@ -0,0 +1,34 @@
|
||||
From 8670d75d31441ab0fddd8aa5400388aec4df4860 Mon Sep 17 00:00:00 2001
|
||||
From: Jerome Duval <jerome.duval@gmail.com>
|
||||
Date: Wed, 26 Jun 2019 22:09:20 +0200
|
||||
Subject: include netinet/in.h for ntohs
|
||||
|
||||
|
||||
diff --git a/src/JpegTagExtractor.cpp b/src/JpegTagExtractor.cpp
|
||||
index 70cd173..0337a38 100644
|
||||
--- a/src/JpegTagExtractor.cpp
|
||||
+++ b/src/JpegTagExtractor.cpp
|
||||
@@ -28,6 +28,8 @@ SOFTWARE.
|
||||
#include <libiptcdata/iptc-jpeg.h>
|
||||
#include <JpegTagExtractor.h>
|
||||
|
||||
+#include <netinet/in.h>
|
||||
+
|
||||
/* JPEG marker magics */
|
||||
enum JPEG_MARKER {
|
||||
SOF0 = 0xc0, SOF1 = 0xc1, SOF2 = 0xc2, SOF3 = 0xc3,
|
||||
diff --git a/src/exif.c b/src/exif.c
|
||||
index 6175a18..eb98e03 100644
|
||||
--- a/src/exif.c
|
||||
+++ b/src/exif.c
|
||||
@@ -25,6 +25,7 @@ SOFTWARE.
|
||||
*/
|
||||
|
||||
|
||||
+#include <netinet/in.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <exif.h>
|
||||
--
|
||||
2.21.0
|
||||
|
||||
Reference in New Issue
Block a user