From dc58f366bb67089fcb19804d9430d2bdd308b423b5e4ec7c89ff6e41a35d95a5 Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Tue, 1 Aug 2017 10:10:29 +0000 Subject: [PATCH 1/2] Accepting request 513676 from home:Andreas_Schwab:glibc:rebuild - Define _GNU_SOURCE to request GNU extensions OBS-URL: https://build.opensuse.org/request/show/513676 OBS-URL: https://build.opensuse.org/package/show/Publishing:TeXLive/texlive?expand=0&rev=254 --- texlive.changes | 5 +++++ texlive.spec | 6 +----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/texlive.changes b/texlive.changes index 74c5584..ecda7ba 100644 --- a/texlive.changes +++ b/texlive.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Aug 1 07:53:05 UTC 2017 - schwab@suse.de + +- Define _GNU_SOURCE to request GNU extensions + ------------------------------------------------------------------- Wed Jun 28 07:56:00 UTC 2017 - nico.kruber@gmail.com diff --git a/texlive.spec b/texlive.spec index 6206881..208e4e5 100644 --- a/texlive.spec +++ b/texlive.spec @@ -3269,11 +3269,7 @@ This package is required by the package texlive-biber-bin. %endif CC=gcc CXX=g++ - if grep -q _DEFAULT_SOURCE /usr/include/features.h ; then - XCFLAGS="$RPM_OPT_FLAGS -D_POSIX_C_SOURCE=200803L -D_XOPEN_SOURCE=600 -D_DEFAULT_SOURCE" - else - XCFLAGS="$RPM_OPT_FLAGS -D_POSIX_C_SOURCE=200803L -D_XOPEN_SOURCE=600 -D_BSD_SOURCE" - fi + XCFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE" XCXXFLAGS="$XCFLAGS" cflags () { From cbe1c3a5047b32fcae6453eb5043fb1853a6ad8e0b9e6f38302fbd6b4e041e65 Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Tue, 1 Aug 2017 11:48:10 +0000 Subject: [PATCH 2/2] . OBS-URL: https://build.opensuse.org/package/show/Publishing:TeXLive/texlive?expand=0&rev=255 --- source.dif | 2 +- texlive.changes | 5 +++++ texlive.spec | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/source.dif b/source.dif index 78dbe37..089b05a 100644 --- a/source.dif +++ b/source.dif @@ -872,7 +872,7 @@ } } -+ if ($ENV{batchmode} eq "yes") { ++ if ($ENV{batchmode} and $ENV{batchmode} eq "yes") { + $texargs="\\batchmode \\input $texargs" if $eng eq "tex" || $eng eq "ptex"; + } my $cmdline = "$eng -ini $tcxflag $recorderswitch $jobswitch " diff --git a/texlive.changes b/texlive.changes index ecda7ba..0c9136b 100644 --- a/texlive.changes +++ b/texlive.changes @@ -3,6 +3,11 @@ Tue Aug 1 07:53:05 UTC 2017 - schwab@suse.de - Define _GNU_SOURCE to request GNU extensions +------------------------------------------------------------------- +Thu Jun 29 12:13:34 UTC 2017 - werner@suse.de + +- Avoid nasty warning about missing batchmode in ENVironment + ------------------------------------------------------------------- Wed Jun 28 07:56:00 UTC 2017 - nico.kruber@gmail.com diff --git a/texlive.spec b/texlive.spec index 208e4e5..df7e541 100644 --- a/texlive.spec +++ b/texlive.spec @@ -19,7 +19,7 @@ %define texlive_version 2017 %define texlive_previous 2016 %define texlive_release 20170520 -%define texlive_noarch 123 +%define texlive_noarch 130 %define texlive_source texlive-20170520-source %define __perl_requires %{nil}