• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/cups/0002-Do-not-use-genstrings.patch
Olivier SchonkenOlivier Schonken committed d37ce8e1a4e21 Jan 2016
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
1
From 193c8d8c55a3478ca5c9e161ce581e5794098c6d Mon Sep 17 00:00:00 2001
2
From: Olivier Schonken <olivier.schonken@gmail.com>
3
Date: Thu, 21 Jan 2016 23:04:49 +0100
4
Subject: [PATCH] Do not use genstrings
5
​
6
Using cross compiled genstrings while cross-compiling will break
7
compilation.  Genstrings is still compiled because some power users
8
might want to do ppd compilation on their target machine, and for that
9
they would need to use the native compiled genstrings binary, to
10
generate a sample.c file for their target
11
​
12
Signed-off-by: Olivier Schonken <olivier.schonken@gmail.com>
13
[Thomas: completely remove call to genstrings rather than commenting
14
it, remove useless and potentially confusing 'echo' before the
15
genstrings call.]
16
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
17
---
18
 ppdc/Makefile | 2 --
19
 1 file changed, 2 deletions(-)
20
​
21
diff --git a/ppdc/Makefile b/ppdc/Makefile
22
index 68bf6b2..d57a0c9 100644
23
--- a/ppdc/Makefile
24
+++ b/ppdc/Makefile
25
@@ -242,8 +242,6 @@ genstrings:     genstrings.o libcupsppdc.a ../cups/$(LIBCUPSSTATIC) \
26
    $(CXX) $(ARCHFLAGS) $(LDFLAGS) -o genstrings genstrings.o \
27
        libcupsppdc.a ../cups/$(LIBCUPSSTATIC) $(LIBGSSAPI) $(SSLLIBS) \
28
        $(DNSSDLIBS) $(COMMONLIBS) $(LIBZ)
29
-   echo Generating localization strings...
30
-   ./genstrings >sample.c
31
 
32
 
33
 #
34
-- 
35
2.6.4
36
​
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.