added my Recipes
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
From 771cd2a12db8b8c9a558f1a04958df8ed614f2e0 Mon Sep 17 00:00:00 2001
|
||||
From: Alexander Kanavin <alex.kanavin@gmail.com>
|
||||
Date: Fri, 20 Dec 2019 14:06:50 +0100
|
||||
Subject: [PATCH] Fix builds with recent gettext
|
||||
|
||||
Upstream-Status: Pending
|
||||
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
|
||||
---
|
||||
Makefile.am | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/Makefile.am b/Makefile.am
|
||||
index dedabd6..8833ac9 100644
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -22,7 +22,7 @@
|
||||
# along with Enscript. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
-SUBDIRS = intl compat afm afmlib lib scripts src po states docs w32
|
||||
+SUBDIRS = compat afm afmlib lib scripts src po states docs w32
|
||||
|
||||
EXTRA_DIST = README.ESCAPES README.DOS ascii.txt \
|
||||
asciifise.txt asciidkno.txt 88591.txt 88592.txt 88593.txt 88594.txt \
|
||||
@@ -0,0 +1,27 @@
|
||||
From faec0206611f8ea4ca6f70987866077ac8c3c6c1 Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Fri, 2 Sep 2022 21:24:27 -0700
|
||||
Subject: [PATCH] getopt: Include string.h for strcmp/stcncmp functions
|
||||
|
||||
Upstream-Status: Pending
|
||||
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
compat/getopt.c | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/compat/getopt.c b/compat/getopt.c
|
||||
index 752f28a..9b984b4 100644
|
||||
--- a/compat/getopt.c
|
||||
+++ b/compat/getopt.c
|
||||
@@ -43,6 +43,7 @@
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
+#include <string.h> /* strcmp */
|
||||
|
||||
/* Comment out all this code if we are using the GNU C Library, and are not
|
||||
actually compiling the library itself. This code is part of the GNU C
|
||||
--
|
||||
2.37.3
|
||||
|
||||
@@ -0,0 +1,118 @@
|
||||
autoconf no longer supports AM_C_PROTOTYPES
|
||||
|
||||
| configure.ac:14: error: automatic de-ANSI-fication support has been removed
|
||||
| /bitbake_build/tmp/sysroots/x86_64-linux/usr/share/aclocal-1.12/protos.m4:10: AM_C_PROTOTYPES is expanded from...
|
||||
|
||||
Upstream-Status: Pending
|
||||
|
||||
Author: Mark Hatle <mark.hatle@windriver.com>
|
||||
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
|
||||
|
||||
Index: enscript-1.6.6/configure.ac
|
||||
===================================================================
|
||||
--- enscript-1.6.6.orig/configure.ac
|
||||
+++ enscript-1.6.6/configure.ac
|
||||
@@ -11,7 +11,6 @@ AC_PROG_INSTALL
|
||||
AC_PROG_CC
|
||||
|
||||
AC_USE_SYSTEM_EXTENSIONS
|
||||
-AM_C_PROTOTYPES
|
||||
|
||||
AC_C_CONST
|
||||
AC_FUNC_ALLOCA
|
||||
Index: enscript-1.6.6/afmlib/afm.h
|
||||
===================================================================
|
||||
--- enscript-1.6.6.orig/afmlib/afm.h
|
||||
+++ enscript-1.6.6/afmlib/afm.h
|
||||
@@ -24,11 +24,7 @@
|
||||
#define AFM_H
|
||||
|
||||
#ifndef ___P
|
||||
-#if PROTOTYPES
|
||||
#define ___P(protos) protos
|
||||
-#else /* no PROTOTYPES */
|
||||
-#define ___P(protos) ()
|
||||
-#endif /* no PROTOTYPES */
|
||||
#endif
|
||||
|
||||
/**********************************************************************
|
||||
Index: enscript-1.6.6/afmlib/afmint.h
|
||||
===================================================================
|
||||
--- enscript-1.6.6.orig/afmlib/afmint.h
|
||||
+++ enscript-1.6.6/afmlib/afmint.h
|
||||
@@ -34,11 +34,7 @@
|
||||
#include <stdio.h>
|
||||
|
||||
#ifndef ___P
|
||||
-#if PROTOTYPES
|
||||
#define ___P(protos) protos
|
||||
-#else /* no PROTOTYPES */
|
||||
-#define ___P(protos) ()
|
||||
-#endif /* no PROTOTYPES */
|
||||
#endif
|
||||
|
||||
#if STDC_HEADERS
|
||||
Index: enscript-1.6.6/afmlib/strhash.h
|
||||
===================================================================
|
||||
--- enscript-1.6.6.orig/afmlib/strhash.h
|
||||
+++ enscript-1.6.6/afmlib/strhash.h
|
||||
@@ -24,11 +24,7 @@
|
||||
#define STRHASH_H
|
||||
|
||||
#ifndef ___P
|
||||
-#if PROTOTYPES
|
||||
#define ___P(protos) protos
|
||||
-#else /* no PROTOTYPES */
|
||||
-#define ___P(protos) ()
|
||||
-#endif /* no PROTOTYPES */
|
||||
#endif
|
||||
|
||||
typedef struct stringhash_st *StringHashPtr;
|
||||
Index: enscript-1.6.6/compat/xalloc.h
|
||||
===================================================================
|
||||
--- enscript-1.6.6.orig/compat/xalloc.h
|
||||
+++ enscript-1.6.6/compat/xalloc.h
|
||||
@@ -28,11 +28,7 @@
|
||||
#define XALLOC_H
|
||||
|
||||
#ifndef ___P
|
||||
-#if PROTOTYPES
|
||||
#define ___P(protos) protos
|
||||
-#else /* no PROTOTYPES */
|
||||
-#define ___P(protos) ()
|
||||
-#endif /* no PROTOTYPES */
|
||||
#endif
|
||||
|
||||
void *xmalloc ___P ((size_t size));
|
||||
Index: enscript-1.6.6/src/gsint.h
|
||||
===================================================================
|
||||
--- enscript-1.6.6.orig/src/gsint.h
|
||||
+++ enscript-1.6.6/src/gsint.h
|
||||
@@ -39,11 +39,7 @@
|
||||
#include <sys/stat.h>
|
||||
|
||||
#ifndef ___P
|
||||
-#if PROTOTYPES
|
||||
#define ___P(protos) protos
|
||||
-#else /* no PROTOTYPES */
|
||||
-#define ___P(protos) ()
|
||||
-#endif /* no PROTOTYPES */
|
||||
#endif
|
||||
|
||||
#if STDC_HEADERS
|
||||
Index: enscript-1.6.6/states/defs.h
|
||||
===================================================================
|
||||
--- enscript-1.6.6.orig/states/defs.h
|
||||
+++ enscript-1.6.6/states/defs.h
|
||||
@@ -37,11 +37,7 @@
|
||||
#include <ctype.h>
|
||||
|
||||
#ifndef ___P
|
||||
-#if PROTOTYPES
|
||||
#define ___P(protos) protos
|
||||
-#else /* no PROTOTYPES */
|
||||
-#define ___P(protos) ()
|
||||
-#endif /* no PROTOTYPES */
|
||||
#endif
|
||||
|
||||
#if STDC_HEADERS
|
||||
@@ -0,0 +1,26 @@
|
||||
SUMMARY = "A plain ASCII to PostScript converter"
|
||||
DESCRIPTION = "GNU enscript is a free replacement for Adobe''s Enscript \
|
||||
program. Enscript converts ASCII files to PostScript(TM) and spools generated \
|
||||
PostScript output to the specified printer or saves it to a file. Enscript can \
|
||||
be extended to handle different output media and includes many options for \
|
||||
customizing printouts."
|
||||
HOMEPAGE = "http://www.gnu.org/software/enscript/"
|
||||
SECTION = "console/utils"
|
||||
|
||||
LICENSE = "GPL-3.0-or-later"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949"
|
||||
|
||||
SRC_URI = "${GNU_MIRROR}/${BPN}/${BP}.tar.gz \
|
||||
file://enscript-autoconf.patch \
|
||||
file://0001-Fix-builds-with-recent-gettext.patch \
|
||||
file://0001-getopt-Include-string.h-for-strcmp-stcncmp-functions.patch \
|
||||
"
|
||||
|
||||
inherit autotools gettext
|
||||
|
||||
EXTRA_OECONF += "PERL='${USRBINPATH}/env perl'"
|
||||
|
||||
SRC_URI[md5sum] = "3acc242b829adacabcaf28533f049afd"
|
||||
SRC_URI[sha256sum] = "6d56bada6934d055b34b6c90399aa85975e66457ac5bf513427ae7fc77f5c0bb"
|
||||
|
||||
RDEPENDS:${PN} = "perl"
|
||||
Reference in New Issue
Block a user