File: use-shared-libsass.patch

package info (click to toggle)
golang-github-wellington-go-libsass 0.9.2%2Bgit20181130.4ef5b9d-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 2,128 kB
  • sloc: cpp: 28,607; ansic: 839; makefile: 44
file content (30 lines) | stat: -rw-r--r-- 669 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Description: Force the use of the system libsass shared library
Author: Anthony Fok <foka@debian.org>
Origin: vendor
Forwarded: not-needed
Last-Update: 2018-06-20
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/

--- a/libs/wrap_dev.go
+++ b/libs/wrap_dev.go
@@ -1,5 +1,3 @@
-// +build dev
-
 package libs
 
 // #cgo CPPFLAGS: -DUSE_LIBSASS
--- a/libs/wrap_main.go
+++ /dev/null
@@ -1,11 +0,0 @@
-// +build !dev
-
-package libs
-
-// #cgo CFLAGS: -O2 -fPIC
-// #cgo CPPFLAGS: -I../libsass-build -I../libsass-build/include
-// #cgo CXXFLAGS: -g -std=c++0x -O2 -fPIC
-// #cgo LDFLAGS: -lstdc++ -lm
-// #cgo darwin linux LDFLAGS: -ldl
-//
-import "C"