added my Recipes
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
From a57c498f6c25aa297e49533c242525f2b9da7048 Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Thu, 13 Aug 2020 18:20:42 -0700
|
||||
Subject: [PATCH] Make extern declarations in header file
|
||||
|
||||
curobj is a static object in other places as well.
|
||||
Fixes build with gcc10/-fno-common
|
||||
|
||||
Upstream-Status: Pending
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
fdesign/sp_spinner.c | 2 +-
|
||||
1 files changed, 1 insertions(+), 1 deletions(-)
|
||||
|
||||
diff --git a/fdesign/sp_spinner.c b/fdesign/sp_spinner.c
|
||||
index 04f2c19..6206daa 100644
|
||||
--- a/fdesign/sp_spinner.c
|
||||
+++ b/fdesign/sp_spinner.c
|
||||
@@ -29,7 +29,7 @@
|
||||
#include "spec/spinner_spec.h"
|
||||
|
||||
static FD_spinnerattrib * spn_attrib;
|
||||
-FL_OBJECT *curobj;
|
||||
+static FL_OBJECT *curobj;
|
||||
|
||||
|
||||
/***************************************
|
||||
|
||||
--
|
||||
2.28.0
|
||||
|
||||
@@ -0,0 +1,33 @@
|
||||
From d2d05928342f7f9f687ffea5e0b77f97f0ae5aad Mon Sep 17 00:00:00 2001
|
||||
From: Wang Mingyu <wangmy@fujitsu.com>
|
||||
Date: Wed, 7 Sep 2022 14:29:13 +0900
|
||||
Subject: [PATCH] Modify include dir
|
||||
|
||||
error messagge:
|
||||
../../xforms-1.2.4/lib/fd/cmdbr.h:28:10: fatal error: ../include/forms.h: No such file or directory
|
||||
|
||||
../include/forms.h specified in the header file cmdbr.h is not exist.
|
||||
|
||||
Upstream-Status: Pending
|
||||
|
||||
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
|
||||
---
|
||||
lib/fd/cmdbr.h | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/lib/fd/cmdbr.h b/lib/fd/cmdbr.h
|
||||
index 8495e05..2ddeced 100644
|
||||
--- a/lib/fd/cmdbr.h
|
||||
+++ b/lib/fd/cmdbr.h
|
||||
@@ -25,7 +25,7 @@
|
||||
#ifndef FD_cmd_h_
|
||||
#define FD_cmd_h_
|
||||
|
||||
-#include "../include/forms.h"
|
||||
+#include "include/forms.h"
|
||||
|
||||
/* Callbacks, globals and object handlers */
|
||||
|
||||
--
|
||||
2.25.1
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
diff -Naur xforms-1.2.3.orig/fdesign/Makefile.am xforms-1.2.3/fdesign/Makefile.am
|
||||
--- xforms-1.2.3.orig/fdesign/Makefile.am 2019-02-24 12:58:51.968645873 +0000
|
||||
+++ xforms-1.2.3/fdesign/Makefile.am 2019-02-24 13:00:48.500635163 +0000
|
||||
@@ -11,7 +11,7 @@
|
||||
fdesign.1:
|
||||
cp -p $(srcdir)/fdesign.man fdesign.1
|
||||
|
||||
-INCLUDES = -I./xpm $(X_CFLAGS)
|
||||
+INCLUDES = -I./xpm -I$(srcdir)/xpm $(X_CFLAGS)
|
||||
|
||||
bin_PROGRAMS = fdesign
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
diff -Naur xforms-1.2.3.orig/lib/Makefile.am xforms-1.2.3/lib/Makefile.am
|
||||
--- xforms-1.2.3.orig/lib/Makefile.am 2019-02-24 12:53:58.340678373 +0000
|
||||
+++ xforms-1.2.3/lib/Makefile.am 2019-02-24 12:54:33.096674102 +0000
|
||||
@@ -25,7 +25,7 @@
|
||||
man_MANS = xforms.5
|
||||
|
||||
xforms.5:
|
||||
- cp -p ./xforms.man xforms.5
|
||||
+ cp -p $(srcdir)/xforms.man xforms.5
|
||||
|
||||
libforms_la_SOURCES = \
|
||||
align.c \
|
||||
@@ -0,0 +1,12 @@
|
||||
diff -Naur xforms-1.2.3.orig/fdesign/Makefile.am xforms-1.2.3/fdesign/Makefile.am
|
||||
--- xforms-1.2.3.orig/fdesign/Makefile.am 2019-02-24 13:08:48.412603250 +0000
|
||||
+++ xforms-1.2.3/fdesign/Makefile.am 2019-02-24 13:09:18.412601874 +0000
|
||||
@@ -15,7 +15,7 @@
|
||||
|
||||
bin_PROGRAMS = fdesign
|
||||
|
||||
-fdesign_LDADD = $(top_srcdir)/lib/libforms.la $(X_LIBS) $(X_PRE_LIBS) $(XPM_LIB) -lX11 $(LIBS) $(X_EXTRA_LIBS)
|
||||
+fdesign_LDADD = $(top_builddir)/lib/libforms.la $(X_LIBS) $(X_PRE_LIBS) $(XPM_LIB) -lX11 $(LIBS) $(X_EXTRA_LIBS)
|
||||
|
||||
fdesign_SOURCES = \
|
||||
fd_attribs.c \
|
||||
@@ -0,0 +1,26 @@
|
||||
DESCRIPTION = "The XForms graphical interface widget library "
|
||||
HOMEPAGE = "http://savannah.nongnu.org/projects/xforms/"
|
||||
|
||||
LICENSE = "LGPL-2.1-or-later"
|
||||
LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=ade9a053df81f5b9408d2f4f5546df86"
|
||||
|
||||
SRC_URI = "http://download.savannah.nongnu.org/releases/xforms/xforms-${PV}.tar.gz \
|
||||
file://fix-link-to-xforms-man.patch \
|
||||
file://add-absolute-path-for-include-dir.patch \
|
||||
file://fix-path-fdesign_LDADD.patch \
|
||||
file://0001-Make-extern-declarations-in-header-file.patch \
|
||||
file://0001-Modify-include-dir.patch \
|
||||
"
|
||||
|
||||
SRC_URI[sha256sum] = "92b5e6466ea2dffca7332aec12734e65b3e961825eb3100b7d889c0d1abb4697"
|
||||
|
||||
inherit autotools features_check
|
||||
|
||||
REQUIRED_DISTRO_FEATURES = "opengl x11"
|
||||
|
||||
S = "${WORKDIR}/xforms-${PV}"
|
||||
|
||||
DEPENDS = "libxpm jpeg libx11 mesa"
|
||||
RDEPENDS:${PN} = "bash"
|
||||
|
||||
EXTRA_OECONF = "--with-extra-inc=${S}/lib"
|
||||
Reference in New Issue
Block a user