[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Git][xorg-team/app/xutils-dev][debian-unstable] 2 commits: Drop patch already merged upstream



Title: GitLab

Emilio Pozuelo Monfort pushed to branch debian-unstable at X Strike Force / app / xutils-dev

Commits:

  • ee178f81
    by Samuel Thibault at 2024-08-29T10:45:43+02:00
    Drop patch already merged upstream
    
  • 9992c838
    by Samuel Thibault at 2024-08-29T10:46:53+02:00
    debian/patches/04_xutils-dev-debian.diff: Add hurd-amd64 definitions
    

3 changed files:

Changes:

  • debian/changelog
    ... ... @@ -16,6 +16,9 @@ xutils-dev (1:7.7+7) UNRELEASED; urgency=medium
    16 16
       * Fix AR command on GNU and FreeBSD. Thanks Samuel Thibault.
    
    17 17
         (Closes: #1077077)
    
    18 18
     
    
    19
    +  [ Samuel Thibault ]
    
    20
    +  * debian/patches/04_xutils-dev-debian.diff: Add hurd-amd64 definitions.
    
    21
    +
    
    19 22
      -- Héctor Orón Martínez <zumbi@debian.org>  Thu, 10 Aug 2023 14:32:11 +0200
    
    20 23
     
    
    21 24
     xutils-dev (1:7.7+6.1) unstable; urgency=medium
    

  • debian/patches/04_xutils-dev-debian.diff
    ... ... @@ -501,7 +501,7 @@ Index: xutils-dev/xorg-cf-files/gnu.cf
    501 501
      #define YaccCmd			bison -y
    
    502 502
      #define LexCmd			flex -l
    
    503 503
      #define HasFlex			YES
    
    504
    -@@ -125,50 +469,70 @@ XCOMM Not implemented and will always fa
    
    504
    +@@ -125,50 +469,79 @@ XCOMM Not implemented and will always fa
    
    505 505
      #define StandardCppDefines	StandardDefines
    
    506 506
      
    
    507 507
      #define HasVarRun		YES
    
    ... ... @@ -531,6 +531,15 @@ Index: xutils-dev/xorg-cf-files/gnu.cf
    531 531
      #define HasPlugin		YES
    
    532 532
      #define VendorHasX11R6_3libXext	YES
    
    533 533
     +#endif /* i386Architecture */
    
    534
    ++
    
    535
    ++#ifdef AMD64Architecture
    
    536
    ++# ifndef OptimizedCDebugFlags
    
    537
    ++#  define OptimizedCDebugFlags	DefaultGcc2DebugOpt DefaultGcc2OptimizeOpt GccAliasingArgs
    
    538
    ++# endif
    
    539
    ++# define GnuMachineDefines	-D__amd64__
    
    540
    ++# define ServerOSDefines	XFree86ServerOSDefines -DDDXTIME
    
    541
    ++# define ServerExtraDefines	-DGCCUSESGAS XFree86ServerDefines -D_XSERVER64
    
    542
    ++#endif /* AMD64Architecture */
    
    534 543
      
    
    535 544
      #ifndef StandardDefines
    
    536 545
     -#define StandardDefines		GNUMachineDefines GNUSourceDefines
    
    ... ... @@ -2677,3 +2686,19 @@ Index: xutils-dev/xorg-cf-files/xorg.cf
    2677 2686
      # endif
    
    2678 2687
      #endif
    
    2679 2688
      
    
    2689
    +Index: xutils-dev-7.7+6.2+hurd.1/xorg-cf-files/Imake.cf
    
    2690
    +===================================================================
    
    2691
    +--- xutils-dev-7.7+6.2+hurd.1.orig/xorg-cf-files/Imake.cf
    
    2692
    ++++ xutils-dev-7.7+6.2+hurd.1/xorg-cf-files/Imake.cf
    
    2693
    +@@ -1122,7 +1122,10 @@ XCOMM Keep cpp from replacing path eleme
    
    2694
    + #define MacroIncludeFile <gnu.cf>
    
    2695
    + #define MacroFile gnu.cf
    
    2696
    + #ifdef __i386__
    
    2697
    +-#define i386Architecture
    
    2698
    ++# define i386Architecture
    
    2699
    ++#endif
    
    2700
    ++#if defined(__amd64__) || defined(__x86_64__)
    
    2701
    ++# define AMD64Architecture
    
    2702
    + #endif
    
    2703
    + #endif
    
    2704
    + 

  • debian/patches/08_gnu_ar_cq.patch
    1
    -commit 90b66dc73deb9ef303690370395cf831425547c7
    
    2
    -Author: Yasuhiro Kimura <yasu@utahime.org>
    
    3
    -Date:   Thu Oct 13 15:22:02 2022 +0900
    
    4
    -
    
    5
    -    Fix incompatibility issue of GNU binutils 2.36 and later on FreeBSD.
    
    6
    -    
    
    7
    -    Commit a6d4d6223ef75119d5373fa4cc04161bcdb4e769 fixes incompatibility
    
    8
    -    issue of GNU binutils 2.36 and later. If I check the diff of the
    
    9
    -    commit, there seems to be asumption that the issue is specific to
    
    10
    -    Linux. But it also happens on FreeBSD if user installs GNU binutils
    
    11
    -    from FreeBSD ports/packages collections and '/usr/local/bin' comes
    
    12
    -    before '/usr/bin' in the value of PATH enviroment variable. So fix the
    
    13
    -    issue also on FreeBSD with following way.
    
    14
    -    
    
    15
    -    1. Introduce new macro 'HasGnuAr'.
    
    16
    -    2. Change Imake.tmpl so it defines 'ArCmd' as 'ArCmdBase cq' if
    
    17
    -       'HasGnuAr' is defined.
    
    18
    -    3. Define 'HasGnuAr' in both FreeBSD.cf and linux.cf.
    
    19
    -    
    
    20
    -    Since 'ar' command of FreeBSD base system simply ignores 'l' option,
    
    21
    -    it also works fine even if GNU binutils isn't installed.
    
    22
    -
    
    23 1
     commit 26b383ac4a5b65f808d1a159864fac266f136c84
    
    24 2
     Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
    
    25 3
     Date:   Thu Jul 25 22:48:36 2024 +0200
    
    ... ... @@ -29,48 +7,6 @@ Date: Thu Jul 25 22:48:36 2024 +0200
    29 7
         Just like 90b66dc73deb ("Fix incompatibility issue of GNU binutils 2.36
    
    30 8
         and later on FreeBSD.") did.
    
    31 9
     
    
    32
    -Index: xutils-dev-7.7+6.2+hurd.1/xorg-cf-files/FreeBSD.cf
    
    33
    -===================================================================
    
    34
    ---- xutils-dev-7.7+6.2+hurd.1.orig/xorg-cf-files/FreeBSD.cf
    
    35
    -+++ xutils-dev-7.7+6.2+hurd.1/xorg-cf-files/FreeBSD.cf
    
    36
    -@@ -153,6 +153,9 @@ XCOMM operating system:  OSName (OSMajor
    
    37
    - #ifndef HasFlex
    
    38
    - #define HasFlex			YES
    
    39
    - #endif
    
    40
    -+#ifndef HasGnuAr
    
    41
    -+#define HasGnuAr		YES
    
    42
    -+#endif
    
    43
    - 
    
    44
    - #ifndef HasMktemp
    
    45
    - #if (OSMajorVersion >= 4) || (OSMajorVersion == 3 && OSMinorVersion >= 1) || \
    
    46
    -Index: xutils-dev-7.7+6.2+hurd.1/xorg-cf-files/Imake.tmpl
    
    47
    -===================================================================
    
    48
    ---- xutils-dev-7.7+6.2+hurd.1.orig/xorg-cf-files/Imake.tmpl
    
    49
    -+++ xutils-dev-7.7+6.2+hurd.1/xorg-cf-files/Imake.tmpl
    
    50
    -@@ -1140,7 +1140,7 @@ TCLIBDIR = TclLibDir
    
    51
    - #define ArCmdBase ar
    
    52
    - #endif
    
    53
    - #ifndef ArCmd
    
    54
    --#if HasLargeTmp || SystemV4 || LinuxBinUtilsMajorVersion
    
    55
    -+#if HasLargeTmp || SystemV4 || HasGnuAr
    
    56
    - #define ArCmd ArCmdBase cq
    
    57
    - #else
    
    58
    - #define ArCmd ArCmdBase clq
    
    59
    -Index: xutils-dev-7.7+6.2+hurd.1/xorg-cf-files/linux.cf
    
    60
    -===================================================================
    
    61
    ---- xutils-dev-7.7+6.2+hurd.1.orig/xorg-cf-files/linux.cf
    
    62
    -+++ xutils-dev-7.7+6.2+hurd.1/xorg-cf-files/linux.cf
    
    63
    -@@ -103,6 +103,10 @@ XCOMM platform:  $XFree86: xc/config/cf/
    
    64
    - # define LinuxBinUtilsMajorVersion	DefaultLinuxBinUtilsMajorVersion
    
    65
    - #endif
    
    66
    - 
    
    67
    -+#ifndef HasGnuAr
    
    68
    -+#define HasGnuAr	YES
    
    69
    -+#endif
    
    70
    -+
    
    71
    - XCOMM operating system:  OSName (OSMajorVersion./**/OSMinorVersion./**/OSTeenyVersion)
    
    72
    - XCOMM libc:	(LinuxCLibMajorVersion./**/LinuxCLibMinorVersion./**/LinuxCLibTeenyVersion)
    
    73
    - XCOMM binutils:	(LinuxBinUtilsMajorVersion)
    
    74 10
     Index: xutils-dev-7.7+6.2+hurd.1/xorg-cf-files/gnu.cf
    
    75 11
     ===================================================================
    
    76 12
     --- xutils-dev-7.7+6.2+hurd.1.orig/xorg-cf-files/gnu.cf
    


  • Reply to: