mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
BeCJK: enable x86_64
This commit is contained in:
@@ -3,13 +3,13 @@ DESCRIPTION="BeCJK was an input method for legacy BeOS, now works on Haiku."
|
||||
HOMEPAGE="https://github.com/HaikuArchives/BeCJK"
|
||||
COPYRIGHT="2001-2002 Anthony Lee"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="2"
|
||||
SOURCE_URI="https://github.com/HaikuArchives/BeCJK/archive/1.0.1.tar.gz"
|
||||
CHECKSUM_SHA256="b91ebd7605a96289c1d6b2d8a8e7960cdef96ee9fa6465bac1b2a72710ada5f7"
|
||||
SOURCE_DIR="BeCJK-$portVersion"
|
||||
PATCHES="becjk-1.0.1.patchset"
|
||||
REVISION="3"
|
||||
COMMIT="35ede035067ebfa14f9a906b57ec17e77f310bff"
|
||||
SOURCE_URI="https://github.com/HaikuArchives/BeCJK/archive/$COMMIT.tar.gz"
|
||||
SOURCE_DIR="BeCJK-$COMMIT"
|
||||
CHECKSUM_SHA256="4d64bd104fb925fe9dc9ca7d066d2dd755d80f8c250f391c0085f7ae4633e1a5"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 ?x86"
|
||||
ARCHITECTURES="x86_gcc2 x86_64"
|
||||
|
||||
PROVIDES="
|
||||
BeCJK = $portVersion
|
||||
|
||||
@@ -1,57 +0,0 @@
|
||||
From 25efc67a13063b563b0f6d9aa4254c8a16695ac7 Mon Sep 17 00:00:00 2001
|
||||
From: Adrien Destugues <pulkomandy@gmail.com>
|
||||
Date: Wed, 17 Sep 2014 20:56:21 +0200
|
||||
Subject: strings.h fixes.
|
||||
|
||||
|
||||
diff --git a/besavager/Button.cpp b/besavager/Button.cpp
|
||||
index 4e906b3..a368e87 100644
|
||||
--- a/besavager/Button.cpp
|
||||
+++ b/besavager/Button.cpp
|
||||
@@ -20,6 +20,7 @@
|
||||
// Button supported Tooltip and Bitmap
|
||||
|
||||
#include <string.h>
|
||||
+#include <strings.h>
|
||||
#include <sys/utsname.h>
|
||||
|
||||
#include "Button.h"
|
||||
diff --git a/besavager/HashTable.cpp b/besavager/HashTable.cpp
|
||||
index 88b8e88..4a3405e 100644
|
||||
--- a/besavager/HashTable.cpp
|
||||
+++ b/besavager/HashTable.cpp
|
||||
@@ -20,6 +20,7 @@
|
||||
// Hash Table yanked from GLIB
|
||||
|
||||
|
||||
+#include <strings.h>
|
||||
#include "HashTable.h"
|
||||
#include "Strings.h"
|
||||
|
||||
diff --git a/besavager/Tooltips.cpp b/besavager/Tooltips.cpp
|
||||
index 84089e3..ee24e73 100644
|
||||
--- a/besavager/Tooltips.cpp
|
||||
+++ b/besavager/Tooltips.cpp
|
||||
@@ -20,6 +20,7 @@
|
||||
// Tooltip Manager
|
||||
|
||||
#include <string.h>
|
||||
+#include <strings.h>
|
||||
#include <sys/utsname.h>
|
||||
|
||||
#include "Tooltips.h"
|
||||
diff --git a/besavager/XPM.cpp b/besavager/XPM.cpp
|
||||
index b7f5a97..f0e08c6 100644
|
||||
--- a/besavager/XPM.cpp
|
||||
+++ b/besavager/XPM.cpp
|
||||
@@ -23,6 +23,7 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
+#include <strings.h>
|
||||
#include <sys/param.h>
|
||||
#include <bsd_mem.h>
|
||||
|
||||
--
|
||||
1.8.3.4
|
||||
|
||||
Reference in New Issue
Block a user