Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 181c3235c4 | |||
| f6e828e991 |
44
barcode-0.99-remove-config.h.patch
Normal file
44
barcode-0.99-remove-config.h.patch
Normal file
@@ -0,0 +1,44 @@
|
||||
diff -wruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x autom4te.cache -x .deps -x .libs ../orig-barcode-0.99/barcode.h ./barcode.h
|
||||
--- ../orig-barcode-0.99/barcode.h 2025-10-27 16:41:03.980242662 +0100
|
||||
+++ ./barcode.h 2025-10-27 16:41:37.693153621 +0100
|
||||
@@ -23,7 +23,6 @@
|
||||
#ifndef _BARCODE_H_
|
||||
#define _BARCODE_H_
|
||||
|
||||
-#include "config.h"
|
||||
#include <stdio.h>
|
||||
|
||||
#include <gettext-po.h>
|
||||
diff -wruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x autom4te.cache -x .deps -x .libs ../orig-barcode-0.99/cmdline.c ./cmdline.c
|
||||
--- ../orig-barcode-0.99/cmdline.c 2025-10-27 16:41:15.407005891 +0100
|
||||
+++ ./cmdline.c 2025-10-27 16:46:12.212415893 +0100
|
||||
@@ -22,6 +22,7 @@
|
||||
* Michele Comitini (mcm@glisco.it): better handling of numeric type args.
|
||||
*/
|
||||
|
||||
+#include "config.h"
|
||||
#include "barcode.h"
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
diff -wruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x autom4te.cache -x .deps -x .libs ../orig-barcode-0.99/library.c ./library.c
|
||||
--- ../orig-barcode-0.99/library.c 2013-03-29 23:23:18.000000000 +0100
|
||||
+++ ./library.c 2025-10-27 16:45:05.901224541 +0100
|
||||
@@ -19,6 +19,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
+#include "config.h"
|
||||
#include "barcode.h"
|
||||
|
||||
#include <stdio.h>
|
||||
diff -wruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x autom4te.cache -x .deps -x .libs ../orig-barcode-0.99/main.c ./main.c
|
||||
--- ../orig-barcode-0.99/main.c 2025-10-27 16:41:15.407995445 +0100
|
||||
+++ ./main.c 2025-10-27 16:45:12.339593631 +0100
|
||||
@@ -20,6 +20,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
+#include "config.h"
|
||||
#include "barcode.h"
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 27 15:47:08 UTC 2025 - Klaus Kämpf <kkaempf@suse.de>
|
||||
|
||||
- add barcode-0.99-remove-config.h.patch since config.h is
|
||||
a build-time dependency and not shipped in barcode-devel.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 19 16:34:25 UTC 2024 - Martin Jambor <mjambor@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package barcode
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC and contributors
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -34,9 +34,11 @@ Patch5: %{name}-0.98-leak-fix.patch
|
||||
Patch6: barcode-fix-renamed-include.patch
|
||||
# PATCH-FIX-UPSTREAM barcode-C99.diff mjambor@suse.com -- Fix missing includes which cause compilation errors with GCC 14
|
||||
Patch7: barcode-C99.diff
|
||||
# PATCH-FIX-OPENSUSE kkaempf@suse.de -- don't include build-time file config.h
|
||||
Patch8: barcode-0.99-remove-config.h.patch
|
||||
BuildRequires: makeinfo
|
||||
Requires(post): %{install_info_prereq}
|
||||
Requires(preun):%{install_info_prereq}
|
||||
Requires(preun): %{install_info_prereq}
|
||||
|
||||
%description
|
||||
GNU Barcode is meant to meet most barcode creation needs with a
|
||||
@@ -62,6 +64,7 @@ Encapsulated PostScript format.
|
||||
%patch -P 5
|
||||
%patch -P 6 -p1
|
||||
%patch -P 7 -p1
|
||||
%patch -P 8 -p1
|
||||
|
||||
%build
|
||||
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
|
||||
|
||||
Reference in New Issue
Block a user